aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-04-05forgot to load the timezonesshowGuillaume Horel
2013-12-01trying againGuillaume Horel
2013-12-01one more tryGuillaume Horel
2013-12-01try to fix the db lockGuillaume Horel
2013-11-30remove unneeded tabsGuillaume Horel
2013-09-17Update schema of the databaseGuillaume Horel
since sqlite3 doesn't have support for alter besides renaming a table we use some sed fu to fix the dump
2013-09-17New pattern to load the dbGuillaume Horel
before it was reloaded every time due to the @app.before_request now it's loaded on demand.
2012-11-14Improve French translation for timeago.jsThibaut Horel
2012-11-14Add a link to the news page in the emailThibaut Horel
2012-11-13fix dates in rss feedGuillaume Horel
2012-11-13Add the preview featureGuillaume Horel
not that well tested, so might kill your kitties.
2012-11-13s/timezone/fuseau horaire/Guillaume Horel
2012-11-13forgot to add the timeago pluginsGuillaume Horel
2012-11-13switch to the minified jqueryGuillaume Horel
2012-11-13Use le timago.js plugin to display datesGuillaume Horel
Ca a l'air de marcher, mais pose la question suivante: Pourquoi pas se débarasser du champ timezone dans la base de donnée et faire la conversion directement au niveau du javascript? L'avantage étant que l'utilisateur n'a aucun réglage à faire car le navigateur a accès à la timezone du système qui est sans la doute la première chose que l'utilisateur change.
2012-11-13Fix a unicode bug (I thought I had added this .encode() to solve another bug)Thibaut Horel
2012-11-13Send notification emails as htmlThibaut Horel
2012-11-12ajoute une page d'aideGuillaume Horel
2012-11-13Order comments in ascending order (oldest comments first). Feels more naturalThibaut Horel
2012-11-12Add function to draw kadoscopeGuillaume Horel
2012-11-12do not show kadoscope for papa et mamanGuillaume Horel
2012-11-12Make the locale encoding explicit to work even when the system's config is weirdThibaut Horel
2012-11-12Rename databaseThibaut Horel
2012-11-11Finish the timezine featureThibaut Horel
2012-11-10The time is be displayed in the user timezoneGuillaume Horel
I can't make the user edit template work The dropdown doesn't default to the current timezone.
2012-11-10Fix locales and minor encoding issueThibaut Horel
2012-11-10Add email notificationsThibaut Horel
2012-11-10Follow up to previous commit.Thibaut Horel
* Make flask db connnection also use date converters to avoid crashing when displaying dates * Update the import script to import dates from the old databse as timestamps By the way, I strongly disagree with this choice of using timestamps, for the following reasons: * why would timestamps be a better representation of times than ISO 8601? they cannot represent times before the epoch, they are more easily subject to "year 2000"-like bugs. No wonder why the vast majority of web protocols use ISO 8601 instead of timestamps. * Even MySQL internally uses ISO 8601 strings to store datetime fields * This solution requires to write unsupported sqlite code: there is no "timestamp" datatype in sqlite3, so you implicitely rely on sqlite3 casting this to a string. You also rely on the python doing implicit conversions from the database to datetime objects. The funniest part is that the way Python deals with this implicit conversion is by storing the datetime object as a "%Y-%m-%d %H:%M:%S" string in the database (which is by the way, not even standard ISO 8601:2004)! No timestamp anywhere to be seen, even though this is what is stated in schema.sql... This looks insane to me... Having explicit and standard conventions at the expense of two additional lines of code does not seems that insane in comparison to Python's insanity. python. The funniest part is that they way Python does this implicit conversion is by internally storing the
2012-11-09Stop insanity with timestampsGuillaume Horel
still need to check the function which imports the old database
2012-11-09update le readmeGuillaume Horel
2012-11-09Fix two bugsThibaut Horel
* make the shortening function backward compatible to old comments * fix a bug where the show_user function would always display the current user's profile
2012-11-09Import old database.Thibaut Horel
The database is in the file new.db. dump,sql contains a sqlite3 compliant dump. To regenerate the database from the dump: $ sqlite3 old.db < dump.sql $ python createdb.py -s schema.sql -d new.db $ python import.py old.db new.db
2012-11-09add rss fluxGuillaume Horel
2012-11-08add the javascript filesGuillaume Horel
2012-11-08add the kadoscopeGuillaume Horel
2012-11-08fix up Thibaut's brain damaged codeGuillaume Horel
2012-11-08Add todo list and an idea I had in README.md. I'm done for tonightThibaut Horel
2012-11-08Add info boxes on home page.Thibaut Horel
The choice of BeautifulSoup to shorten comments is open to discussion. It is a bit overkill.
2012-11-08Forgot to take Guillaume's remark into account in previous commitThibaut Horel
2012-11-08User feature (view and edit profile)Thibaut Horel
2012-11-08Cosmetic changesThibaut Horel
2012-11-08Add sql dump from the former website (we need to figure out how to import it)Thibaut Horel
2012-11-08Filter improvementsThibaut Horel
2012-11-07fixed up the comment systemGuillaume Horel
2012-11-07reworked the templatesGuillaume Horel
2012-11-07Saner layoutsGuillaume Horel
the login page should look fine now.
2012-11-08Keep both rst and html rendered content in the database. News edit featureThibaut Horel
2012-11-08Add date formatting filterThibaut Horel
2012-11-08Also use rst for news contentThibaut Horel
2012-11-07Add rst parsing for comments. Slightly crude for now, but I need to head out ↵Thibaut Horel
to the movies