Wykres commitów

168 Commity (b6d243eef3fe16451350b25fb24d5553f0c0a8eb)

Autor SHA1 Wiadomość Data
Andrey e723dabaaf Fix permission_list to permissions. 2024-01-27 22:12:53 +02:00
kompotkot 32b0088fdb Bumped bugout package version 2024-01-29 09:43:03 +00:00
Andrey 243f367d82 Add suggested fixes. 2024-01-27 12:23:14 +02:00
Andrey 0932c94550 Remove default names function. 2024-01-27 09:32:12 +02:00
Andrey 613f8abc0c Leaderboard versions simplify. 2024-01-27 09:28:45 +02:00
Andrey e7be016c98 Fix engine and subscriptions. 2024-01-25 06:25:18 +02:00
Andrey b2e67ffec6 Merge branch 'main' into add-leaderboard-metadata 2024-01-25 04:51:05 +02:00
Andrey Dolgolev cfebe18257
Merge pull request #995 from moonstream-to/add-get-scores
Add get score endpoint.
2024-01-10 20:23:15 +02:00
Andrey cfeae159d4 Add get score endpoint. 2024-01-10 17:25:30 +02:00
Andrey 4d90055813 Fix leaderboard info endpoint. 2023-12-20 04:51:20 +02:00
kompotkot f9a265b97a Live after query param 2023-12-12 11:22:42 +00:00
kompotkot 12bcd84eb1 Body for complete request route 2023-12-07 16:47:03 +00:00
kompotkot 065ff03476 Switched middleware to depends oauth2_scheme in metatx 2023-12-07 15:04:16 +00:00
kompotkot f3b4e3e502 Merge branch 'metatx-live-at' into complete-call-request 2023-12-07 10:11:52 +00:00
kompotkot 6b749b5fef Field live_at is nulluble 2023-12-07 09:57:17 +00:00
kompotkot 4746d5ceec Merge branch 'main' into metatx-live-at 2023-12-06 11:50:18 +00:00
Neeraj Kashyap 354ae7ddc7 Updated README 2023-11-21 11:01:46 -08:00
Neeraj Kashyap 9bb8c19283 Added the `client` directory
It contains a lightweight Python client for the Engine API.
2023-11-21 11:00:38 -08:00
Neeraj Kashyap 71e2ffbed3 Modified alembic migration to downgrade properly
Previously, the downgrade was hitting a violation of the old unique
constraint on leaderboard_scores if multiple versions of scores were
stored for the same address.

The modified downgrade only retains the score for each address on the
latest publich version of each leaderboard.
2023-11-21 10:59:17 -08:00
Andrey e9273e2d38 Remove public column and add suggested changes. 2023-11-21 08:03:34 +02:00
Andrey de2afed559 Fix if in get latest version.
Fix join.
Add version parameter to all public endpoints.
2023-11-20 15:34:47 +02:00
Andrey 0eb6c3e2b9 Fix unique constrain on leaderboard scores to remove unique address and add unique version number. 2023-11-20 12:18:55 +02:00
Andrey 5f90fc4b56 Add publish to request body. 2023-11-20 11:34:35 +02:00
Andrey aef32862c2 Remove endpoint. duplication from docs. 2023-11-20 11:26:10 +02:00
Andrey 6a250fe518 Deleting old versions on versionless add_scores endpoint. 2023-11-20 11:19:59 +02:00
Andrey e6b75d59d9 Add endpoints for LeaderboardVersions.
Change add_scores.
Change get leaderboards positions.
2023-11-20 10:51:31 +02:00
Andrey 77dfd5d070 Update Quartiles / Position / Rank / Ranks endpoints. 2023-11-16 06:50:56 +02:00
Andrey 324ff58466 Add columns names default. 2023-11-15 18:00:18 +02:00
Andrey 5878e66aaf Add fixes for get leaderboard. 2023-11-15 17:28:15 +02:00
Neeraj Kashyap 7295b9c023 Fixed typo 2023-11-10 09:20:26 -08:00
Andrey 949f6c4905 Add migration and endpoints changes. 2023-11-09 17:41:14 +02:00
Neeraj Kashyap 560ccb6784 Made models.py changes and created alembic migration 2023-11-08 16:19:27 -08:00
kompotkot e9c46f7a5b Compare with caller from message 2023-11-07 11:04:05 +00:00
kompotkot 0ed9ad2ecc Complete call_request endpoint 2023-10-16 11:54:39 +00:00
kompotkot 74f956ff64 Modified authorize and verify workflows to support 2 message types 2023-10-16 10:31:54 +00:00
kompotkot 7fb0963d24 Merge branch 'metatx-live-at' into complete-call-request 2023-10-04 11:31:31 +00:00
kompotkot d3effd952c Depends auth header check should be async 2023-10-04 11:30:58 +00:00
kompotkot 69e375ab61 tx_hash for call_requests field 2023-10-04 11:27:40 +00:00
kompotkot 47b76ec26d Updated version 2023-10-04 10:55:27 +00:00
kompotkot a92aeed916 List call_requests check auth with dependency 2023-10-04 10:50:09 +00:00
kompotkot a46afe65d7 Operations with live_at for call_requests 2023-10-03 15:47:58 +00:00
kompotkot 1a282c5811 live_at for call_requests 2023-10-03 10:07:37 +00:00
kompotkot 911042da26 Leaderboards use env var origins 2023-09-21 07:24:11 +00:00
Andrey Dolgolev 6292aecd3a
Merge pull request #916 from moonstream-to/leaderboard-config-management
Add initiate leaderboard config managment.
2023-09-04 17:29:25 +03:00
Andrey 0f608aac77 Bump version, update env file. 2023-09-01 07:11:55 +03:00
Andrey 49802bf589 Change MOONSTREAM_LEADERBOARD_GENERATOR_JOURNAL_ID -> MOONSTREAM_LEADERBOARD_CONFIGURATION_JOURNAL_ID. 2023-09-01 07:06:11 +03:00
Andrey d5e23ed928 Fix search. 2023-08-31 19:32:20 +03:00
Andrey edae1f91a1 Add initiate leaderboard config managment. 2023-08-31 18:04:23 +03:00
kompotkot d29c40e907 CORS origins synchronize service 2023-08-31 10:46:48 +00:00
Andrey 23d0670714 Add changes. 2023-08-15 19:04:08 +03:00
Andrey b85cbb5f00 Add Header parameter. 2023-08-15 13:55:13 +03:00
Andrey fa92e3260d Split endpoints by public and authorized. 2023-08-12 11:13:51 +03:00
Andrey Dolgolev f8d067bf7d
Merge pull request #891 from moonstream-to/manage-leaderboards
Manage leaderboards
2023-08-14 18:10:19 +03:00
Andrey 3b52d8f49f Change endpoint name. 2023-08-12 09:54:46 +03:00
Andrey fa66d1cebe Add descriptions and parameters types. 2023-08-12 09:48:38 +03:00
Andrey 9165a32f5e Add Query wrapper. 2023-08-12 09:24:04 +03:00
Andrey fbf106eba3 Add changes. 2023-08-12 09:18:19 +03:00
Andrey 3319d4a8a4 Add type annotations. 2023-08-12 09:14:33 +03:00
Andrey cb7950d922 remove autoconfig endpoint. 2023-08-10 19:33:44 +03:00
kompotkot a7ab7063b0 Clarified errors message for duplication of call request 2023-08-10 15:55:27 +00:00
kompotkot 8686b38aa0 Merge branch 'main' into db-request-id-constr 2023-08-10 15:47:16 +00:00
kompotkot 5e03473705 Switched call requests request id column to decimals 2023-08-10 15:42:08 +00:00
Andrey 5b38cf1eff Add changes. 2023-08-10 18:26:26 +03:00
Andrey 20149770aa Add changes. 2023-08-10 18:24:26 +03:00
Andrey Dolgolev f0ed70696f
Merge pull request #893 from moonstream-to/update-bugout
Update bugout version.
2023-08-10 17:12:13 +03:00
Andrey f15d70acd7 Refactor access check. 2023-08-10 17:11:30 +03:00
Andrey 0c095b7696 Add changes. 2023-08-10 16:35:09 +03:00
Andrey 9f376e86f7 Update on engine. 2023-08-10 16:33:46 +03:00
kompotkot f1a84d8cec Metatx routes fix to work with call requests 2023-08-10 10:54:53 +00:00
kompotkot 663c2be9d9 Request ID for call requests migration 2023-08-10 10:40:46 +00:00
kompotkot f80edef557 Merge branch 'main' into reorg-metatx-db 2023-08-08 19:39:40 +00:00
kompotkot 4ee6ce6406 Bumped version 2023-08-08 19:05:13 +00:00
kompotkot d4ff8e8870 Fix default dropper value to be available from docs 2023-08-08 12:21:13 +00:00
kompotkot ba78712cc5 Request type PK name and default set to dropper if not specified 2023-08-08 12:17:49 +00:00
kompotkot 1bd2f3706b Call request method and required params in db, fixed validation 2023-08-07 13:26:58 +00:00
kompotkot eab292e815 Holders to Requesters and no defaults, small fixes 2023-08-07 12:10:21 +00:00
Andrey c417fc14b6 Whitelist changes endpoint. 2023-08-07 01:14:37 +03:00
Andrey ba6fd3222f Change endpoints order. 2023-08-07 01:12:45 +03:00
Andrey 1d0f01cb09 Add changes. 2023-08-06 17:06:18 +03:00
Andrey 0403b1ba0c Add initial leaderboard manage. 2023-08-06 16:55:56 +03:00
Sergei Sumarokov ef57400c52
Update leaderboard.py docs whitelisted 2023-08-04 12:53:35 -07:00
kompotkot 927eb85c94 Basic call requests endpoints to work with updated db 2023-08-03 14:12:06 +00:00
kompotkot 1589c8c65d Fixed metatx contract routes to work with new db model 2023-08-03 12:36:13 +00:00
kompotkot 47db2e534c Updated API route for list contracts 2023-08-03 10:42:16 +00:00
kompotkot 252da0cd36 API route to get available blockchains for metatx 2023-08-03 10:30:46 +00:00
kompotkot 6dfca4a49b API list call request types 2023-08-03 10:25:09 +00:00
kompotkot b0d8e17254 Working downgrade 2023-08-03 09:59:43 +00:00
kompotkot 39a64cf454 Working migration 2023-08-03 09:52:50 +00:00
kompotkot 3b265ad15d Migration Call request types and Metatx holders 2023-08-03 09:17:05 +00:00
kompotkot e854978459 Fixed validation of new call requests set not subscriptable 2023-08-01 11:45:24 +00:00
Sergei Sumarokov 7b43e0614f
Revert "Emergency fix CORS back" 2023-07-07 19:30:38 +03:00
Sergei Sumarokov 2d110a4cbb
Merge pull request #835 from moonstream-to/fix-cors-back
Emergency fix CORS back
2023-07-07 09:23:33 -07:00
kompotkot 9e1697665e Emergency fix CORS back 2023-07-07 16:22:05 +00:00
Andrey b44322a501 Add Leaderboard model. 2023-07-06 08:51:46 +03:00
Andrey 6f4828932a Add missing response model. 2023-07-06 08:44:38 +03:00
Andrey 9d134f295b Add changes. 2023-07-06 08:41:47 +03:00
Andrey d3bdc3f28d Fix admin drops endpoint. 2023-07-06 07:30:50 +03:00
Andrey d27e675df0 Add init version of get leaderboard endpoints.
Add response models.
2023-07-05 21:49:43 +03:00
kompotkot d999f43798 Fix pydantic orm model convertion 2023-07-04 16:27:16 +00:00
kompotkot 9eefd7d67d Moonstream admin user id from env var 2023-07-04 14:24:18 +00:00