Commit Graph

155 Commits

Author SHA1 Message Date
Nik V e5ae74881a remove an inadvertent booby trap 2020-11-28 18:18:48 -08:00
Nik V 72b3316291 use lru_cache to make journal date conversion less inefficient, cleanups 2020-11-27 20:15:47 -08:00
Nik V 7f93ee8173 make wikilinks for journals all render in iso format
(very inefficient implementation for now)
2020-11-27 19:59:20 -08:00
Nik V 71f0a3c4e4 make journals in roam date format be recognized by journals page 2020-11-27 19:50:42 -08:00
Nik V 6e45be9b73 protect against / in page title (common in roam exports)
roam's namespace feature recommends the use of / in page titles, but
since we are using a file-based approach here important to filter them
out lest we end up with subfolder madness
2020-11-27 18:32:56 -08:00
Nik V e7c64d374c allow AGORA_PATH to be set via env var 2020-11-27 18:24:26 -08:00
Flancian 8ee3f92b9f Serve the index also on /index for compatibility with old links. 2020-11-23 14:45:26 +01:00
Flancian 83d1fbfc48 Automatically add https:// to go links without. 2020-11-22 19:05:10 +01:00
Flancian 67902cfa8a Release 0.5.3. 2020-11-22 18:55:12 +01:00
Flancian 7aeed0c52d Implement [[agora go links integration]]. 2020-11-22 18:54:08 +01:00
Flancian d55f7dcdd9 Show subnode count in users page. 2020-11-22 16:25:28 +01:00
Flancian ddcdb8de8b Swap in 'latest' in lieu of 'subnodes', which is made less interesting
by the per-user views.
Right now it shows all subnodes in mtime order, but eventually it should
only show top N.
2020-11-17 10:49:21 +01:00
Flancian f6fad2f95e Oops, forgot to add user.html. 2020-11-16 21:30:49 +01:00
Flancian 2a7f81389e User pages now start with their README. 2020-11-16 21:29:37 +01:00
Flancian 78ef6e5a2f Special case user page. 2020-11-16 21:18:04 +01:00
Flancian 25c554fe92 Some more light fixes, plus fix the subnode "404". 2020-11-16 21:15:02 +01:00
Flancian eaf64849c8 Search too. 2020-11-16 20:46:13 +01:00
Flancian 8d10f5634e Users is also a listing. 2020-11-16 20:44:34 +01:00
Flancian 3460add012 More small layout fixes. 2020-11-16 20:43:30 +01:00
Flancian f83d748561 Some further fixes to node/subnode rendering. 2020-11-16 20:13:04 +01:00
Flancian 9ac4c34ba2 Some small fixes to backlink rendering. 2020-11-16 19:56:57 +01:00
Flancian b9ed7296f6 Move (mostly) to div-based layout, plus make color scheme less flat
(dark mode only).
2020-11-16 19:45:31 +01:00
Flancian 7719d4d9c1 Move Agora version to config.py. 2020-11-16 17:13:10 +01:00
Flancian 13bfd42914 Improve home page. 2020-11-16 17:09:57 +01:00
Flancian b660dde94f Add emojis for theme switch/help. 2020-11-16 16:59:12 +01:00
Flancian 1779c76c46 oops 2020-11-16 16:42:42 +01:00
Flancian 17e92bd5ed Remove pkg-resources==0.0.0, which seems to be a bug. 2020-11-16 16:40:51 +01:00
Flancian b68b1e4e06 Simple full text search. 2020-11-16 16:39:30 +01:00
Flancian f4632654b3 Install flask-wtf. 2020-11-16 15:57:19 +01:00
Flancian 1e8fbdcf77 Add very basic GET-based /search. 2020-11-16 15:51:34 +01:00
Flancian a74bef14fa Add util.py, a bag of holding (hack hack). 2020-11-16 15:26:03 +01:00
Flancian d21d463a4e Fix comment. 2020-11-16 15:07:44 +01:00
Flancian 563735352e Tune fuzzy matching, clean up wikilink canonicality a bit (not enough). 2020-11-16 14:49:18 +01:00
Flancian 34a08af78c Fix sorting: ignore case. 2020-11-16 13:45:17 +01:00
Flancian f0284bb8a6 Enabled fuzzy matching by default. 2020-11-16 13:43:15 +01:00
Flancian 8ffeabed8b Installed fuzzywuzzy, update requirements.txt. 2020-11-16 13:39:19 +01:00
Flancian 0722f0bca0 Dark mode is now sticky. 2020-11-15 02:24:44 +01:00
Flancian 7c19c6e72e Dark mode fixed. 2020-11-15 02:16:20 +01:00
Flancian 3fb372a2b0 Basic theme switching, only half works. 2020-11-15 02:11:15 +01:00
Flancian 9e48d5e38e Still have light theme as alternative. 2020-11-15 01:33:22 +01:00
Flancian 6d8de79fe1 Switch to dark mode by default. 2020-11-15 01:32:57 +01:00
Flancian ed0b80b7e0 Ignore tags. 2020-11-15 01:18:49 +01:00
Flancian 8b71483490 Changes to node and subnode rendering. 2020-11-14 22:00:08 +01:00
Flancian fe162d0db8 Fix bug in journal code. 2020-11-14 21:36:07 +01:00
Flancian 504325eeb4 Merge branch 'dev' into main 2020-11-14 20:16:04 +01:00
Flancian 210f6098c5 Update index. 2020-11-14 20:12:07 +01:00
Flancian f0578e95b8 All pages apparently working :) 2020-11-14 20:08:50 +01:00
Flancian c25e9b8615 @foo == /user/foo 2020-11-14 19:11:05 +01:00
Flancian 47a8fbdcdf s/run/run-dev/ 2020-11-11 20:52:36 +01:00
Flancian cbd07ecded Mention the CLA and CONTRIBUTING in README. 2020-11-10 22:51:45 +01:00