CalDescent
a3518d1f05
Revert "Fixed bug with base path."
...
This reverts commit ce52b3949501cccf66240093a077686b9f48c664.
2023-04-28 12:13:31 +01:00
CalDescent
0a1ab3d685
Added GET_QDN_RESOURCE_METADATA action.
2023-04-28 10:57:04 +01:00
CalDescent
5dbacc4db3
Added "Accept-Ranges" header when serving arbitrary data.
...
Allows for video seeking when using URL playback, even though the Range header isn't implemented yet. This could be heavily optimized by adding full support of the Range/Content-Range headers, however this is still a big step forward as it allows for (inefficient) seeking.
2023-04-28 10:12:16 +01:00
CalDescent
1ce2dcfb2b
Fixed bug which prevented qortal:// URLs from working properly in most cases.
2023-04-25 08:33:33 +01:00
CalDescent
ed6333f82e
Allow for faster and more frequent retries when QDN data fails to be retrieved (thanks to suggestions from @xspektrex)
2023-04-23 19:14:28 +01:00
CalDescent
f27c9193c7
Auto delete any metadata files that are unreadable (e.g. due to being empty, or invalid JSON).
2023-04-23 11:30:42 +01:00
CalDescent
53508f9298
Fixed problems in last commit.
2023-04-22 11:33:59 +01:00
CalDescent
33aeec7e87
Added various new service types, in preparation for Q-Apps release.
2023-04-22 11:00:21 +01:00
CalDescent
16dc23ddc7
Added new actions to gateway handler.
2023-04-21 21:45:16 +01:00
CalDescent
e80494b784
Fixed unit test.
2023-04-21 20:22:18 +01:00
CalDescent
111ec3b483
Fixed typo
2023-04-21 20:05:24 +01:00
CalDescent
db4a9ee880
Return "Resource does not exist" error if requesting a non-existent resource via GET_QDN_RESOURCE_URL.
2023-04-21 19:50:01 +01:00
CalDescent
b1ebe1864b
Fixed bug in error handling.
2023-04-21 19:27:24 +01:00
CalDescent
3c251c35ea
Fixed divide by zero error in GET /arbitrary/resource/status/*
2023-04-21 18:21:41 +01:00
CalDescent
4954a1744b
Fixed case sensitivity bugs.
2023-04-21 17:47:29 +01:00
8ca9423c52
Added missing parameter to test
2023-04-21 10:58:09 -04:00
CalDescent
32b9b7e578
Use a temporary file when reading on-chain data.
2023-04-21 13:59:29 +01:00
CalDescent
f045e10ada
Removed all case sensitivity when searching names.
2023-04-21 12:56:15 +01:00
CalDescent
560282dc1d
Added "exactMatchNames" parameter to GET /arbitrary/resources/search
2023-04-21 12:55:59 +01:00
CalDescent
9cd6372161
Improved GET /admin/settings/{setting}
further, in order to support all settings (fixes ones such as bitcoinNet).
2023-04-21 12:06:16 +01:00
CalDescent
2370a67b8a
Merge branch 'master' into q-apps
2023-04-21 11:07:01 +01:00
CalDescent
0993903aa0
Added GET /settings/{setting}
endpoint
...
Based on work by @QuickMythril , but modified to be generic.
2023-04-21 11:03:24 +01:00
CalDescent
10f12221c9
Fixed exception in readJson(), and removed some duplicated code.
2023-04-21 09:42:04 +01:00
7bb6b84e86
Added API call for restarting node
2023-04-20 16:23:57 -04:00
CalDescent
dc25d33739
Merge branch 'master' into q-apps
2023-04-19 20:57:31 +01:00
CalDescent
358e67b050
Added "bindAddressFallback" setting, which defaults to "0.0.0.0".
...
Should fix problems on systems unable to use IPv6 wildcard (::) for listening, and avoids having to manually specify "bindAddress": "0.0.0.0" in settings.json.
2023-04-19 20:56:47 +01:00
CalDescent
e041748b48
Improved name rebuilding code, to handle some more complex scenarios.
2023-04-16 13:59:25 +01:00
CalDescent
cfe6dfcd1c
If nameFilter contains an empty or nonexistent list, return an empty array.
2023-04-15 18:27:55 +01:00
CalDescent
3f00cda847
"nameListFilter" added to LIST_QDN_RESOURCES
and SEARCH_QDN_RESOURCES
Q-Apps actions.
2023-04-15 16:02:25 +01:00
CalDescent
a286db2dfd
"namefilter" param in GET /arbitrary/resources/search
is now exact match, which makes more sense when filtering results by names in a list.
2023-04-15 15:55:52 +01:00
CalDescent
28bd4adcd2
Removed GET /arbitrary/resources/names
endpoint, as it's unused and doesn't scale well.
2023-04-15 15:42:47 +01:00
CalDescent
61b7cdd025
Added "followedonly" and "excludeblocked" params to GET /arbitrary/resources
and GET /arbitrary/resources/search
, as well as LIST_QDN_RESOURCES
and SEARCH_QDN_RESOURCES
Q-Apps actions.
2023-04-15 15:24:10 +01:00
735de93848
Removed internal use parameter from API endpoint
2023-04-15 09:25:28 -04:00
57485bfe36
Removed check from poll tx that creator is owner
2023-04-15 09:11:27 -04:00
CalDescent
ed05560413
Gateway auth alert box replaced with a modal overlay in the lower right hand corner of the screen.
2023-04-15 10:11:33 +01:00
CalDescent
892b667f86
Fixed console errors seen in certain cases.
2023-04-15 09:57:26 +01:00
CalDescent
ea7a2224d3
Allow the name of a list to be specified as a "namefilter" param in GET /arbitrary/resources/search. Any names in the list will be included in the search (same as if they were specified manually via &name=).
2023-04-14 17:44:06 +01:00
CalDescent
20893879ca
Allow multiple name parameters to optionally be included in GET /arbitrary/resources/search
...
Also updated SEARCH_QDN_RESOURCES action, to allow multiple names to be optionally specified via the "names" parameter.
2023-04-14 17:17:05 +01:00
CalDescent
e60cd96514
Fixed occasional NPE seen in ArbitraryDataFileMessage
2023-04-14 11:02:27 +01:00
CalDescent
e2a2a1f956
Fixed bug with GET_QDN_RESOURCE_URL action.
2023-04-11 19:03:56 +01:00
CalDescent
7f53983d77
Added support for hash routing in URL shown in address bar.
2023-04-09 18:21:19 +01:00
CalDescent
ce52b39495
Fixed bug with base path.
2023-04-09 17:55:41 +01:00
CalDescent
3296779125
Update address bar when navigating within an app.
2023-04-09 17:11:20 +01:00
CalDescent
3dcd9d237c
Added "_qdnBase" global javascript var, for apps to use as a basename / path prefix.
2023-04-07 19:03:28 +01:00
23ec71d7be
Renamed API calls from "voting" to "polls"
2023-04-06 04:48:18 -04:00
5bbde4dcdb
Added API calls to get polls & node settings
2023-04-06 04:41:51 -04:00
dc2da8b283
Merge pull request #37 from DrewMPeacock/VotingTransactions
...
Fix up CREATE_POLL and VOTE_ON_POLL transactions to process and valid…
2023-04-06 03:35:58 -04:00
f3772d19f5
Merge pull request #36 from DrewMPeacock/master
...
Add API handles to build CREATE_POLL and VOTE_ON_POLL transactions.
2023-04-06 03:34:50 -04:00
CalDescent
35def54ecc
Added support for multiple block/follow lists.
...
Any list with the following prefix will be used in block/follow logic:
blockedNames
blockedAddresses
followedNames
For instance, any names in a list named "blockedNames_CustomBlockList" would also be blocked, along with those in the standard "blockedNames" list.
This will ultimately allow apps to offer custom block/follow lists to users (once list functionality is added to the Q-Apps API).
2023-04-02 14:42:49 +01:00
CalDescent
2086a2c476
Moved block/follow utility methods to a new ListUtils class
2023-04-02 10:58:16 +01:00