Commit graph

15 commits

Author SHA1 Message Date
Jeremy Benoist ee32248f43
Ensure access_token are removed
When we remove the client, we should ensure that access_token are also removed.

To ensure that, I created a test that generated an access_token. So when we remove the client, this association should be cascaded and shouldn’t generate an error.

Also I moved some Api related stuff to the ApiBundle (like the developer controler and ClientType form)
2016-10-08 00:05:41 +02:00
Nicolas Lœuillet 2ff9991a1d
Removed duplicated templates files 2016-09-30 09:38:08 +02:00
Jeremy Benoist 543da3e0b7
Instead of selecting the whole data, just count it
Instead of performing a complex select (to retrieve all data for entry, etc...) just select the counter and retrieve it.

Down from ~50ms to ~30ms on the unread page (with 500 items)
2016-09-03 18:11:07 +02:00
Thomas Citharel 9c545fe028
Added name on client
- Fix typos in field name
- Added migration for name field in API client table

Manually cherry-picked from PR
https://github.com/wallabag/wallabag/pull/2171
2016-08-22 20:18:27 +02:00
Jeremy Benoist 4094ea4771 Convert array + phpDoc
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
2016-04-12 12:25:29 +02:00
Jeremy Benoist 3fae7f1d08 Add missing developer page 2016-03-20 21:56:42 +01:00
Thomas Citharel 0d3043a29c fix api properties and typo 2016-03-16 22:22:12 +01:00
Thomas Citharel c9c8345a4a add refresh-token grant-type 2016-03-13 17:53:56 +01:00
Jeremy Benoist 1256f6fe34 Add translations 2016-03-05 22:29:58 +01:00
Jeremy Benoist 9bf15f0269 Add listing clients
Rename route to be more consistive (ie: prefixed with developer_)
2016-03-05 21:44:39 +01:00
Jeremy Benoist 2c2308b783 Cleanup form
- Avoid too much hidden data in the form (instead of manually define the submit button and hide the default, use the default one !)
- Fix HTML syntax in client_parameters
- Add developer link in baggy menu
- Fix space between link in material footer
2016-03-05 20:04:19 +01:00
Thomas Citharel 5bc2da5628 Add password for auth 2016-02-29 21:28:25 +01:00
Nicolas Lœuillet abc329453b Enhance documentation and create a form to create a new client 2016-02-29 21:28:25 +01:00
Nicolas Lœuillet b6321bed7b Added developer documentation 2016-02-29 21:28:25 +01:00
Nicolas Lœuillet 24152cdb5e Fix #1597: first draft to create new client for the API 2016-02-29 21:28:25 +01:00