Commit Graph

156 Commits (master)
 

Author SHA1 Message Date
Marcin Mikołajczak d635377d12 i18n: Add Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
5 years ago
Gergely Polonkai eaf71d4ce6 Add an empty profile for anonymous users
It evaluates to `None`, but at least it doesn’t raise an `AttributeError` now.
5 years ago
Gergely Polonkai 7cd2156cfc PyLint happiness (again) 5 years ago
Gergely Polonkai b9c037f914 Display the instance admin on the welcome page 5 years ago
Gergely Polonkai 029d29ffb1 Make it possible to set the instance admin 5 years ago
Gergely Polonkai 4b1fff6544 Add the AppState model
This allows setting application state during run time
5 years ago
Gergely Polonkai 490474b2d6 Create a testing configuration
From now on, testing should be done with FLASK_ENV set to testing
5 years ago
Gergely Polonkai bc67e692e0 [Refactor] Move test fixtures to conftest.py
…so they get automatically loaded
5 years ago
Gergely Polonkai 1e1e085ba4 [Bugfix] Use FLASK_ENV for the config filename instead of ENV 5 years ago
Gergely Polonkai 5996ae7079 Create a macro for profile links and use it on the welcome and profile display pages 5 years ago
Gergely Polonkai 3e5d8ee4d5 Make it possible to set one’s avatar
Only built-in avatars are supported yet.
5 years ago
Gergely Polonkai c0c38ccb52 Make it possible to use builtin avatars
Images are from openclipart.org
5 years ago
Gergely Polonkai c40e776036 Fully cover the Gregorian Calendar with tests
Being one of the cornerstones right now, it deserves a lot of tests
5 years ago
Gergely Polonkai 3deaa39256 [Test] Add test for disabled registration 5 years ago
Gergely Polonkai c20b302458 Add the alter_config context manager for testing
It can temporarily change an app configuration value.
5 years ago
Gergely Polonkai 6f186c3a3f Add coverage related files to .gitignore 5 years ago
Gergely Polonkai a97d884f42 Add pytest-cov as a developer dependency 5 years ago
Gergely Polonkai 11bd30e01f [Bugfix] Fix broken tests 5 years ago
Gergely Polonkai 4c3ec0564f [Bugfix] Fix registration
Allow POSTing to the registration endpoint
5 years ago
Gergely Polonkai f8e3c748c0 [Bugfix] Fix jumping to first steps page upon initial login
This was missing from when the first steps view got moved to the accounts blueprint.
5 years ago
Gergely Polonkai 9e7ea29f5e [Lint] Make PyLint happy again 5 years ago
Gergely Polonkai 4935e6394b [Development] Ignore the .env file
It is used by pipenv, and we definitely don’t want to accidentally commit this to the repo.
5 years ago
Gergely Polonkai 2c01939ef5 [Docs] Add docstring to User.active_sessions 5 years ago
Gergely Polonkai e45726fd7c [Refactor] Make the session list a list comprehension in account.py 5 years ago
Gergely Polonkai 26d58daac4 [Code Cleanup] Wrap a long line in accounts.py 5 years ago
Gergely Polonkai 387b7d83ac [Bugfix] Fix the environment name for dev mode
It turns out Flask only considers `development` as the development mode; `dev` (used before) is
not working.
5 years ago
Gergely Polonkai 9b27491652 [Bugfix] Import gettext in account.py 5 years ago
Gergely Polonkai 6078e6171f [Bugfix] Rework month padding and event fetching routines
Month padding (ie. adding the days of previous/next months) is now working as expected.  Fetching
multi-day events now also displays events correctly.
5 years ago
Gergely Polonkai 8eb52ff7f4 Hide time values for all-day events 5 years ago
Gergely Polonkai cb9a62cd88 Make it possible to list and invalidate active sessions 5 years ago
Gergely Polonkai 8d71edae5e Save sessions in the cache 5 years ago
Gergely Polonkai 6c98c9d7ca Add caching functionality via Flask-Caching 5 years ago
Gergely Polonkai bcb7b524f3 Move account related views to a separate blueprint 5 years ago
Gergely Polonkai 8d45611e35 Create the RoutedMixin class
It will be used both in the app, and later blueprint classes.
5 years ago
Gergely Polonkai 89dc258a5b [Bugfix] Fix the link of the “Go to your calendar” button on the about page 5 years ago
Gergely Polonkai c90b261de3 [Refactor] Refactor the about page
This makes it available to logged in users, too.
5 years ago
Gergely Polonkai 372a1f756a Update the welcome page with actual numbers 5 years ago
Gergely Polonkai 43a90a237f Document the EnumField form field type 5 years ago
Gergely Polonkai a763662cd6 Make sure the EnumField gets an Enum subclass as its parameter 5 years ago
Gergely Polonkai 41b4b9d7ea Fix the label of the EnumField field type
If there are no translations provided, use the enum name
5 years ago
Gergely Polonkai 64c72b1a68 Make PyLint happy 5 years ago
Gergely Polonkai d36817ca44 Make the time zone on the event creation form default to the user’s time zone 5 years ago
Gergely Polonkai a862e6ca5d Add the Event.visibility field
This shows if the event is visible to anyone or just people who are invited.

The calendar view already respects this flag.
5 years ago
Gergely Polonkai f2f7ef72dd Update Hungarian translations 5 years ago
Gergely Polonkai 808c6bbdde Update translatable strings
Stop using the `_()` function, and use `{% trans %}` tags instead.
5 years ago
Gergely Polonkai 496b638694 [Bugfix] Add a missing closing tag to event-details.html 5 years ago
Gergely Polonkai ff304dc64d Create the contents of the welcome page 5 years ago
Gergely Polonkai 13e55e7c68 [Cleanup] Style fix in style.css 5 years ago
Gergely Polonkai b54674c703 Semantic UI version 5 years ago
Gergely Polonkai b82cacc665 Make locked profiles display a lock icon instead of the text “locked”
This involves adding [ForkAwesome](https://forkawesome.github.io/) to the dependencies, even
though it is pulled in via a CDN.
5 years ago