1
0
Fork 0
mirror of synced 2024-06-30 12:00:31 +12:00
Commit graph

549 commits

Author SHA1 Message Date
mike12345567 54137ec9fb Removing koa rate limit types, was requiring types for every store, types didn't work correctly. 2022-03-03 12:19:12 +00:00
mike12345567 216af35aeb Fixing review comments. 2022-03-03 12:03:29 +00:00
mike12345567 32e7f27dfa Adding check to disable rate limit redis connection in test. 2022-03-02 12:50:10 +00:00
mike12345567 a8a8498a9c Updating rate limiter to make use of Redis. 2022-03-02 12:27:09 +00:00
mike12345567 b1167fd444 Adding public API rate limiting, with env variable option, defaults to 120 requests per minute. 2022-03-02 11:36:30 +00:00
mike12345567 2603024792 Changing how types are generated from the open api spec a bit. 2022-03-01 19:00:28 +00:00
mike12345567 d8b5cae569 Adding new generation technique, converting openAPI spec to typescript definitions, which are then applied in mapping output middlewares to make sure that the structures of the response are fully respected. 2022-03-01 18:35:08 +00:00
mike12345567 5ba723f935 Updating summaries, adding descriptions, wrapping responses with generic wrapper 'data'. 2022-03-01 14:37:35 +00:00
mike12345567 172850ae87 Switching the basic single row read to use the enrich endpoint. 2022-02-28 12:54:32 +00:00
mike12345567 eed4111fe2 Rounding out user schema and query schema as required. 2022-02-25 19:26:19 +00:00
mike12345567 5567ca49c4 Removing test case. 2022-02-25 19:02:27 +00:00
mike12345567 91508ae141 Adding test cases for user implementation with mocks. 2022-02-25 19:01:17 +00:00
mike12345567 1152229719 Users implementation added. 2022-02-25 19:00:12 +00:00
mike12345567 033e320e49 Adding test cases for all implemented endpoints. 2022-02-25 18:02:08 +00:00
mike12345567 f3418044dc Starting to fix up test cases. 2022-02-25 15:55:19 +00:00
mike12345567 390e3e627f Updating validators, make sure everything that is optional is really optional. 2022-02-25 11:39:46 +00:00
Michael Drury 46d23cfb25 Adding a testing system which generates the schema and compares against responses. 2022-02-24 23:21:10 +00:00
mike12345567 06327604eb Refactoring to TS on public endpoints. 2022-02-24 15:13:14 +00:00
mike12345567 d0e0889cc6 Fix for validator adding. 2022-02-24 12:03:46 +00:00
mike12345567 bc87e2b562 Moving validators to a single location, simplify route files and all re-usability. 2022-02-24 11:39:38 +00:00
Michael Drury 88e0f67f42 Adding table public API. 2022-02-23 22:13:16 +00:00
mike12345567 c189550614 Adding controllers for row, query and applications public APIs. 2022-02-23 18:31:32 +00:00
mike12345567 6a416cad59 Refactoring how endpoints are specified so that the middlewares can be applied in a more generic fashion. 2022-02-22 18:40:09 +00:00
mike12345567 baf806275b Getting prettier running on the public routes. 2022-02-22 17:38:27 +00:00
mike12345567 4e522e39da Refactoring resource system, so that examples and schemas have individual files rather than all being lumped into one. 2022-02-22 15:06:08 +00:00
mike12345567 1f8da07767 Adding in request bodies. 2022-02-22 14:28:57 +00:00
mike12345567 710a340006 Updating output schemas and adding examples to everything. 2022-02-22 14:10:01 +00:00
mike12345567 7443a17458 Adding in all endpoints/open API definitions, need to flesh everything out. 2022-02-21 19:04:13 +00:00
mike12345567 23ccb924f7 Updating table schema and adding query endpoints. 2022-02-21 16:37:02 +00:00
mike12345567 85103cdf13 Adding a schema for tables. 2022-02-18 18:06:58 +00:00
mike12345567 890a17679c Adding in row schema for create/update, making sure all existing endpoints have appId specified. 2022-02-18 17:44:08 +00:00
mike12345567 9b28414bbb Rows API mostly complete, starting into tables. 2022-02-18 15:47:15 +00:00
mike12345567 23bd6d39e2 Adding a structure for breaking up examples and parameters. 2022-02-17 19:55:37 +00:00
mike12345567 dc56d06a11 Adding in public endpoint definitions. 2022-02-17 18:58:09 +00:00
mike12345567 fb43a971e6 Specing out search endpoint. 2022-02-16 18:51:17 +00:00
mike12345567 b440657a54 Adding variables to generator. 2022-02-16 18:23:38 +00:00
Maurits Lourens 7b182b16ad fix tests 2022-02-11 17:28:19 +01:00
mike12345567 9298071cc2 Addomg a fix for #4370 - allow queries to contain newlines, they will always be escaped. 2022-02-07 17:56:01 +00:00
mike12345567 09cfa9508e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00
mike12345567 da87b3d73e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:00:22 +00:00
mike12345567 76e24018be Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 14:09:07 +00:00
Rory Powell a153e920c9 Merge branch 'develop' into feature/migrations-2.0 2022-01-30 22:37:11 +00:00
Rory Powell 3ce4f32250 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
mike12345567 417bf98ec9 Tests updating, all now passing, fixed some issues discovered by them. 2022-01-28 15:43:51 +00:00
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Rory Powell e8e6fc549d Add app db support + app url migration 2022-01-27 10:40:31 +00:00
Rory Powell 420684a862 Merge branch 'develop' into feature/migrations-2.0 2022-01-26 15:00:52 +00:00
Rory Powell e1ca44442b
Merge pull request #4137 from Budibase/feature/app-urls
Custom App URLs
2022-01-26 14:55:36 +00:00
Rory Powell 5cb6e19274 Add CSRF Token 2022-01-25 22:54:50 +00:00
Rory Powell a66f14a289 Migrations 2.0 2022-01-24 10:48:59 +00:00