discourse/spec
Roman Rizzi f13ec11c64
FEATURE: Add scopes to API keys (#9844)
* Added scopes UI

* Create scopes when creating a new API key

* Show scopes on the API key show route

* Apply scopes on API requests

* Extend scopes from plugins

* Add missing scopes. A mapping can be associated with multiple controller actions

* Only send scopes if the use global key option is disabled. Use the discourse plugin registry to add new scopes

* Add not null validations and index for api_key_id

* Annotate model

* DEV: Move default mappings to ApiKeyScope

* Remove unused attribute and improve UI for existing keys

* Support multiple parameters separated by a comma
2020-07-16 15:51:24 -03:00
..
components FIX: Remove user_deleted when staff recovers post (#10245) 2020-07-16 09:15:01 -05:00
fabricators DEV: Fix OptimizedImage specs 2020-07-06 21:51:56 +02:00
fixtures FEATURE: Parse images in email signatures (#10137) 2020-07-08 15:50:30 +10:00
helpers Fix the build. 2020-06-22 14:50:17 +08:00
import_export FEATURE: Rake task to export groups (#9450) 2020-04-17 14:59:54 -07:00
initializers FIX: We need to skip users with associated reviewables when auto-approving (#9080) 2020-03-02 14:33:52 -05:00
integration PERF: Do not include thumbnail information in default topic list payload (#10163) 2020-07-06 10:59:21 +01:00
integrity DEV: Check English locale for errors in CI 2020-06-03 21:54:58 +02:00
jobs FEATURE: Allow group moderators to close/archive topics 2020-07-14 12:36:19 -04:00
lib FEATURE: Add search to user bookmark list (#10230) 2020-07-14 14:43:41 +10:00
mailers FIX: Set the lang/xml:lang html attrs in emails (#10218) 2020-07-13 16:39:40 +02:00
models FEATURE: Add scopes to API keys (#9844) 2020-07-16 15:51:24 -03:00
multisite FIX: invalid urls should not break store.has_been_uploaded? 2020-06-25 15:00:15 +10:00
requests FEATURE: Add scopes to API keys (#9844) 2020-07-16 15:51:24 -03:00
script/import_scripts FIX: Change base importer to create new Bookmark records (#9603) 2020-05-01 11:34:55 +10:00
serializers PERF: Reduce size of search payload by removing unused topic attributes. 2020-07-16 11:49:06 +08:00
services FIX: Strip query from URLs when indexing for search. 2020-07-14 15:32:40 +08:00
support FIX: Redirects containing Unicode usernames didn't work 2020-06-08 10:26:29 +02:00
tasks FEATURE: Add uploads:batch_migrate_from_s3 task to limit total posts migrated at once (#9933) 2020-06-04 09:48:11 +10:00
views/omniauth_callbacks FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
rails_helper.rb Always require pry gems in rails_helper 2020-06-17 10:08:53 +10:00
swagger_helper.rb DEV: Add rswag to aid in api documention (#9546) 2020-04-27 16:40:07 -06:00