Commit Graph

  • ef43e78d54 Reduced log spam CalDescent 2022-01-21 15:20:16 +00:00
  • 6f61fbb127 Reduced strictness of rate limiter, to allow two additional file list requests (15 and 30 seconds after initial attempt) CalDescent 2022-01-21 15:20:04 +00:00
  • 9f9b7cab99 Include "size" in /arbitrary/resource APIs CalDescent 2022-01-21 14:42:37 +00:00
  • f129e16878 Added retry mechanism to relay file deletions, just in case it fails on the first try. CalDescent 2022-01-21 14:32:15 +00:00
  • 8a42dce763 Use the first responding peer in the relay map. CalDescent 2022-01-21 14:23:55 +00:00
  • 6423d5e474 Optimized onNetworkGetArbitraryDataFileListMessage() to remove duplicate calls to Files.exists() CalDescent 2022-01-21 14:12:59 +00:00
  • 6e91157dcf Improved cache clearing process and logging. CalDescent 2022-01-21 13:32:59 +00:00
  • 85c61c1bc1 Added GET /arbitrary/resources/search API CalDescent 2022-01-21 10:04:18 +00:00
  • 54af36fb85 Remove duplicates in GET /arbitrary/hosted/resources response CalDescent 2022-01-20 22:34:41 +00:00
  • fcdcc939e6 Sort hosted data in reverse order (newest first) CalDescent 2022-01-20 22:29:19 +00:00
  • 13450d5afa Added limit/offset to GET /arbitrary/hosted API endpoints CalDescent 2022-01-20 22:28:28 +00:00
  • 5e1e653095 Removed unnecessary database lookups in GET /hosted/resources API CalDescent 2022-01-20 20:39:46 +00:00
  • e8fabcb449 Removed extra isDataLocal() check in GET /hosted/resources which was evading the cache. CalDescent 2022-01-20 20:38:57 +00:00
  • a4ce41ed39 Updated qort and qdata to check for apikey.txt in $HOME/qortal, which is the most commonly installed location. CalDescent 2022-01-20 20:31:16 +00:00
  • 1b42062d57 Default minPeerVersion set to 3.0.1 CalDescent 2022-01-20 20:25:20 +00:00
  • c2a4b01a9c Allow local playback of media files CalDescent 2022-01-20 20:25:06 +00:00
  • 47e763b0cf Take a copy of the IP address history so it can be safely iterated. Without this, another thread could remove an element, resulting in an exception. CalDescent 2022-01-20 20:24:51 +00:00
  • 0278f6c9f2 Reduced more log spam CalDescent 2022-01-20 20:24:26 +00:00
  • d96bc14516 Allow execution of inline scripts, at least for now. CalDescent 2022-01-17 20:25:25 +00:00
  • 318f433f22 Reduced log spam when checking for avatars. CalDescent 2022-01-17 20:04:54 +00:00
  • cfc80cb9b0 Use a header instead of a meta tag for Content-Security-Policy, because we can't guarantee that we are parsing all HTML files. CalDescent 2022-01-17 20:04:35 +00:00
  • 01c6149422 Restrict websites to same origin requests only, using a Content-Security-Policy meta tag. CalDescent 2022-01-16 20:52:30 +00:00
  • 6f80a6c08a Rework of file list requests and relays, allowing it to handle multiple chunk resources in a much more sensible way. CalDescent 2022-01-16 20:39:37 +00:00
  • 8fb2d38cd1 Revert "Revert log4j version for now. We need to put this back in the next update, once log4j2.properties files have transitioned to the new format." CalDescent 2022-01-15 20:35:44 +00:00
  • 5018d27c25 "Not started" renamed to "Published" CalDescent 2022-01-15 20:21:52 +00:00
  • 1d77101253 Use AES/CBC/PKCS5Padding for encryption, and fall back to just AES for legacy resource support. CalDescent 2022-01-15 20:14:32 +00:00
  • 1ddd468c1f Added API key support to qdata script CalDescent 2022-01-14 11:46:26 +00:00
  • f05cd9ea51 Added API key support to qort script CalDescent 2022-01-14 11:45:40 +00:00
  • 70c00a4150 Updated AdvancedInstaller project for v3.0.1 CalDescent 2022-01-13 22:36:31 +00:00
  • d296029e8e Bump version to 3.0.1 v3.0.1 CalDescent 2022-01-13 20:18:32 +00:00
  • e257fd8628 Updated stop.sh script to use the /admin/stop API endpoint if an apikey.txt file is available. CalDescent 2022-01-13 19:18:39 +00:00
  • 119c1b43be Use default values for method and compression if not specified. CalDescent 2022-01-13 19:09:00 +00:00
  • 1277ce38de Bump version to 3.0.0 v3.0.0 CalDescent 2022-01-12 21:11:02 +00:00
  • 6761b91400 QDN go-live timestamp set to Fri, 14 Jan 2022 16:00:00 UTC qdn CalDescent 2022-01-12 20:53:57 +00:00
  • 2a6244a5c2 Handle multiple qortal processes in stop.sh CalDescent 2022-01-12 20:31:21 +00:00
  • 777bddd3d8 Revert log4j version for now. We need to put this back in the next update, once log4j2.properties files have transitioned to the new format. CalDescent 2022-01-12 20:28:23 +00:00
  • e2b13791bb Don't reload the log4j2.properties file as this seems to be buggy in a lot of cases. CalDescent 2022-01-12 20:26:41 +00:00
  • f44c21ce59 Disallow any kind of website/app/data rendering when localAuthBypassEnabled is enabled. CalDescent 2022-01-12 19:32:52 +00:00
  • ade977e416 Don't broadcast any arbitrary signatures if the list is empty (i.e. the node isn't yet hosting anything) CalDescent 2022-01-12 19:23:36 +00:00
  • f09a131bd6 Added requestHops to log entry. CalDescent 2022-01-12 19:21:11 +00:00
  • 4815587de1 Use V2 of string serialization methods in ArbitrarySignaturesMessage, as it is designed to allow null values. CalDescent 2022-01-12 19:20:49 +00:00
  • e0ebfb9b53 Reduced log spam. CalDescent 2022-01-12 19:20:14 +00:00
  • 90836afd91 External IP address updates now require 10 consecutive readings. CalDescent 2022-01-12 19:19:56 +00:00
  • 4e1b0a25bb Fixed arbitrary peer tests, which used a local address (but we now treat them as invalid). CalDescent 2022-01-11 20:06:14 +00:00
  • 89c3236bf5 Updated bundled log4j2.properties files CalDescent 2022-01-11 20:02:42 +00:00
  • 7658bc2025 Added X-API-KEY header field to API documentation endpoints that require it. CalDescent 2022-01-11 19:13:56 +00:00
  • 7cf60c7c35 Updated stop.sh so that it no longer uses the core API. CalDescent 2022-01-11 19:12:56 +00:00
  • ccde725d3b Check for an empty string as well as null in a couple of places, so that deserializeSizedString() can be safely used. CalDescent 2022-01-10 19:42:21 +00:00
  • e3b45cac0a Use an alternative version of Serialization.serializeSizedString() and Serialization.deserializeSizedString() for the new ARBITRARY transaction additions. CalDescent 2022-01-10 19:41:02 +00:00
  • 8f8a500dcd Fixed some issues left over from the qortaldata project CalDescent 2022-01-10 19:26:25 +00:00
  • f9749cd82c Merge remote-tracking branch 'qortal-data/master' into qdn CalDescent 2022-01-09 21:10:48 +00:00
  • 051052fdd2 Removed authentication for GET /peers/summary endpoint CalDescent 2022-01-09 21:09:20 +00:00
  • 940304b4c2 Added GET /admin/apikey/test endpoint, so that we have a dedicated place to test if authentication works. CalDescent 2022-01-09 20:08:45 +00:00
  • b4d2fae27f Fixed a couple of FOLLOWED_AND_VIEWED references that were missed CalDescent 2022-01-09 16:26:52 +00:00
  • 11e194292c Removed API key requirement from GET /admin/status and GET /admin/mintingaccounts CalDescent 2022-01-09 16:26:23 +00:00
  • 5ba6f6f53e FOLLOWED_AND_VIEWED renamed to FOLLOWED_OR_VIEWED, since it's technically an OR not an AND. CalDescent 2022-01-09 13:25:49 +00:00
  • f58a16905f Removed unused setting. CalDescent 2022-01-09 13:19:07 +00:00
  • 33e82b336b Limit arbitrary signature requests to 3 hops, just in case a bug caused any kind of circular broadcasting. CalDescent 2022-01-09 11:22:27 +00:00
  • 0ced712974 Merge remote-tracking branch 'qortal-data/master' into qdn CalDescent 2022-01-08 12:29:48 +00:00
  • db8e35cc13 Allow a new API key to be generated if the existing apikey.txt file has been deleted CalDescent 2022-01-08 12:27:24 +00:00
  • b6db5aa2d3 Use "apikey.txt" instead of "apikey" as the filename to store the api key, to make it easier for users to open. CalDescent 2022-01-08 10:22:14 +00:00
  • 396dc5c9b0 Always log "Synchronizing with peer..." as it may help give more clarity to those with sync issues. CalDescent 2022-01-08 10:12:54 +00:00
  • 67e424a32a Added GET /arbitrary/relaymode API endpoint, which returns whether relay mode is enabled in the settings or not. CalDescent 2022-01-07 14:38:05 +00:00
  • d8cbec41d2 Various logging improvements and fixes. CalDescent 2022-01-07 14:08:11 +00:00
  • 374f6b8d52 Added restrictions when relaying file list requests CalDescent 2022-01-07 14:01:57 +00:00
  • 20ec4cbd14 ARBITRARY_REQUEST_TIMEOUT increased from 6 to 10 seconds CalDescent 2022-01-07 12:50:34 +00:00
  • 1c80835f49 Default relayModeEnabled to true. CalDescent 2022-01-07 12:31:16 +00:00
  • 5e0af26c27 Keep track of successes or failures for a particular arbitrary peer / signature combination. CalDescent 2022-01-05 21:23:29 +00:00
  • b42674ac06 Small code reorganization to improve logic when adding arbitrary peer data CalDescent 2022-01-05 19:26:06 +00:00
  • 3394543705 Don't save arbitrary peer data if it's a local address CalDescent 2022-01-05 19:22:24 +00:00
  • 75c51aa61b If a direct connection can't be made to a peer over the original or default port, match the peer's host with any entries in knownPeers and try connecting to each of those until one succeeds. CalDescent 2022-01-05 19:03:41 +00:00
  • 6041722250 Added missing import. CalDescent 2022-01-05 18:35:03 +00:00
  • 60d038b367 Return result of Network.connectPeer() back to caller. CalDescent 2022-01-05 18:34:54 +00:00
  • b2c4bf96af Rebroadcast the entire list of hosted signatures each time our external IP address changes. CalDescent 2022-01-03 19:52:42 +00:00
  • f007f9a86d Added optional "senderPeerAddress" string to HELLO messages, to allow external IP changes to be detected without using a centralized service. CalDescent 2022-01-03 19:05:10 +00:00
  • b1c1634950 Updated log4j to 2.17.1 CalDescent 2022-01-02 20:50:38 +00:00
  • 5157ccf7c0 Expire each authorization after 60 minutes. CalDescent 2022-01-02 20:11:38 +00:00
  • c4a782301d Delete reader cache directories if a resource is unable to be built. CalDescent 2022-01-02 18:31:17 +00:00
  • 17fe94fa46 Added POST /render/authorize/{resourceId} endpoint CalDescent 2022-01-02 18:23:27 +00:00
  • 75d9347d23 Show blank root page for the gateway. CalDescent 2022-01-02 17:07:48 +00:00
  • ef784124f3 Fixed status bugs in loading screen. CalDescent 2022-01-02 16:11:25 +00:00
  • bd1b631914 Use <base href="..."> in HTMLParser, rather than attempting to swap out every relative link CalDescent 2022-01-02 15:22:53 +00:00
  • edfc8cfdc4 Fixed bug which saved an incorrect peer address for a forwarded arbitrary signatures message. CalDescent 2022-01-01 22:34:02 +00:00
  • fbe34015d4 Validate peer addresses before saving anything to the db. CalDescent 2022-01-01 22:33:01 +00:00
  • 391fa008d0 When making a direct connection to a peer, try using the default listen port along with the one specified in the ArbitraryPeers table. CalDescent 2022-01-01 21:37:23 +00:00
  • 7df8381b8f Don't allow a row to be added to ArbitraryPeers (or the message to be rebroadcast) if an entry already exists with the same hash and host/ip. CalDescent 2022-01-01 21:09:48 +00:00
  • c0234ae328 Added unit test to make sure the mempow nonce is being validated in ARBITRARY transactions. CalDescent 2022-01-01 18:12:18 +00:00
  • 5c64a85d7c Test a registered name with a space in it CalDescent 2022-01-01 15:43:00 +00:00
  • 7aa8f115ce Added "original copy indicator file", which prevents the node from deleting its own published content when storage space runs out. CalDescent 2022-01-01 14:52:09 +00:00
  • cf2c8d6c67 Switched some IOExceptions to DataExceptions CalDescent 2022-01-01 14:02:54 +00:00
  • 5a1a814003 Bump version to 2.1.3-mempow.0 mempow-testing CalDescent 2021-12-31 20:53:04 +00:00
  • e59abe1b14 Include hashrate in logs for easy comparison between different hardware specs CalDescent 2021-12-31 20:52:50 +00:00
  • 4f8721e629 Fixed merge issue CalDescent 2021-12-31 20:52:24 +00:00
  • 59ffb65b8c Merge branch 'master' into online-accounts-rework CalDescent 2021-12-31 20:25:23 +00:00
  • 37edebcad9 Fixed cleanup bug which could cause problems for ArbitraryDataWriter CalDescent 2021-12-30 15:50:14 +00:00
  • 4d4f661548 Renamed ArbitraryResourceSummary to ArbitraryResourceStatus, and added status titles & descriptions CalDescent 2021-12-29 19:41:49 +00:00
  • 46e4cb4f50 Removed custom version number CalDescent 2021-12-29 12:47:49 +00:00
  • 34e622cf0c Removed unused line. CalDescent 2021-12-28 17:00:54 +00:00
  • 7ccb99aa2c Improved clarity of file deletion message. CalDescent 2021-12-28 17:00:41 +00:00
  • 9e3847e56f Moved some of the less important arbitrary transaction related logs from INFO to DEBUG/TRACE. CalDescent 2021-12-28 17:00:09 +00:00