]>
ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/log
Philipp Spitzer [Sat, 20 Feb 2021 12:55:02 +0000 (13:55 +0100)]
Add a requirements.txt file with "pip freeze > requirements.txt"
Philipp Spitzer [Sat, 20 Feb 2021 12:53:49 +0000 (13:53 +0100)]
Fix invalid escape characters.
Philipp Spitzer [Sat, 20 Feb 2021 12:53:35 +0000 (13:53 +0100)]
Use flask_sqlalchemy to manage the database connection.
Philipp Spitzer [Fri, 23 Oct 2020 20:09:43 +0000 (22:09 +0200)]
Do not require admin permissions for updating sledruns.
Philipp Spitzer [Fri, 23 Oct 2020 19:46:24 +0000 (21:46 +0200)]
Include auth files.
Philipp Spitzer [Fri, 23 Oct 2020 19:46:08 +0000 (21:46 +0200)]
Require wrpylib 0.7.0.
Philipp Spitzer [Fri, 23 Oct 2020 18:55:25 +0000 (20:55 +0200)]
Increase version to 2.2.0.
Philipp Spitzer [Tue, 29 Sep 2020 21:09:59 +0000 (23:09 +0200)]
Now only members of sysop group are admins.
Philipp Spitzer [Tue, 29 Sep 2020 21:09:53 +0000 (23:09 +0200)]
Make table user_groups available.
Philipp Spitzer [Tue, 29 Sep 2020 19:47:15 +0000 (21:47 +0200)]
Update tests to work with admin requirements.
Philipp Spitzer [Tue, 29 Sep 2020 19:46:49 +0000 (21:46 +0200)]
Allow Johndoe to be admin for now to make tests work.
Philipp Spitzer [Tue, 29 Sep 2020 19:46:05 +0000 (21:46 +0200)]
Require login and use return code 403 if admin permission not given.
Philipp Spitzer [Tue, 29 Sep 2020 19:45:16 +0000 (21:45 +0200)]
PEP8 improvements.
Philipp Spitzer [Mon, 29 Jun 2020 20:48:02 +0000 (22:48 +0200)]
Insert testdb.sql as raw SQL.
Philipp Spitzer [Mon, 29 Jun 2020 20:06:58 +0000 (22:06 +0200)]
Add table user_groups to testdb.sql.
Philipp Spitzer [Mon, 29 Jun 2020 20:01:18 +0000 (22:01 +0200)]
Directly describe in testdb.md which data to insert.
Philipp Spitzer [Mon, 29 Jun 2020 20:00:24 +0000 (22:00 +0200)]
Add table wrreportcache to testdb.sql.
Philipp Spitzer [Mon, 29 Jun 2020 19:59:11 +0000 (21:59 +0200)]
Don't delete user 0.
Philipp Spitzer [Mon, 29 Jun 2020 19:58:21 +0000 (21:58 +0200)]
Optimize order of delete from statement.
Philipp Spitzer [Mon, 29 Jun 2020 19:58:02 +0000 (21:58 +0200)]
Mention show tables command.
Philipp Spitzer [Mon, 29 Jun 2020 19:53:49 +0000 (21:53 +0200)]
Quote table names.
Philipp Spitzer [Mon, 29 Jun 2020 19:49:43 +0000 (21:49 +0200)]
Write directly into testdb.sql.
Philipp Spitzer [Sun, 28 Jun 2020 19:40:42 +0000 (21:40 +0200)]
Remove comment about "foreign key constraint fails".
Because:
* Doesn't happen anymore.
* Wouldn't help.
Philipp Spitzer [Sun, 28 Jun 2020 19:40:00 +0000 (21:40 +0200)]
Change order of tables.
Philipp Spitzer [Fri, 26 Jun 2020 16:14:56 +0000 (18:14 +0200)]
Describe how to create the test database.
Philipp Spitzer [Fri, 26 Jun 2020 16:14:43 +0000 (18:14 +0200)]
Update table structure.
Philipp Spitzer [Mon, 22 Jun 2020 21:14:16 +0000 (23:14 +0200)]
Prepare to restrict access to administrators
Philipp Spitzer [Mon, 22 Jun 2020 18:50:14 +0000 (20:50 +0200)]
Raise a ValueError in case of unkown password format.
Philipp Spitzer [Mon, 22 Jun 2020 18:48:43 +0000 (20:48 +0200)]
Make use of markdown syntax highlighting.
Philipp Spitzer [Mon, 22 Jun 2020 18:44:34 +0000 (20:44 +0200)]
Rename readme.txt to readme.md
Philipp Spitzer [Fri, 12 Jun 2020 13:13:24 +0000 (15:13 +0200)]
Remove shebang in several files.
Philipp Spitzer [Fri, 29 Nov 2019 19:27:19 +0000 (20:27 +0100)]
Whitespace cosmetics.
Philipp Spitzer [Fri, 29 Nov 2019 19:26:38 +0000 (20:26 +0100)]
Now the tests pass - MwUser class had to be modified.
Philipp Spitzer [Fri, 29 Nov 2019 14:27:28 +0000 (15:27 +0100)]
Add table user to test data.
mysqldump philipp_winterrodeln_wiki --skip-extended-insert --skip-add-locks > philipp_winterrodeln_wiki.sql
Philipp Spitzer [Thu, 17 Oct 2019 22:00:00 +0000 (00:00 +0200)]
Mention FLASK_ENV=development in readme.txt.
Philipp Spitzer [Thu, 17 Oct 2019 21:59:31 +0000 (23:59 +0200)]
Further work on tests...
Philipp Spitzer [Fri, 10 May 2019 22:17:43 +0000 (00:17 +0200)]
Start working on implementing login in tests.
Philipp Spitzer [Fri, 10 May 2019 22:17:12 +0000 (00:17 +0200)]
Add test to require authentification at Bericht view.
Philipp Spitzer [Fri, 10 May 2019 20:52:43 +0000 (22:52 +0200)]
Require login for bericht.
philipp [Fri, 25 Oct 2019 14:58:27 +0000 (14:58 +0000)]
Describe deployment in readme file.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2836
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 25 Oct 2019 14:58:26 +0000 (14:58 +0000)]
Deploy the auth sub-package as well.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2835
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 25 Oct 2019 14:58:26 +0000 (14:58 +0000)]
Implement update_wrreportcache functionality via GUI.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2834
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 25 Oct 2019 14:58:25 +0000 (14:58 +0000)]
Implement update_wrmapcache functionality from GUI.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2833
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 25 Oct 2019 14:58:23 +0000 (14:58 +0000)]
Add mysqlclient as dependency.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2832
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Tue, 14 May 2019 13:59:36 +0000 (13:59 +0000)]
Add test case with umlaut for password check.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2821
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:59 +0000 (22:14 +0000)]
Remove unused internationalization files.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2819
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:57 +0000 (22:14 +0000)]
Implement authentification but don't enforce it yet.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2818
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:56 +0000 (22:14 +0000)]
Remove obsolete tests and fix existing tests.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2817
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:54 +0000 (22:14 +0000)]
Remove unused import in setup.py.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2816
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:53 +0000 (22:14 +0000)]
Change Winterrodeln URL to https in setup.py.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2815
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:52 +0000 (22:14 +0000)]
Update function password_is_correct to work with Python 3.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2814
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:51 +0000 (22:14 +0000)]
Move password_is_correct to auth module.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2813
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:50 +0000 (22:14 +0000)]
Create a readme file.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2812
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:49 +0000 (22:14 +0000)]
Flask is a dependency now.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2811
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:48 +0000 (22:14 +0000)]
Now the failure mode when updating sledruns is tested as well.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2810
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:47 +0000 (22:14 +0000)]
Now the failure mode when updating inns is tested as well.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2809
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Fri, 10 May 2019 22:14:46 +0000 (22:14 +0000)]
Make MediaWiki table text available for ORM.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2808
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Thu, 28 Dec 2017 13:54:52 +0000 (13:54 +0000)]
Fixed: Avoid calling function to_title (that was renamed to dbkey_to_title).
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2771
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Thu, 28 Dec 2017 13:54:51 +0000 (13:54 +0000)]
Bump version string.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2770
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:28 +0000 (22:31 +0000)]
Remove Genshi dependency in setup.py.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2769
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:27 +0000 (22:31 +0000)]
Rename wradmin.genshi to wradmin.template_helper.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2768
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:26 +0000 (22:31 +0000)]
Adjust tests: Now all tests are passing.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2767
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:25 +0000 (22:31 +0000)]
Remove function render_genshi_template.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2766
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:24 +0000 (22:31 +0000)]
coordtool.html now uses jinja2.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2765
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:23 +0000 (22:31 +0000)]
Removed unused map controller/template.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2764
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:21 +0000 (22:31 +0000)]
gasthaus_view.html now uses jinja2.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2763
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:20 +0000 (22:31 +0000)]
bericht_view.html now uses jinja2.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2762
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:18 +0000 (22:31 +0000)]
rodelbahn_view.html now uses jinja2.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2761
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:17 +0000 (22:31 +0000)]
Replace single by triple quotes in docstring.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2760
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:16 +0000 (22:31 +0000)]
gasthaus_list.html now uses jinja2.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2759
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:15 +0000 (22:31 +0000)]
bericht_list.html now uses jinja2.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2758
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:13 +0000 (22:31 +0000)]
rodelbahn_list.html now uses jinja2.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2757
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:12 +0000 (22:31 +0000)]
index.html now uses jinja2 master.html.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2756
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 22:31:11 +0000 (22:31 +0000)]
Change to jinja2: index.html is now rendered with jinja2 (no styling yet).
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2755
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 27 Dec 2017 06:58:27 +0000 (06:58 +0000)]
Add package data in setup.py.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2753
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Thu, 2 Nov 2017 22:24:22 +0000 (22:24 +0000)]
Fixed: Modified report was not saved. Now all tests are passing.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2741
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Thu, 2 Nov 2017 22:24:21 +0000 (22:24 +0000)]
Add test_bericht_change_date_invalid_userdefined.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2740
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Thu, 2 Nov 2017 22:24:20 +0000 (22:24 +0000)]
Add test_bericht_change_date_invalid_twoweeks.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2739
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Thu, 2 Nov 2017 22:24:19 +0000 (22:24 +0000)]
Add test_coordtool_convert_error.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2738
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Thu, 2 Nov 2017 22:24:18 +0000 (22:24 +0000)]
Add test_coordtool_convert_ok.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2737
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 1 Nov 2017 22:07:43 +0000 (22:07 +0000)]
Follow redirects in tests that test update functions.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2734
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 1 Nov 2017 22:07:42 +0000 (22:07 +0000)]
Add table wrregioncache to test data.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2733
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 1 Nov 2017 22:07:41 +0000 (22:07 +0000)]
Add table text to test data.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2732
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 1 Nov 2017 22:07:37 +0000 (22:07 +0000)]
Add table revision to test data.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2731
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 1 Nov 2017 22:07:36 +0000 (22:07 +0000)]
Add table categorylinks to test data.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2730
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 1 Nov 2017 22:07:35 +0000 (22:07 +0000)]
Add table page to test data.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2729
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 1 Nov 2017 22:07:34 +0000 (22:07 +0000)]
Add test_rodelbahn_update_regioncache.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2728
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 1 Nov 2017 22:07:33 +0000 (22:07 +0000)]
Add test_rodelbahn_update.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2727
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Wed, 1 Nov 2017 22:07:30 +0000 (22:07 +0000)]
Add test_gasthaus_update.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2726
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Tue, 24 Oct 2017 21:17:19 +0000 (21:17 +0000)]
Add test_rodelbahn_view.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2725
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Tue, 24 Oct 2017 21:17:18 +0000 (21:17 +0000)]
Change HTML to Markup in Genshi in rodelbahn_view.html.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2724
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Tue, 24 Oct 2017 21:17:17 +0000 (21:17 +0000)]
Fix: Add missing closing bracket in rodelbahn_view.html.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2723
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Tue, 24 Oct 2017 21:17:16 +0000 (21:17 +0000)]
Add test_gasthaus_view.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2722
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Tue, 24 Oct 2017 21:17:15 +0000 (21:17 +0000)]
Add test_gasthaus_list.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2721
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Tue, 24 Oct 2017 21:17:14 +0000 (21:17 +0000)]
Add table structure some test data for wrinncache.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2720
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Mon, 23 Oct 2017 19:23:15 +0000 (19:23 +0000)]
Add test_bericht_view.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2719
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Mon, 23 Oct 2017 19:23:14 +0000 (19:23 +0000)]
Add test_rodelbahn_list.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2718
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Mon, 23 Oct 2017 19:23:13 +0000 (19:23 +0000)]
Remove explicit get_db and now calling Session.remove() at the end of requests.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2717
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Mon, 23 Oct 2017 19:23:12 +0000 (19:23 +0000)]
Rename test_reports to test_bericht_list.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2716
7aebc617-e5e2-0310-91dc-
80fb5f6d2477
philipp [Mon, 23 Oct 2017 19:23:10 +0000 (19:23 +0000)]
Using triple quotes for module docstring.
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2715
7aebc617-e5e2-0310-91dc-
80fb5f6d2477