Commit Graph

  • 13f3aca838 Added GET /addresses/online/levels API endpoint to return the number of minters at each level CalDescent 2021-12-04 19:28:28 +00:00
  • 94b17eaff3 Added unit test for random file deletion, and fixed some issues found via the test. CalDescent 2021-12-04 16:36:20 +00:00
  • eb9b94b9c6 Add Qortal AT FunctionCodes for getting account level / blocks minted + tests catbref 2021-12-04 16:36:05 +00:00
  • a3038da3d7 Moved some shared arbitrary test methods to a new ArbitraryUtils class. CalDescent 2021-12-04 14:26:10 +00:00
  • 6026b7800a Fixed some warnings. CalDescent 2021-12-04 14:23:21 +00:00
  • 36c5b71656 Delete data associated with a name at random, if a name is using more than its allocated limit. CalDescent 2021-12-04 14:23:09 +00:00
  • a320bea68a Limit the amount of data that can be stored per name. CalDescent 2021-12-04 13:33:45 +00:00
  • a87fe8b44d Combined path filtering into a single filter to avoid iterating through the list multiple times. CalDescent 2021-12-04 12:06:15 +00:00
  • 0a2b4dedc7 Don't sort the transactions in listAllHostedTransactions() as this is a waste of CPU. CalDescent 2021-12-04 12:03:52 +00:00
  • f7ed3eefc8 Verify that each data file matches the size reported by transaction. CalDescent 2021-12-04 12:00:38 +00:00
  • 8bb3a3f8a6 Added hosted transactions cache CalDescent 2021-12-04 09:28:45 +00:00
  • 89d08ca359 Renamed method from listAllHostedData() to listAllHostedTransactions() CalDescent 2021-12-04 09:27:39 +00:00
  • b80aec37e0 Added GET /arbitrary/hosted/resources API to list all arbitrary resources that the node is hosting (at least partial) data for. CalDescent 2021-12-03 21:43:18 +00:00
  • e34fd855a9 Added GET /arbitrary/hosted/transactions API to list all arbitrary transactions that the node is hosting (at least partial) data for. CalDescent 2021-12-03 21:11:56 +00:00
  • fc12ea18b8 Fixed bug in getArbitraryResources() CalDescent 2021-12-03 18:17:20 +00:00
  • f87df53791 Don't compute a nonce when creating arbitrary transactions. Instead this can be done by calling POST /arbitrary/compute, or more ideally by the client, such as the UI. CalDescent 2021-12-03 17:33:07 +00:00
  • d6746362a4 Reduced log spam when a file can't be served. CalDescent 2021-12-02 19:41:31 +00:00
  • 2850bd0b46 Added new GET /arbitrary/resources/names endpoint to fetch resources grouped by name. CalDescent 2021-12-02 19:41:07 +00:00
  • b762eff4eb Announce to the network when uploading a new file. CalDescent 2021-12-01 20:42:51 +00:00
  • 4b3b96447f Require an API key or prior authorization on GET /arbitrary/resource/status/* endpoints CalDescent 2021-12-01 20:03:36 +00:00
  • 13bcfbe3c5 Fixed issues preventing the loading screen from working when using the gateway. CalDescent 2021-12-01 19:51:45 +00:00
  • 8525fb89f8 Use a zero fee for ARBITRARY transactions, as we require a PoW nonce instead. CalDescent 2021-12-01 18:12:33 +00:00
  • ed2d1c4932 Improved logging CalDescent 2021-12-01 16:14:24 +00:00
  • 5091f8457e Terminate metadata files with a newline CalDescent 2021-12-01 16:13:59 +00:00
  • 84b69fc58c Revert "Use response code 102 ("Processing") instead of 503 ("Service Unavailable") for the loading screen" CalDescent 2021-12-01 13:56:47 +00:00
  • a2cac003a4 Major rework of chunk hashes CalDescent 2021-12-01 12:37:21 +00:00
  • 7c16a90221 Moved relocation code from isDataLocal() to onImportAsUnconfirmed() CalDescent 2021-12-01 12:13:23 +00:00
  • 97cdd53861 Fixed bugs in safeDeleteEmptyParentDirectories() CalDescent 2021-12-01 11:59:14 +00:00
  • 7c5c010eeb Bump version to 2.1.0-PoW.0 CalDescent 2021-11-27 23:08:08 +00:00
  • 250d1315f0 Merge branch 'online-accounts-rework' of github.com:Qortal/qortal into online-accounts-rework CalDescent 2021-11-27 23:00:06 +00:00
  • 6da671ba86 Started work to compute a PoW nonce in the online accounts manager. CalDescent 2021-10-09 17:32:43 +01:00
  • bf10c46d9f Moved some OnlineAccountManager logs from trace to debug, so that online accounts activity can be monitored more easily. It was too "all or nothing" before. CalDescent 2021-08-07 19:05:11 +01:00
  • a2fbdbe295 Moved all online accounts code to a new class called OnlineAccountsManager CalDescent 2021-08-07 18:09:47 +01:00
  • b7ee00fb22 Fixed errors in Admin API tests due to failing authentication. CalDescent 2021-11-27 20:08:59 +00:00
  • ef2ee20820 Merge remote-tracking branch 'qortal/master' CalDescent 2021-11-27 19:41:17 +00:00
  • 4866e5050a If a single file resource is being published and a complete file patch has been chosen, make sure to use PUT instead of PATCH as there's nothing to be gained by adding another layer. CalDescent 2021-11-27 19:35:22 +00:00
  • 8e36c456e1 Wait for storage space to be calculated before running storage policy tests. CalDescent 2021-11-27 18:06:48 +00:00
  • 4b8bcd265b Make sure unit test use a different lists directory, and delete it before and after each test. CalDescent 2021-11-27 18:05:25 +00:00
  • 0db681eeda Fixed failing storage policy tests due to not calculating the available storage CalDescent 2021-11-27 17:56:34 +00:00
  • 8823f69256 Use response code 102 ("Processing") instead of 503 ("Service Unavailable") for the loading screen CalDescent 2021-11-27 16:48:47 +00:00
  • f3e9dfe734 Return a 404 instead of a 500 if a resource is unavailable. CalDescent 2021-11-27 16:43:29 +00:00
  • a7b31ab1f9 Small bug fixes CalDescent 2021-11-27 16:40:12 +00:00
  • 644ab27186 Updated wording CalDescent 2021-11-27 14:22:09 +00:00
  • e90ecd2085 Adapted GET /arbitrary/resources endpoint to allow filtering by identifier CalDescent 2021-11-27 14:21:36 +00:00
  • bc38184ebf Major rework of local data directory structure CalDescent 2021-11-27 13:00:32 +00:00
  • d9de27e6f2 Updated AdvancedInstaller project for v2.1.0 CalDescent 2021-11-24 19:39:37 +00:00
  • 6930bf0200 Bump version to 2.1.0 v2.1.0 CalDescent 2021-11-24 18:36:40 +00:00
  • 199833bdd4 Fixed issue with GET /crosschain/trades API endpoint where the minimumTimestamp parameter returned inconsistent results. CalDescent 2021-11-24 15:21:08 +00:00
  • 0dcd2e6e93 Fixed bug in GET ​/crosschain​/price​/{blockchain} inverse price API endpoint when the "inverse" parameter is null. CalDescent 2021-11-24 15:09:45 +00:00
  • 0dd43d5c9a Fixed bug in storage calculation CalDescent 2021-11-24 14:22:57 +00:00
  • e879bd0fc5 Delete some random chunks when we reach the storage capacity CalDescent 2021-11-24 14:15:22 +00:00
  • 8bf7daff65 Track the storage capacity and the total data/temp directory sizes CalDescent 2021-11-24 13:43:45 +00:00
  • ae0f01d326 Added storage policy unit tests CalDescent 2021-11-24 11:02:54 +00:00
  • af8d0a3965 Separated computeNonce() from build() in the transaction builder. CalDescent 2021-11-24 11:02:17 +00:00
  • 1b170c74c0 Modified storage code to support 2 new settings: CalDescent 2021-11-24 09:38:18 +00:00
  • f6b9ff50c3 More loading screen improvements CalDescent 2021-11-23 22:21:57 +00:00
  • 9ef75ebcde Improved styling of loading panel CalDescent 2021-11-23 21:15:45 +00:00
  • f76a618768 Display the latest status on the loading screen, updated via API calls on a timer CalDescent 2021-11-23 20:53:09 +00:00
  • 098d7baa4d Bump version to 2.1.0-prerelease.0 CalDescent 2021-11-23 19:03:27 +00:00
  • 59a57d3d28 Increased frequency of automatic repository maintenance attempts CalDescent 2021-11-23 18:47:27 +00:00
  • cce95e09de Default min level for block submissions increased to 3 CalDescent 2021-11-23 18:45:35 +00:00
  • ec48ebcd79 Improved resource statuses CalDescent 2021-11-23 09:14:44 +00:00
  • 908f80a15d Fixed bug when checking if all files exist locally in /arbitrary/status CalDescent 2021-11-22 08:43:07 +00:00
  • 02eab89d82 Fixed bug when trying to delete a file instead of a directory. CalDescent 2021-11-21 19:24:20 +00:00
  • c588786a06 Added /base64 variation of POST /arbitrary/* APIs CalDescent 2021-11-21 19:12:01 +00:00
  • b4f3105035 Added /render/authorize/{service}/{resourceId}* APIs CalDescent 2021-11-21 14:57:26 +00:00
  • d018f11877 Log the initial height of the block archiver on startup CalDescent 2021-11-21 09:12:32 +00:00
  • d0000c6131 If "build=true" is specified in query string of GET /resource/status/{service}/{name}, build the resource before returning the status CalDescent 2021-11-20 18:52:03 +00:00
  • c05ffefd7d Added a dynamic background to the loading screen. Still needs a lot of work. CalDescent 2021-11-20 14:09:00 +00:00
  • 530fc67a05 List available services in API docs when requesting arbitrary data CalDescent 2021-11-20 11:46:03 +00:00
  • c79ec11b07 Fixed incorrect comment CalDescent 2021-11-19 23:16:28 +00:00
  • 668ef26056 Fixed major performance issue with GET /arbitrary/resources?includestatus=true CalDescent 2021-11-19 23:00:36 +00:00
  • 75ec7723ef Improved accuracy of statuses CalDescent 2021-11-19 21:48:41 +00:00
  • 73e609fa29 Replaced all IllegalStateException with DataException in arbitrary code CalDescent 2021-11-19 21:42:03 +00:00
  • 8cb06bf451 Return statuses in GET /arbitrary/resources endpoint when the "includestatus" parameter is true. CalDescent 2021-11-19 20:20:45 +00:00
  • 1be8a059f4 Fixed bug caused by not catching a IllegalStateException CalDescent 2021-11-19 20:18:56 +00:00
  • 7f41c7ab0e Added "BLACKLISTED" status for arbitrary data resources. CalDescent 2021-11-19 20:18:00 +00:00
  • 3860c5d8ec Fixed some failing tests. CalDescent 2021-11-19 16:12:31 +00:00
  • a061a7cc4d Fixed various warnings raised by the IDE. CalDescent 2021-11-19 16:11:37 +00:00
  • 844501d6cd Added GET /arbitrary/resource/status/* API endpoints CalDescent 2021-11-19 15:26:52 +00:00
  • 020bd00b8f Removed incorrect @SecurityRequirement annotation CalDescent 2021-11-19 13:40:02 +00:00
  • 0706b0d287 Added some /site endpoints to the gateway, for backwards support of the demo sites CalDescent 2021-11-19 13:26:47 +00:00
  • ce56cd2b16 Disallow local (loopback address) requests when using the gateway CalDescent 2021-11-19 13:20:53 +00:00
  • b7a0a7eea4 Removed API authentication when using the gateway, as that would defeat the purpose of it. CalDescent 2021-11-19 13:14:57 +00:00
  • 824d14e793 Removed unnecessary check for isApiRestricted() when previewing. CalDescent 2021-11-19 13:08:56 +00:00
  • 83e0ed2b5d Reduced log spam CalDescent 2021-11-19 12:59:25 +00:00
  • c8b70b51c3 Added gateway service, to allow websites to be served directly on a domain or IP. CalDescent 2021-11-19 12:59:15 +00:00
  • c0fedaa3a4 Attempt to request files directly from a peer if it isn't returned in the general network broadcast. CalDescent 2021-11-19 12:05:40 +00:00
  • e74dcff010 Wait for 3 seconds between attempts to allow time for data to arrive. CalDescent 2021-11-19 11:21:40 +00:00
  • 3b5b45b463 Give up after 5 attempts to request data in the GET /arbitrary APIs CalDescent 2021-11-19 11:21:14 +00:00
  • fead482b0d Fixed bugs introduced in preview functionality. CalDescent 2021-11-17 19:32:35 +00:00
  • 29bd8203b5 Removed service from POST /render/preview/{service} API as it isn't needed right now CalDescent 2021-11-17 19:25:21 +00:00
  • 08b79e45cf /site API endpoints replaced with more generic /render APIs so that they can be used for apps, blogs, etc CalDescent 2021-11-17 19:22:25 +00:00
  • 3a05a0bcaa Added "LIST" service - to be used to optionally host an otherwise private list if the user wants to share it publicly. CalDescent 2021-11-17 18:59:45 +00:00
  • d0aafaee60 Added POST /arbitrary/../string API endpoints to allow data to be passed to the core as a string. CalDescent 2021-11-17 18:57:46 +00:00
  • 332b874493 Removed /arbitrary PUT and PATCH API endpoints. CalDescent 2021-11-16 19:36:24 +00:00
  • 6c995ed738 Validation removed from METADATA so that it is more generic - it's up to each application to decide how to structure its contents. Existing strict validation applied to a duplicate called QORTAL_METADATA. This will be the one used for website/app listings in the Qortal UI. CalDescent 2021-11-16 19:32:14 +00:00
  • fb09d77cdc Rework of "Service" types to allow for validation CalDescent 2021-11-16 19:28:25 +00:00
  • 9c952785e6 Allow the API key to be passed as an "apiKey" parameter in the query string or POST body as an alternate option to a header. CalDescent 2021-11-14 20:24:02 +00:00
  • 2f51c1bf47 Added all missing SecurityRequirement annotations CalDescent 2021-11-14 19:56:26 +00:00