Dane Everitt
867dbf3bd2
Update all the client API endpoints to use new permissions codes
2019-11-03 17:13:47 -08:00
Dane Everitt
56640253b9
Merge branch 'release/v0.7.14' into feature/react
2019-06-22 12:28:44 -07:00
Dane Everitt
6d01b79372
Fix broken test
2019-06-21 22:01:42 -07:00
Dane Everitt
21ffa08d66
Merge branch 'develop' into feature/vuejs
2018-12-16 14:20:35 -08:00
Dane Everitt
8dd31f895e
Fix test, update changelog
2018-11-10 15:30:11 -08:00
ayan4m1
c8ac013b65
add simple MailControllerTest (index only)
2018-10-13 21:31:08 -04:00
Dane Everitt
5ca13839cf
Merge branch 'develop' into feature/vue-serverview
2018-09-05 21:34:59 -07:00
Dane Everitt
fd49e524c8
Update middleware code
2018-09-03 15:17:53 -07:00
Dane Everitt
4d62e4c7b9
Merge branch 'develop' into pr/1128
2018-09-03 15:10:23 -07:00
Dane Everitt
a7943553d3
Fix namespacing
2018-09-03 14:04:16 -07:00
Dane Everitt
8bbe6bc279
Add test, fix behavior of model creation
2018-07-14 22:58:33 -07:00
Dane Everitt
eafc4408eb
Fix broken unit tests
2018-07-14 21:49:49 -07:00
Dane Everitt
c82f273d85
Fix remaining broken tests
2018-07-04 19:38:23 -07:00
Dane Everitt
6c20ea9881
Add tests for changed controllers
2018-07-04 19:20:33 -07:00
Dane Everitt
304d947536
Allow creating subuser with no permissions
2018-06-30 18:25:46 -07:00
Dane Everitt
974318ffb4
Logout other sessions when password is changed
...
closes #1222
2018-06-30 17:50:58 -07:00
Dane Everitt
969b16a563
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2018-06-02 21:32:26 +00:00
stanjg
b56f3a8671
Expanded the middleware test
2018-06-01 16:22:06 +02:00
stanjg
3bb9e5e8a8
Merge branch 'develop' of https://github.com/stanjg/panel into feature/user-specific-language
2018-06-01 15:58:09 +02:00
Dane Everitt
fd8d7c3571
Merge pull request #1130 from stanjg/feature/stats-page
...
Added a statistics page to monitor the panel usage
2018-05-31 22:56:58 -07:00
stanjg
ccf3e3511f
Renamed middleware, and fixed the test
2018-05-31 16:40:18 +02:00
stanjg
60e1ffa564
Added a test for the controller and cleaned up the controller
2018-05-27 00:16:13 +02:00
Dane Everitt
e648e50d90
Write some example tests for @stanjg
2018-05-26 11:00:28 -07:00
Dane Everitt
37a5e29db9
Merge branch 'develop' into feature/exception-tests
2018-05-20 16:26:18 -07:00
Lance Pioch
a17570c1cb
Fix styling
2018-05-13 18:33:51 -04:00
Lance Pioch
06229a328f
Fix the description of the tests
2018-05-13 17:49:36 -04:00
Lance Pioch
a6bca34677
Add more exception tests
2018-05-13 17:49:31 -04:00
Lance Pioch
038e5e1b7d
Add exception tests
2018-05-13 17:49:25 -04:00
Lance Pioch
78b40a8055
Spelling mistakes for tests
2018-05-13 11:12:54 -04:00
stanjg
f5a15c4039
Fixed the test
2018-05-04 13:58:39 +02:00
Lance Pioch
88fd83d413
Remove unused imports ( #1102 )
2018-04-08 15:37:27 -05:00
Dane Everitt
bde4d4187f
Merge branch 'develop' into feature/api-integration-testing
2018-03-21 22:25:16 -05:00
Dane Everitt
fd62a04480
Removed deprecated test
2018-03-17 15:12:00 -05:00
Dane Everitt
bc3cb7bfd5
Fix broken session driver test
2018-03-10 13:02:49 -06:00
Dane Everitt
e2aa01c9cc
First go at integration tests
2018-03-04 16:30:16 -06:00
Dane Everitt
a4f03f5d02
Handle missing daemon keys better and fix subuser missing key errors
2018-03-03 21:31:44 -06:00
Dane Everitt
18e394eb14
Fix tests
2018-03-03 18:24:40 -06:00
Dane Everitt
e39353a18d
Add tests for new service
2018-03-02 19:37:21 -06:00
Dane Everitt
8f72571895
Fix IP access middleware
2018-02-28 23:39:59 -06:00
Dane Everitt
4c41bd9075
Fix some broken tests
2018-02-25 15:34:01 -06:00
Dane Everitt
e28973bcae
Move everything around as needed to get things setup for the client API
2018-02-25 15:30:56 -06:00
Dane Everitt
e49c739bde
Fix failing tests
2018-02-04 15:43:09 -06:00
Dane Everitt
407120a854
Merge branch 'develop' into feature/api-v1
2018-01-21 17:06:31 -06:00
Dane Everitt
d6d43ebc1d
Fix failing tests on 7.2
2018-01-21 16:08:34 -06:00
Dane Everitt
06335a1e47
Update test namespace
2018-01-19 20:00:28 -06:00
Dane Everitt
0e7f8cedf0
Reorganize API files
2018-01-19 19:58:57 -06:00
Dane Everitt
c59d3a96aa
Add test for new middleware
2018-01-18 21:41:45 -06:00
Dane Everitt
f9fc3f4370
Update interface to begin change to seperate account API keys and application keys
...
Main difference is permissions, cleaner UI for normal users, and account keys use permissions assigned to servers and subusers while application keys use R/W ACLs stored in the key table.
2018-01-14 13:30:55 -06:00
Dane Everitt
ad3a954256
Rename APIKey to ApiKey
2018-01-14 12:06:15 -06:00
Dane Everitt
e3df0738da
Change the way API keys are stored and validated; clarify API namespacing
...
Previously, a single key was used to access the API, this has not changed in terms of what the user sees. However, API keys now use an identifier and token internally. The identifier is the first 16 characters of the key, and the token is the remaining 32. The token is stored encrypted at rest in the database and the identifier is used by the API middleware to grab that record and make a timing attack safe comparison.
2018-01-13 16:06:19 -06:00