Gina Häußge
100764b03e
🎨 Remove some left-over pragma headers & future imports
2020-10-07 21:37:22 +02:00
Gina Häußge
b5be8f3eae
🎨 Add codemods to pre-commit, fix flake8
2020-10-07 16:27:11 +02:00
Gina Häußge
fbfb34df58
🎨 Switch to use of isort
2020-10-07 13:15:52 +02:00
Gina Häußge
1f93b2355a
🎨 Switch to black formatting
2020-10-07 13:13:06 +02:00
Gina Häußge
920283cf87
Merge branch 'devel' into pr/3032
...
# Conflicts:
# src/octoprint/access/groups.py
# src/octoprint/static/css/octoprint.css
2019-02-05 17:08:24 +01:00
Gina Häußge
becd16b892
🐛 Fix a test
2019-02-05 16:08:40 +01:00
Matthias Urlichs
6bf8384c35
Kill of u"" (visual clutter)
2019-02-03 14:25:41 +01:00
Matthias Urlichs
1dacbc35bf
Use unicode_literals __future__
2019-02-03 14:09:57 +01:00
Matthias Urlichs
008cde6ef6
octoprint.user => octoprint.access.user
2019-01-28 14:14:23 +01:00
Matthias Urlichs
c05b6572c5
Fix coding= headers
2019-01-27 17:36:16 +01:00
MirceaDan
f243a52823
all files start now with same 2 lines
...
# coding=utf-8
from __future__ import absolute_import, division, print_function
2018-12-02 02:13:12 -08:00
Gina Häußge
3d7016f500
Fixed/removed completely outdated & broken tests
2018-04-26 19:09:03 +02:00
Gina Häußge
022c59a094
Fix unit tests again
2017-11-21 14:36:30 +01:00
Gina Häußge
e974cb8ec5
Refactored (Permissions|Group|User)Manager
...
* Removed PermissionsManager and merged functionality of that into
Permissions class
* Decoupled GroupManager from UserManager
* Renamed some things for less redundancy
* Removed unused YAML conversion methods
* Stricter differentiation between Manager parent class and concrete
implementations
* Marked broken tests as skipped and broken, separated them further
and added some
2017-11-08 15:59:31 +01:00
Gina Häußge
4e0d3725cb
Refactor someName => some_name in access classes
2017-11-02 14:30:35 +01:00
Gina Häußge
f45cb1560f
Fix SessionUserTestCase
2017-11-02 14:14:57 +01:00
Marc Hannappel
120406d115
Merge branch 'devel' of github:foosel/OctoPrint into dev/permission
2017-07-05 11:44:24 +02:00
Marc Hannappel
d72ae6102b
Added missing files/folders
2017-07-05 10:07:20 +02:00
Marc Hannappel
4ec1a9af39
Refactor a huge amount of code thanks to design failure, also add some comments and make things more translatable
2017-07-05 08:16:31 +02:00
Marc Hannappel
422f1b2b5e
Combine user, permissions and group tests as access test, Fix a problem with GroupsCantbeChanged
2017-06-02 11:23:44 +02:00
Marc Hannappel
1bea7654b8
More work on the tests
2017-05-19 11:46:06 +02:00
Marc Hannappel
31f300f6d8
Use lower case names for method names split with an underscore
2017-05-19 11:44:54 +02:00
Marc Hannappel
c0975ed15e
Started to adjust the tests to the new permission system
2017-05-10 13:56:09 +02:00
Marc Hannappel
ce6de6efa6
Moved users.py to new access package, add wrapper file users.py for backwards compatibility
...
Removed the Enabled stuff from Permissions and Groups, because both have an always on requirement
Fixed a wrong Permission
Moved the previously splitted javascript access client back into one file
2017-05-10 13:52:30 +02:00