Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Dev] Documenting Feathercoin Specific Software settings - Part 7

    Technical Development
    2
    41
    9126
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wrapper
      wrapper Moderators last edited by wrapper

      Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

      Remove merchant list : - commit

      https://github.com/FeatherCoin/Feathercoin/commit/bb84dccd0147c2e3d4d5080a4b7b05111ede8d69

      Various removed files

       src/qt/forms/merchantlist.ui
       src/qt/merchantlist.cpp
       src/qt/res/icons/merchantList.png
       src/qt/res/images/bitbooks.png
       src/qt/res/images/bitcoinbazaar.co.uk.png
       src/qt/res/images/bittrex.png
       src/qt/res/images/bittylicious.png
       src/qt/res/images/btc-e.png
       src/qt/res/images/bter.png
       src/qt/res/images/cm.png
       src/qt/res/images/coinverted.png
       src/qt/res/images/cryptsy.png
       src/qt/res/images/ct.png
       src/qt/res/images/feathercoinmap.png
       src/qt/res/images/mc.png
       src/qt/res/images/pockio.png
       src/qt/res/images/shapeshift.png
       src/qt/res/images/vircurex.png
      

      Files removed

      1 Reply Last reply Reply Quote 0
      • wrapper
        wrapper Moderators last edited by

        Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

        Remove merchant list : - commit

        https://github.com/FeatherCoin/Feathercoin/commit/bb84dccd0147c2e3d4d5080a4b7b05111ede8d69

        Various files code removed

        src/qt/walletframe.cpp

         -void WalletFrame::gotoMerchantListPage()
         -{
         -    QMap<QString, WalletView*>::const_iterator i;
         -    for (i = mapWalletViews.constBegin(); i != mapWalletViews.constEnd(); ++i)
         -        i.value()->gotoMerchantListPage();
         -}
         -
        

        code removed

        src/qt/walletframe.h

         -    /** Switch to merchant list page */
         -    void gotoMerchantListPage();
         -    
        

        Code removed

        src/qt/walletview.cpp

         - #include "merchantlist.h"
        
         -    merchantlistPage = new MerchantListView();
        
         -    addWidget(merchantlistPage);
        
         -    merchantlistPage->setWalletModel(walletModel);
        
         -void WalletView::gotoMerchantListPage()
         -{
         -    setCurrentWidget(merchantlistPage); 
         -}
         -
        

        Code removed

        src/qt/walletview.h

         -class MerchantListView;
        
         -    MerchantListView *merchantlistPage;
        
        
         -    /** Switch to merchant list page */
         -    void gotoMerchantListPage();
        

        Code removed

        1 Reply Last reply Reply Quote 0
        • wrapper
          wrapper Moderators last edited by

          Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

          Update icons : - commit

          https://github.com/FeatherCoin/Feathercoin/commit/68d03260581b1382bf3d472d108f9760c889485b

          src/qt/res/icons/*

           src/qt/res/icons/bitcoin.icns
           src/qt/res/icons/bitcoin.ico
           src/qt/res/icons/bitcoin.png
           src/qt/res/icons/bitcoin_testnet.ico
           src/qt/res/icons/bitcoin_testnet.png
           src/qt/res/images/mainbg.png
          

          Icon images updated.

          1 Reply Last reply Reply Quote 0
          • wrapper
            wrapper Moderators last edited by

            Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

            Remove share balance : - commit

            https://github.com/FeatherCoin/Feathercoin/commit/1445ef558b3f4f407b4c6fb074db09f5c60eb4fd

            src/qt/forms/overviewpage.ui

             -                 <item row="3" column="0">
             -                  <widget class="QLabel" name="labelShareText">
             -                   <property name="text">
             -                    <string>Share</string>
             -                   </property>
             -                  </widget>
             -                 </item>
             -                 <item row="3" column="1">
             -                  <widget class="QLabel" name="labelShare">
             -                   <property name="font">
             -                    <font>
             -                     <family>System</family>
             -                     <pointsize>10</pointsize>
             -                     <weight>75</weight>
             -                     <bold>true</bold>
             -                    </font>
             -                   </property>
             -                   <property name="text">
             -                    <string>0 FTC</string>
             -                   </property>
             -                   <property name="alignment">
             -                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
             -                   </property>
             -                  </widget>
             -                 </item>
            

            Code removed

            1 Reply Last reply Reply Quote 0
            • wrapper
              wrapper Moderators last edited by

              Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

              Remove share balance : - commit

              https://github.com/FeatherCoin/Feathercoin/commit/1445ef558b3f4f407b4c6fb074db09f5c60eb4fd

              src/qt/overviewpage.cpp

               -    int shareBalance=0; //Ready for POS
              
               -    ui->labelShare->setText(BitcoinUnits::formatWithUnit(unit, shareBalance));
              

              Code removed

              1 Reply Last reply Reply Quote 0
              • wrapper
                wrapper Moderators last edited by

                Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                fix api : - commit

                https://github.com/FeatherCoin/Feathercoin/commit/cf030fe5436f8ca260684d5c7b3c788a4ecc130b

                Move shapeshift api from http to https

                src/qt/shiftdialog.cpp

                 -		manager->get(QNetworkRequest(QUrl("http://shapeshift.io/rate/ftc_btc")));
                
                 +		manager->get(QNetworkRequest(QUrl("https://shapeshift.io/rate/ftc_btc")));
                

                Various exchange addresses are updated to be https . Additional coin exchanges are added

                 }		
                 + 					if(name_value.toString()=="ftc_ltc")
                 + 			    {
                 + 			        sw=11;
                 + 			    }
                

                Additional if statements to deal with additional cases.

                 + QString strURL="https://shapeshift.io/txStat/"+ui->txAddress->text();
                
                 +	 network_request.setUrl(QUrl("https://shapeshift.io/shift"));
                

                Code replaced to https

                 +		manager->get(QNetworkRequest(QUrl("https://shapeshift.io/rate/ftc_btc")));
                

                Various code replaced https

                1 Reply Last reply Reply Quote 0
                • wrapper
                  wrapper Moderators last edited by

                  Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                  Standardise overviewpage : - commit

                  https://github.com/FeatherCoin/Feathercoin/commit/cf030fe5436f8ca260684d5c7b3c788a4ecc130b

                  User interface changes

                  contrib/feathercoin-qt.pro

                  contrib/bitcoin-qt.pro renamed? pro file not used as part of build now, although used in FTC for Qt temp storage when editing forms?

                   +     ../src/qt/forms/qrcodedialog.ui \
                  
                   +    ../src/qt/forms/shiftdialog.ui \
                  
                   +    ../src/qt/forms/snapwidget.ui \
                  
                   +    ../src/qt/bitcoin.qrc \
                  
                   +    ../src/qt/feathercoin.qrc \   (error)
                  
                  1 Reply Last reply Reply Quote 0
                  • wrapper
                    wrapper Moderators last edited by

                    Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                    Standardise overviewpage : - commit

                    https://github.com/FeatherCoin/Feathercoin/commit/cf030fe5436f8ca260684d5c7b3c788a4ecc130b

                    User interface changes

                    src/qt/forms/overviewpage.ui

                     -        <widget class="QLabel" name="labelMainlogo">
                     -         <property name="text">
                     -          <string/>
                     -         </property>
                     -         <property name="pixmap">
                     -          <pixmap resource="../feathercoin.qrc">:/images/mainlogo</pixmap>
                     -         </property>
                     -         <property name="alignment">
                    
                     +        <widget class="QFrame" name="frame">
                    
                     +         <layout class="QVBoxLayout" name="verticalLayout_4">
                    

                    Examples of user interface changes, done through Qt.

                    1 Reply Last reply Reply Quote 0
                    • wrapper
                      wrapper Moderators last edited by

                      Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                      Standardise overviewpage : - commit

                      https://github.com/FeatherCoin/Feathercoin/commit/cf030fe5436f8ca260684d5c7b3c788a4ecc130b

                      User interface changes

                      src/qt/overviewpage.cpp

                       -    bool showImmature =true; 
                      
                       +     // only show immature (newly mined) balance if it's non-zero, so as not to complicate things
                       +     // for the non-mining users
                       +     bool showImmature = immatureBalance != 0;
                      

                      Code replaced.

                       -		setOverview();
                       -}
                       -
                       -void OverviewPage::setOverview()
                       -{
                       -    ui->labelOverview1->setText(tr("Current Block :")+tr(" %1 ").arg(clientModel->getNumBlocks()));
                       -    ui->labelOverview2->setText(tr("Current Difficulty :")+tr(" %1").arg(clientModel->getCurrDifficulty()));
                      

                      Code removed

                       -        // Show RPC information when blocks had changed
                       -        connect(model, SIGNAL(numBlocksChanged(int)), this, SLOT(setOverview()));
                      

                      Code removed

                      1 Reply Last reply Reply Quote 0
                      • wrapper
                        wrapper Moderators last edited by

                        Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                        Standardise overviewpage : - commit

                        https://github.com/FeatherCoin/Feathercoin/commit/cf030fe5436f8ca260684d5c7b3c788a4ecc130b

                        User interface changes

                        src/qt/overviewpage.h

                         -    void setOverview();
                        

                        Code removed

                        1 Reply Last reply Reply Quote 0
                        • wrapper
                          wrapper Moderators last edited by

                          Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                          Restore experimental notice : - commit

                          https://github.com/FeatherCoin/Feathercoin/commit/81df7a613be84b00a61f3fd5dd601b3d9aafeceb

                          User interface changes

                          src/qt/forms/aboutdialog.ui

                           -        <string>This is not experiment,This is our real life and great history.</string>
                          
                           +        <string>This is experimental software.</string>
                          

                          Feathercoin about message changed. Note : about and interface changes were updated later.

                           -      <widget class="QLabel" name="label_8">
                           -       <property name="text">
                           -        <string>Our goal is to let you have a good time.</string>
                           -       </property>
                           -      </widget>
                           -     </item>
                           -     <item>
                          

                          About message removed, don’t remember this going in?

                          1 Reply Last reply Reply Quote 0
                          • wrapper
                            wrapper Moderators last edited by

                            Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                            Restore experimental notice : - commit

                            https://github.com/FeatherCoin/Feathercoin/commit/96aad5e0265f0892b8d8c434d9c54fb6d68bad5a

                            User interface changes

                            COPYING

                             +  Copyright (c) 2013-2014 Feathercoin Developers
                            

                            One file updated, copyright. How to handle copy rights - just do a sweep / search and replace in one commit?

                            1 Reply Last reply Reply Quote 0
                            • wrapper
                              wrapper Moderators last edited by

                              Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                              fix Total Line 1 : - commit

                              https://github.com/FeatherCoin/Feathercoin/commit/3307d437c2fb98806ee2a83bc5e7455d7985b0a4

                              User interface changes

                              src/qt/reportview.cpp

                               +     //view->setFixedHeight(360);
                               
                                     vlayout->addWidget(view);
                              
                               +     
                               +     QTableView *viewT = new QTableView(this);
                               +     viewT->setFixedHeight(26);
                               + 		vlayout->addWidget(viewT);
                              

                              fix Total Line 1 Code added.

                               +    reportViewT=viewT;
                              

                              Code added

                               -   reportView->setShowGrid(false);
                              
                               +   reportView->setShowGrid(false);        
                               +
                               +   reportModelT = new QStandardItemModel(this);
                               +   reportViewT->setModel(reportModelT);
                               +   reportViewT->setAlternatingRowColors(true);
                               +   reportViewT->setSelectionBehavior(QAbstractItemView::SelectRows);
                               +   reportViewT->setSelectionMode(QAbstractItemView::ExtendedSelection);
                               +   reportViewT->verticalHeader()->hide();
                               +   reportViewT->setShowGrid(false);  
                               +         
                              

                              Code replaced / added.

                               -	  reportModel->setRowCount(addresslist.size()+1); 
                              +	  reportModel->setRowCount(addresslist.size());
                              

                              Code replaced

                               - reportModel->setItem(i,0,new QStandardItem(tr("Total")));
                               - reportModel->setItem(i,1,new QStandardItem(dateWidget->currentText()));
                               - reportModel->setItem(i,2,new QStandardItem(typeWidget->currentText()));
                               - reportModel->setItem(i,3,new QStandardItem(QObject::tr("%1").arg(QObject::tr("%1").arg(fTotal))));
                               - reportModel->setItem(i,4,new QStandardItem(QObject::tr("%1").arg(iTimes)));
                               - reportModel->item(i,0)->setTextAlignment(Qt::AlignCenter);
                               - reportModel->item(i,2)->setTextAlignment(Qt::AlignCenter);
                               - reportModel->item(i,3)->setTextAlignment(Qt::AlignCenter);
                               - reportModel->item(i,4)->setTextAlignment(Qt::AlignCenter);
                               - reportModel->item(i,0)->setFont(QFont("Times", 10, QFont::Black));
                               - reportModel->item(i,1)->setFont(QFont("Times", 10, QFont::Black));
                               - reportModel->item(i,2)->setFont(QFont("Times", 10, QFont::Black));
                               - reportModel->item(i,3)->setFont(QFont("Times", 10, QFont::Black));
                               - reportModel->item(i,4)->setFont(QFont("Times", 10, QFont::Black));
                              

                              Code removed

                               +     //Total Line
                               +     reportModelT->clear();
                               +     reportModelT->setRowCount(1); 
                               +     reportModelT->setHorizontalHeaderItem(0, new QStandardItem(tr("AddressLabel")));
                               +     reportModelT->setHorizontalHeaderItem(1, new QStandardItem(tr("DateRange")));
                               +    	reportModelT->setHorizontalHeaderItem(2, new QStandardItem(tr("Type")));
                               +     reportModelT->setHorizontalHeaderItem(3, new QStandardItem(tr("Payment amount")));
                               +     reportModelT->setHorizontalHeaderItem(4, new QStandardItem(tr("Number of payments")));
                               +     reportViewT->horizontalHeader()->resizeSection(0, 270);
                               +     reportViewT->horizontalHeader()->resizeSection(1, 120);
                               +     reportViewT->horizontalHeader()->resizeSection(2, 120);
                               +     reportViewT->horizontalHeader()->resizeSection(3, 140);
                               +     reportViewT->horizontalHeader()->resizeSection(4, 140);
                               +   	reportModelT->setItem(0,0,new QStandardItem(tr("Total")));
                               +   	reportModelT->setItem(0,1,new QStandardItem(dateWidget->currentText()));
                               +   	reportModelT->setItem(0,2,new QStandardItem(typeWidget->currentText()));
                               +   	reportModelT->setItem(0,3,new QStandardItem(QObject::tr("%1").arg(QObject::tr("%1").arg(fTotal))));
                               +     reportModelT->setItem(0,4,new QStandardItem(QObject::tr("%1").arg(iTimes)));
                               +     reportModelT->item(0,0)->setTextAlignment(Qt::AlignCenter);
                               +     reportModelT->item(0,1)->setTextAlignment(Qt::AlignCenter);
                               +     reportModelT->item(0,2)->setTextAlignment(Qt::AlignCenter);
                               +     reportModelT->item(0,3)->setTextAlignment(Qt::AlignCenter);
                               +     reportModelT->item(0,4)->setTextAlignment(Qt::AlignCenter);
                               +     reportModelT->item(0,0)->setFont(QFont("Times", 10, QFont::Black));
                               +     reportModelT->item(0,1)->setFont(QFont("Times", 10, QFont::Black));
                               +     reportModelT->item(0,2)->setFont(QFont("Times", 10, QFont::Black));
                               +     reportModelT->item(0,3)->setFont(QFont("Times", 10, QFont::Black));
                               +     reportModelT->item(0,4)->setFont(QFont("Times", 10, QFont::Black));
                               +     reportViewT->horizontalHeader()->hide();
                              

                              Code replaced.

                              1 Reply Last reply Reply Quote 0
                              • wrapper
                                wrapper Moderators last edited by

                                Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                fix Total Line 2 : - commit

                                https://github.com/FeatherCoin/Feathercoin/commit/b01ecc54adb6364ddea6360d16c6b39e86e00b84

                                User interface changes

                                src/qt/reportview.h

                                 +    QTableView *reportViewT;
                                

                                Code added

                                 +    QStandardItemModel *reportModelT;
                                

                                Code added

                                 -#endif // REPORTVIEW_H
                                
                                 +#endif // REPORTVIEW_H
                                

                                Code replaced

                                1 Reply Last reply Reply Quote 0
                                • wrapper
                                  wrapper Moderators last edited by wrapper

                                  Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                  Adds in support for printing paper wallets : - commit

                                  https://github.com/FeatherCoin/Feathercoin/commit/3689244d7b94650c257cc4b7e8151b427b6cd6cf

                                  Adds support for printing paper wallets

                                  contrib/feathercoin-qt.pro

                                   +     ../src/qt/feathercoin.qrc
                                   +     
                                   + QT      + = \
                                   +     printsupport 
                                  

                                  Add code to .pro file.

                                  1 Reply Last reply Reply Quote 0
                                  • wrapper
                                    wrapper Moderators last edited by wrapper

                                    Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                    Adds in support for printing paper wallets : - commit

                                    https://github.com/FeatherCoin/Feathercoin/commit/3689244d7b94650c257cc4b7e8151b427b6cd6cf

                                    Adds support for printing paper wallets

                                    src/m4/bitcoin_qt.m4

                                     +    qt5_modules="Qt5Core Qt5Gui Qt5Network Qt5Widgets Qt5PrintSupport"
                                    

                                    Replace code to add Qt5PrintSupport

                                     +      QT_INCLUDES="-I$qt_include_path -I$qt_include_path/QtCore -I$qt_include_path/QtGui -I$qt_include_path/QtWidgets -I$qt_include_path/QtNetwork -I$qt_include_path/QtTest -I$qt_include_path/QtDBus -I$qt_include_path/QtPrintSupport"
                                    

                                    Code replaced to add I$qt_include_path/QtPrintSupport

                                     +      LIBS="$LIBS -L$qt_plugin_path/printsupport"
                                    

                                    Code added

                                     +    BITCOIN_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}PrintSupport],[main],,BITCOIN_QT_FAIL(lib$QT_LIB_PREFIXPrintSupport not found)))
                                    
                                    
                                     +          _BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QMinimalIntegrationPlugin)],[-lqminimal])
                                     +          _BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QWindowsPrinterSupportPlugin)],[-lwindowsprintersupport])
                                    

                                    Code added

                                    1 Reply Last reply Reply Quote 0
                                    • wrapper
                                      wrapper Moderators last edited by wrapper

                                      Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                      Adds in support for printing paper wallets : - commit

                                      https://github.com/FeatherCoin/Feathercoin/commit/3689244d7b94650c257cc4b7e8151b427b6cd6cf

                                      Adds support for printing paper wallets

                                      src/qt/Makefile.am

                                      +  forms/paperwalletdialog.ui \
                                      
                                       +  moc_verticallabel.cpp \
                                      
                                       +  res/icons/print.png \
                                      
                                            + RES_FONTS = \
                                       +   res/fonts/ComicNeue-Bold.ttf \
                                       +   res/fonts/ComicNeue-Bold-Oblique.ttf \
                                       +   res/fonts/ComicNeue-Light.ttf \
                                       +   res/fonts/ComicNeue-Light-Oblique.ttf \
                                       +   res/fonts/ComicNeue-Regular.ttf \
                                       +   res/fonts/ComicNeue-Regular-Oblique.ttf
                                       + 
                                      
                                       +  verticallabel.cpp \
                                      
                                       +  verticallabel.cpp \
                                      
                                       +  res/images/paper_wallet.png \
                                      

                                      Code added

                                       +  $(QT_QRC) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(RES_FONTS)
                                      

                                      Code replaced

                                      1 Reply Last reply Reply Quote 0
                                      • wrapper
                                        wrapper Moderators last edited by wrapper

                                        Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                        Adds in support for printing paper wallets : - commit

                                        https://github.com/FeatherCoin/Feathercoin/commit/3689244d7b94650c257cc4b7e8151b427b6cd6cf

                                        Adds support for printing paper wallets

                                        src/qt/bitcoingui.cpp

                                         +    paperWalletAction = new QAction(QIcon(":/icons/print"), tr("&Print paper wallets"), this);
                                         +    paperWalletAction->setStatusTip(tr("Print paper wallets"));
                                        

                                        Code added

                                         +        connect(shapeshiftAction, SIGNAL(triggered()), this, SLOT(openShapeshiftClicked()));
                                         +        connect(paperWalletAction, SIGNAL(triggered()), walletFrame, SLOT(printPaperWallets()));
                                        

                                        Code replaced

                                         +        file->addAction(paperWalletAction);
                                        
                                         +    paperWalletAction->setEnabled(enabled);
                                        

                                        Code added

                                        1 Reply Last reply Reply Quote 0
                                        • wrapper
                                          wrapper Moderators last edited by wrapper

                                          Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                          Adds in support for printing paper wallets : - commit

                                          https://github.com/FeatherCoin/Feathercoin/commit/3689244d7b94650c257cc4b7e8151b427b6cd6cf

                                          Adds support for printing paper wallets

                                          src/qt/bitcoingui.h

                                           +    QAction *paperWalletAction;
                                          

                                          Code added

                                          1 Reply Last reply Reply Quote 0
                                          • wrapper
                                            wrapper Moderators last edited by wrapper

                                            Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                            Adds in support for printing paper wallets : - commit

                                            https://github.com/FeatherCoin/Feathercoin/commit/3689244d7b94650c257cc4b7e8151b427b6cd6cf

                                            Adds support for printing paper wallets

                                            src/qt/feathercoin.qrc

                                             +        <file alias="print">res/icons/print.png</file>
                                            

                                            Code added

                                             +        <file alias="paper_wallet">res/images/paper_wallet.png</file>
                                            

                                            Code added

                                             +     <qresource prefix="/fonts">
                                             +         <file alias="ComicNeue-Bold">res/fonts/ComicNeue-Bold.ttf</file>
                                             +         <file alias="ComicNeue-Bold-Oblique">res/fonts/ComicNeue-Bold-Oblique.ttf</file>
                                             +         <file alias="ComicNeue-Light">res/fonts/ComicNeue-Light.ttf</file>
                                             +         <file alias="ComicNeue-Light-Oblique">res/fonts/ComicNeue-Light-Oblique.ttf</file>
                                             +         <file alias="ComicNeue-Regular">res/fonts/ComicNeue-Regular.ttf</file>
                                             +         <file alias="ComicNeue-Regular-Oblique">res/fonts/ComicNeue-Regular-Oblique.ttf</file>
                                             +     </qresource>
                                            

                                            Code added

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post