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
Artyom
72ad74a431
Use config instead of environment variables
2016-03-22 01:17:53 +03:00
Artyom
9b778967a4
Minor
2016-03-21 02:12:03 +03:00
Artyom
d8fe43b2c7
Blink when things are removed/moved
2016-03-20 16:41:32 +03:00
Artyom
406ae18116
Remove some TODOs
2016-03-20 15:44:33 +03:00
Artyom
e21e58aede
Add help to category pages
2016-03-20 14:11:42 +03:00
Artyom
8d68933137
Add another “hide help” link
2016-03-20 14:08:26 +03:00
Artyom
aa6efe9d9a
Add the “unwritten rules” page
2016-03-20 13:50:23 +03:00
Artyom
7cb7a79660
Add anchor links to items
2016-03-20 13:30:10 +03:00
Artyom
c81fa12305
Add a link to the main page on category pages
2016-03-20 03:15:55 +03:00
Artyom
eb0e13b94e
Move everything to the “/haskell” subpath
2016-03-20 02:36:16 +03:00
Artyom
59294cc321
Minor
2016-03-19 21:41:50 +03:00
Artyom
7d2f3594b6
Add feeds for items in categories
2016-03-19 21:36:21 +03:00
Artyom
f01c360b83
Move Lucid/Spock integration into another package
2016-03-19 18:29:58 +03:00
Artyom
8e294895ac
Reverse the order in the title
2016-03-19 14:34:53 +03:00
Artyom
53025ef9ad
Set a 1MB limit on requests
2016-03-19 14:34:53 +03:00
Artyom
5cff313a2e
Fix ugliness in Chrome
...
Now there's different ugliness!
Ref. #9
2016-03-19 03:55:31 +03:00
Artyom
4f823ddba7
Remove left/right padding
2016-03-19 03:20:43 +03:00