1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-24 21:35:06 +03:00
Commit Graph

490 Commits

Author SHA1 Message Date
Artyom
d8ddc2305a Don't hide TOC when notes are expanded
Fixes #31
2016-04-21 19:40:00 +03:00
Artyom
77cdb3c1ef Make headers-in-notes smaller
Fixes #33
2016-04-21 19:28:35 +03:00
Artyom
6483e2fb8e Compare case-insensitively when adding a category 2016-04-21 18:28:03 +03:00
Artyom
9c82a6dbab Add CSS for category lists 2016-04-21 18:19:38 +03:00
Artyom
62ccc5c04e Only show lists of categories
Fixes #8
2016-04-21 18:10:58 +03:00
Artyom
ba8e36574e Add search to category pages 2016-04-21 17:01:54 +03:00
Artyom
91da7809d8 Use MonadRandom instead of MonadIO in some places 2016-04-21 16:49:01 +03:00
Artyom
8f5dfe5e9a When a new group is created, add it to other items
Fixes #32
2016-04-20 23:16:05 +03:00
Artyom
ecc18fe0db Expand notes when linked directly to item 2016-04-20 21:24:04 +03:00
Artyom
d43aa8137f Expand notes when linked directly to them
See #19
2016-04-20 01:59:29 +03:00
Artyom
5efa203e21 Fix events in Firefox 2016-04-19 23:09:39 +03:00
Artyom
41230596bf Create some <textarea>s dynamically
Makes it quite a bit faster on Firefox (see #24)
2016-04-19 20:03:54 +03:00
Artyom
e0ff916eea Add an AJAX request indicator
Fixes #18
2016-04-16 23:06:59 +03:00
Artyom
1e1e8b43eb Add more colors for groups
Fixes #17
2016-04-16 21:47:38 +03:00
Artyom
63301eb330 Allow raw HTML in inline Markdown because why not 2016-04-16 02:08:31 +03:00
Artyom
43bb1f3a6f Show table of contents for notes 2016-04-16 02:02:43 +03:00
Artyom
0379f53938 [admin] Button to create a checkpoint 2016-04-16 00:06:34 +03:00
Artyom
044964bbf5 Make the search page link to the main page 2016-04-15 23:44:55 +03:00
Artyom
2882957b6a Move some TODOs on Github 2016-04-15 23:42:29 +03:00
Artyom
fc60cf6f7d Underline headers 2016-04-15 16:54:45 +03:00
Artyom
a467d49823 Add a template for category notes 2016-04-15 16:15:02 +03:00
Artyom
35b6a469f6 Undo/accept for blocks of edits 2016-04-15 14:19:36 +03:00
Artyom
22d43a59f3 Minor 2016-04-14 02:49:38 +03:00
Artyom
7925807c02 Add some styling to the admin page 2016-04-14 01:56:13 +03:00
Artyom
a025db8d9b Group edits by IP 2016-04-13 18:38:35 +03:00
Artyom
a029f06ea1 Don't duplicate trait content 2016-04-11 23:31:30 +03:00
Artyom
f0d67cbb75 Use deriveSafeCopySimple as workaround for a bug
See https://github.com/acid-state/safecopy/issues/41
2016-04-11 16:05:45 +03:00
Artyom
2e0e6dcc8b [test] List files manually 2016-04-11 13:14:34 +03:00
Artyom
252e73c8c2 Use fadeOutAndRemove 2016-04-10 23:44:55 +03:00
Artyom
8013ebbfb1 Add Show instances to all types 2016-04-09 23:34:24 +03:00
Artyom
b29b3b2c7f Migrate Uids too 2016-04-09 18:54:34 +03:00
Artyom
96182e90cd Try to fix the testing script 2016-04-09 18:48:56 +03:00
Artyom
8bf99b069b Only show 2 sets of buttons when there are notes 2016-04-09 16:54:32 +03:00
Artyom
7ad80160f8 Use safer Uids 2016-04-09 11:13:26 +03:00
Artyom
f78434f2d1 Use Markdown CSS on the admin page as well 2016-04-09 03:36:38 +03:00
Artyom
e9e79ef095 Get rid of a common “get Uid and compare” pattern 2016-04-09 03:30:04 +03:00
Artyom
e04517b374 Silly bug 2016-04-08 23:43:43 +03:00
Artyom
2aaeb4711b Throw an error when the IP couldn't be parsed 2016-04-08 23:40:09 +03:00
Artyom
f8c5f5c6b7 Parse the X-Forwarded-For request header
guide.aelve.com currently runs behind Apache (as reverse proxy), which
means that all client addresses seem to be 127.0.0.0. This fixes that.
2016-04-08 23:28:54 +03:00
Artyom
b9af03f55e Switch to the IP type from iproute
It gives us a Read instance by default!
2016-04-08 23:11:13 +03:00
Artyom
710af0ea2c Minor 2016-04-08 18:39:22 +03:00
Artyom
5c64b2f36b [Travis] Test loading the official database 2016-04-08 18:33:33 +03:00
Artyom
60bbc6d71f Allow undoing edits 2016-04-08 18:05:52 +03:00
Artyom
5e7ce95f43 Show edits better on the admin page 2016-04-07 22:14:08 +03:00
Artyom
6f3853c944 Don't use categoryByItem, it leads to errors
E.g. when you're doing something like

    let category = categoryByItem item

and then you delete the item – the “category” lens silently stops
working as well, because lenses aren't exactly pointers.
2016-04-07 18:35:04 +03:00
Artyom
358c8c769f Add error messages for *ById lenses 2016-04-07 18:07:04 +03:00
Artyom
5827fb5b1a Add category deletion 2016-04-07 18:03:48 +03:00
Artyom
1138781926 Add TH functions to make migrations less painful 2016-04-07 18:03:38 +03:00
Artyom
0d63865b7f Only delete/etc things after the request finishes 2016-04-06 02:04:22 +03:00
Artyom
025491beba Include scripts locally
This should actually be faster because then the browser wouldn't have to
additionally resolve CDNJS (and also now the site can be tested without
internet connection).
2016-04-06 01:51:50 +03:00