1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-27 06:45:16 +03:00
Commit Graph

769 Commits

Author SHA1 Message Date
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
Artyom
4e0169bf4d Minor 2016-04-06 01:36:55 +03:00
Artyom
1de64e1a6e Keep track of edits 2016-04-03 23:57:01 +03:00
Artyom
c408b8b08d Add a note about acid-state 2016-03-28 23:52:51 +03:00
Artyom
e4555d0da3 Write a note about show/hide 2016-03-27 02:34:29 +03:00
Artyom
ee6ba3e6d6 Don't do anything if the item itself doesn't exist 2016-03-25 00:26:10 +03:00
Artyom
3d46a83c02 Fix stupid bug (forgot to delete lines) 2016-03-25 00:25:21 +03:00
Artyom
59c8640d69 Remove character counting
It was useless really.
2016-03-24 22:20:25 +03:00
Artyom
58914a822b Add fields for deleted pros and cons 2016-03-24 21:16:14 +03:00
Artyom
b8d64fde61 Delete old ItemKind migration 2016-03-24 21:11:56 +03:00
Artyom
0b0e88044d Add a field for deleted items 2016-03-24 20:55:17 +03:00
Artyom
f3a88fd695 Add a field for deleted categories 2016-03-24 20:32:42 +03:00
Artyom
29646d580e Allow setting text editor to monospace 2016-03-24 03:02:09 +03:00
Artyom
96eea1265d Use wrapPage everywhere + sticky footer 2016-03-23 18:53:34 +03:00
Artyom
15c5cfc33c Add the bit about “hire me” to /donate 2016-03-23 18:18:08 +03:00
Artyom
99150cae13 Catch Javascript errors 2016-03-23 12:22:14 +03:00
Artyom
652e28e585 Add an admin page (no content yet) 2016-03-23 01:54:59 +03:00
Artyom
93b3398c3b Update config after reading it 2016-03-22 23:09:05 +03:00
Artyom
e8f6d26d9f Minor 2016-03-22 22:39:04 +03:00
Artyom
31cd006cf8 Fix extra border on mobile
Previously the search box was going over 100% width
2016-03-22 21:55:07 +03:00
Artyom
e48d13d2a8 Add captions to images 2016-03-22 20:20:34 +03:00
Artyom
df3c55e823 Add feed icons 2016-03-22 20:19:05 +03:00