Oskar Hahn
cfdabfbb40
Added utils.views.CSRFMixin to append the csrf token to a view
...
Fixes : #1476
2015-02-17 20:09:09 +01:00
Oskar Hahn
7f8ad4bfcc
Merge pull request #1416 from ostcar/isort
...
add isort
2015-02-17 07:44:29 +01:00
Oskar Hahn
8ad6accaa6
Add isort1
...
Do not do any travis checks, but append the commands, so that we can use isort to clean up the code
2015-02-17 07:41:24 +01:00
Norman Jäckel
00a9709bf8
Merge pull request #1479 from normanjaeckel/FixCommitAngularAuth
...
Implemented auth via AngularJS.
2015-02-16 11:47:14 +01:00
Oskar Hahn
1969416e64
Implemented auth via AngularJS
...
Also added the derective osPerms to check if the current user has permissions.
Removed old Django views and urls for user.
Created utils.views.APIView which should be used instead of the AjaxView.
Fixes : #1470
Fixes : #1454
2015-02-16 11:42:48 +01:00
Oskar Hahn
a6d0c88730
Merge pull request #1463 from normanjaeckel/UpdateChangelog
...
Updated CHANGELOG.
2015-02-14 03:26:22 +01:00
Norman Jäckel
f9ca8d1df1
Updated CHANGELOG.
2015-02-14 02:43:19 +01:00
Oskar Hahn
411213b1ce
Merge pull request #1458 from normanjaeckel/feature/rest-api/users
...
Refactoring users app.
2015-02-14 02:35:56 +01:00
Norman Jäckel
3a19218bd5
Refactored parts of users app.
...
Refactored user creation and update via REST API. Used new serializer.
Cleaned up management commands, signals and imports. Moved code from 'api.py' to 'models.py'.
Changed usage of group 'Registered'. Now the users don't have to be members to gain its permissions. Used customized auth backend for this.
Added and changed some tests.
2015-02-14 02:29:53 +01:00
Norman Jäckel
99c6a4dbd8
Merge pull request #1461 from ostcar/js-data
...
Updated angular-data to js-data (angular-data 2.1).
2015-02-14 00:32:17 +01:00
Oskar Hahn
d31be54817
Update angular-data to js-data (angular-data 2.1)
...
Also reload all data after 5 minutes
2015-02-13 23:27:27 +01:00
Oskar Hahn
48c4f8dcf5
Merge pull request #1456 from normanjaeckel/fix1450
...
Updated ViewSets to Django REST Framework 3.0.5.
2015-02-12 21:10:13 +01:00
Norman Jäckel
87cd31f6a5
Updated ViewSets to Django REST Framework 3.0.5. Refactored imports from openslides/utils/rest_api.py for better overriding them later.
...
Fixed #1450 . Updated requirements.
2015-02-12 19:19:44 +01:00
Oskar Hahn
2859980922
Merge pull request #1446 from ostcar/assignments
...
rework of assignment
2015-02-12 10:17:24 +01:00
Oskar Hahn
c4c9322321
Rework of assignment
...
fixes : #1429 , #1345
A database recreation is needed
2015-02-12 10:14:10 +01:00
Oskar Hahn
85dfbb185f
Merge pull request #1447 from ostcar/ui-router
...
use ui router for more generic url routing
2015-02-12 10:09:38 +01:00
Oskar Hahn
ac6f3de60d
Used AngularUI Router for more generic URL routing.
2015-02-12 09:52:07 +01:00
Oskar Hahn
9d8c85be68
Merge pull request #1445 from ostcar/agenda-small-rework
...
small agenda improvments
2015-02-09 20:33:11 +01:00
Oskar Hahn
dcd7ce4e80
Small agenda improvments
...
Updated the tests and changed only small internal parts of method of the agenda model. No API changes
2015-02-09 20:30:04 +01:00
Norman Jäckel
89e5434508
Merge pull request #1438 from ostcar/angular
...
Used AngularJS.
(Pull request merged as first draft for refactoring OpenSlides as single page app. Details have to be discussed later.)
2015-02-06 21:46:35 +01:00
Oskar Hahn
7171a71919
angular single page application
2015-02-05 23:06:09 +01:00
Oskar Hahn
afc295b2ec
Merge pull request #1441 from normanjaeckel/RefactorConfigAPI
...
Added api retrieve method for config variables. Refactored api output.
2015-02-05 20:05:56 +01:00
Oskar Hahn
e92666d473
Merge pull request #1442 from normanjaeckel/TornadoAutoupdate
...
Rework of tornado autoupdate functionality
2015-02-05 20:05:12 +01:00
Norman Jäckel
eed5c59013
Refactored serializers and autoupdate.
...
Added api for groups.
Refactored serializers now using 'id' instead of 'url'.
Rework of tornado autoupdate functionality.
Implemented extra data in SockJS messages.
2015-02-05 19:49:54 +01:00
Norman Jäckel
ecf7e07fe7
Added api retrieve method for config variables. Refactored api output.
2015-02-05 19:42:51 +01:00
Norman Jäckel
c6705e687a
Merge pull request #1436 from ostcar/travis_cache
...
Speed up travis with cache for pip and npm.
2015-02-05 14:59:28 +01:00
Norman Jäckel
aad0e8d2d2
Merge pull request #1437 from ostcar/tornado_requests
...
Send data via tornado and sockjs.
2015-01-31 14:36:54 +01:00
Norman Jäckel
117c34c5f0
Merge pull request #1427 from normanjaeckel/DjangoRESTFrameworkConfigMediafile
...
Django REST framework: Motion, mediafile, config app and rework.
2015-01-31 14:25:53 +01:00
Norman Jäckel
7238b8159a
Added REST api for motion, mediafile and config app. Refactor REST api in other apps.
2015-01-31 14:15:10 +01:00
Oskar Hahn
7ec4cdcdf7
send data via tornado
2015-01-30 14:00:04 +01:00
Oskar Hahn
2e9b05eb5a
Speed up travis with cache for pip and node
2015-01-26 02:05:14 +01:00
Oskar Hahn
19fb7018af
Merge pull request #1431 from ostcar/fix_anonymous
...
fix #1430 - anonymous user and motion detail view
2015-01-25 01:39:35 +01:00
Oskar Hahn
b4e17b9b35
fix #1430 - anonymous user and motion detail view
2015-01-25 01:20:59 +01:00
Oskar Hahn
e87eb6af5f
Merge pull request #1434 from ostcar/fix_rest_anonymous
...
use our anonymous user object for the rest framework
2015-01-25 01:20:41 +01:00
Norman Jäckel
da33e83a4e
Merge pull request #1433 from normanjaeckel/ForgottenChangelog
...
Updated CHANGELOG.
2015-01-25 01:17:11 +01:00
Oskar Hahn
ac01d39eaa
use our anonymous user object for the rest framework
...
fix : #1432
2015-01-25 01:11:14 +01:00
Norman Jäckel
4f5a31d50f
Updated CHANGELOG.
2015-01-25 01:09:57 +01:00
Norman Jäckel
8b08b99d7d
Merge pull request #1423 from ostcar/tests
...
New Test order. Also cleaned up some things.
2015-01-24 19:20:28 +01:00
Oskar Hahn
e7230b7391
New Test order.
...
* seperate unittests and integration tests
* moved old tests in seperat folder 'old'
* created a testrunner that does not create a testdatabase, if only unittests are run
* wrote some unit- and integration tests as examples
* fixed user.get_short_name() to use the sort order from config
* fixed wrong url_pattern in the user app
2015-01-24 18:00:03 +01:00
Oskar Hahn
ea45469338
Merge pull request #1424 from ostcar/simple_anonymous_user
...
Use a real anonymous user object, instadt of a authentification backend
2015-01-23 15:53:03 +01:00
Oskar Hahn
0b29d13dc6
Merge pull request #1412 from ostcar/management
...
Rework of management command
2015-01-23 15:48:14 +01:00
Oskar Hahn
35024764cf
Rework of management command
2015-01-23 15:40:12 +01:00
Oskar Hahn
285d8c2cfb
Use a real anonymous user object, instadt of a authentification backend
2015-01-23 15:38:14 +01:00
Oskar Hahn
8b88d38ac5
Merge branch 'stable/1.7.x'
...
Conflicts:
openslides/__init__.py
openslides/assignment/views.py
openslides/motion/pdf.py
openslides/users/pdf.py
2015-01-23 02:33:17 +01:00
Norman Jäckel
ea0b8e584f
Merge pull request #1420 from normanjaeckel/Release_1.7b1
...
Release 1.7b1
2015-01-21 21:14:21 +01:00
Norman Jäckel
33c4562e62
Updated version to 1.7
2015-01-21 20:58:03 +01:00
Norman Jäckel
136f57057f
Release 1.7b1
2015-01-21 20:58:03 +01:00
Norman Jäckel
8080096050
Updated CHANGELOG.
2015-01-21 20:58:03 +01:00
Norman Jäckel
fb0600809c
Merge pull request #1421 from normanjaeckel/FixChatbox
...
Fixed bug in chatbox.
2015-01-21 20:57:05 +01:00
Norman Jäckel
afc2b246db
Fixed bug in chatbox.
2015-01-21 17:24:39 +01:00