Commit Graph

24 Commits

Author SHA1 Message Date
Gergely Polonkai f41cf43f80 [Bugfix] Fix for "Move from Flask-Babel to Flask-BabelEx"
I forgot to fix this in calendar_system.gregorian…
2018-07-02 13:34:47 +02:00
Gergely Polonkai 7cb46c476b [Bugfix] Move from Flask-Babel to Flask-BabelEx
It is used internally by Flask-Security anyway, so it’s one less package to install.  Also, using
Flask-Babel causes trouble with Flask-Security…
2018-07-02 13:27:26 +02:00
Gergely Polonkai 3a1cdf8f6a [Refactor] Move app-level views into the CalendarSocialApp class 2018-07-02 10:54:02 +02:00
Gergely Polonkai 723cabbe72 [Refactor] Move the application running code from __init__ to __main__ 2018-07-02 10:47:34 +02:00
Gergely Polonkai 7846d9017d [Refactor] Rename the app module to calsocial
Just for clarity
2018-07-02 10:41:32 +02:00
Gergely Polonkai 6b3d36ff21 Add an app icon
It doesn’t cover all use cases (see [this article](https://css-tricks.com/favicon-quiz/), but it’s
a good start.
2018-07-01 07:24:44 +02:00
Gergely Polonkai 4668089901 Add event creation 2018-06-30 06:44:45 +02:00
Gergely Polonkai a25e869eca Load events for the month view 2018-06-30 06:02:46 +02:00
Gergely Polonkai bac17faed2 Create the Event model 2018-06-30 06:02:46 +02:00
Gergely Polonkai 6c4eb97c01 Create a basic month view 2018-06-30 06:02:46 +02:00
Gergely Polonkai 448ae1bce0 Make the web app select the language based on browser values
Language also can be selected using the `?l=langcode` query string.
2018-06-29 14:56:57 +02:00
Gergely Polonkai bc47310cfb Registration 2018-06-29 14:27:50 +02:00
Gergely Polonkai 57bc0b2a77 [Bugfix] Don’t display the “Logged in as” text if no one is logged in 2018-06-29 13:59:58 +02:00
Gergely Polonkai 495df6d709 Update User and Role so they have a proper __repr__ method 2018-06-29 13:25:18 +02:00
Gergely Polonkai e7f891d648 Add Flask-Babel to Pipfile 2018-06-29 13:07:44 +02:00
Gergely Polonkai b68788f65c Allow users to login 2018-06-29 10:40:55 +02:00
Gergely Polonkai e5e93c60b3 Initialise Babel on application startup 2018-06-29 10:39:57 +02:00
Gergely Polonkai 61fe581df6 Create the User and Role models 2018-06-29 10:03:53 +02:00
Gergely Polonkai 1f3cb17751 [Refactor] Split index.html to base.html and welcome.html 2018-06-29 09:08:11 +02:00
Gergely Polonkai a0d630d9bf Load configuration based on the ENV environment variable 2018-06-29 09:06:13 +02:00
Gergely Polonkai bed00e45f6 [Cleanup] Make sure to ignore Python cache 2018-06-29 09:04:24 +02:00
Gergely Polonkai a4f26ce867 Add a README file 2018-06-29 08:16:20 +02:00
Gergely Polonkai a7c83e857a Add a super-basic index HTML 2018-06-26 07:25:27 +02:00
Gergely Polonkai c2e78b638b Initial version, the caliber of "Hello World!" 2018-06-24 21:42:34 +02:00