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

550 Commits

Author SHA1 Message Date
Artyom
d2c816f798
[GD-2] Style the login form 2017-04-30 01:00:54 +03:00
Artyom
b1e9f16081
Add missing rollup dependency 2017-03-31 11:15:11 +02:00
Aaron Friel
4f86406a09 Add npm install to buildjs.sh, describe changing in README 2017-03-18 15:39:51 -05:00
Aaron Friel
bf0bb58ee4 Fix the previous commit (URL polyfill) 2017-03-17 15:43:48 -05:00
Aaron Friel
e56c4f22a0 Fixed urlpoly for IE11.
Module is empty _or_ has a polyfilled URL object.

Case 1: Empty if "browser's URL implementation is valid", see line 20.

Case 2: module.URL is polyfilled otherwise.
2017-03-17 15:13:30 -05:00
Aaron Friel
917273ab58 Implement client-side JS build, automatic CSRF protection. 2017-03-17 15:02:51 -05:00
Aaron Friel
e8903ebac3 Move protectForm to Guide.Views.Utils
Needed to be able to CSRF protect more forms.
2017-03-17 15:02:51 -05:00
Aaron Friel
4c10adfc87 Add AuthM and AuthAction types. 2017-03-17 15:02:51 -05:00
Aaron Friel
9bd1272cad Add user login and logout 2017-03-17 15:02:51 -05:00
Aaron Friel
66f05b2a56 Remove "| Register" from page header. 2017-03-17 15:02:51 -05:00
Aaron Friel
8c4eabc3c1 Rename signinAction to signupAction 2017-03-17 15:02:51 -05:00
Aaron Friel
7a2cfe20a4 Add two modules to exposed-modules 2017-03-17 15:02:51 -05:00
Aaron Friel
65c30a1276 Implement user sessions and type-safe admin routing 2017-03-17 15:02:51 -05:00
Aaron Friel
cdf936b57f Add session types 2017-03-17 15:02:09 -05:00
Artyom
6963e1141b
Add comments to Guide.Cache 2017-03-04 23:54:48 +01:00
Artyom
4ff43808ee
Switch to the fmt library for formatting 2017-03-04 19:57:59 +03:00
Artyom Kazak
e13a7fc832 Merge pull request #148 from aelve/footerTestFix
Fix overflow test for footer.
2017-03-04 14:48:36 +03:00
Aaron Friel
5a6d387130 Fix overflow test for footer. 2017-03-01 18:21:00 -06:00
Artyom
3acd358438
Use atomic createCheckpointAndClose because atomic = good 2017-02-25 16:39:09 +03:00
Artyom
4530cc6249
Catch Ctrl-C and SIGTERM and shutdown gracefully
Fixes #145
2017-02-19 17:30:59 +03:00
Artyom
e71ec4715a
Don't use </> for building URLs
Fixes #147
2017-02-19 15:26:38 +03:00
Artyom
9511810b3d
Merge category{ProsCons|Ecosystem|Notes}Enabled fields
Changing 'Edit' is annoying, so maybe now we'll have to do it less often
2017-02-18 13:52:23 +03:00
Artyom
d94a2ccc99
Add descriptions to all modules 2017-02-17 02:52:54 +03:00
Artyom
00f4986464
Add space before headers in Markdown 2017-02-09 16:10:02 +03:00
Artyom
f4880ce85d
Update dependencies
* patches-vector with bumped base is available on Hackage now
* stache-plus has tests that don't compile on a system
  with an old GCC, so we have to use a branch with no tests
2017-02-09 12:02:21 +03:00
Artyom
19f9d271b5
Move category status banner into category-info 2017-02-05 14:56:59 +03:00
Artyom
4511fe68dc
Get rid of Guide.View + create Guide.Views.Category 2017-02-05 14:30:30 +03:00
Artyom
66cdd69033
Remove unused dependencies 2017-02-05 14:07:23 +03:00
Artyom
8f11f49f2b
Remove 'Message' module/type since the chatapp won't be written 2017-02-05 14:01:53 +03:00
Artyom
186d650396
Split item renderers into Guide.Views.Item 2017-02-05 14:00:16 +03:00
Artyom
5947c71750
Remove warnings in Guide.Views.Auth.* 2017-02-05 13:59:27 +03:00
Artyom
e0318d5b78
Rename 'Page' lenses to avoid clashes with lenses for core types 2017-02-05 13:58:31 +03:00
Artyom
dfe8ec6fe7
Add an export list to Guide.Views.Utils 2017-02-05 13:56:59 +03:00
Artyom
f95cf6a9e5
Whitespace fixes 2017-02-05 13:56:43 +03:00
Artyom
13763155a2
[./b] Disable parallelism 2017-02-05 13:55:11 +03:00
Aaron Friel
3fa5c4a4f0 Address comments on prior commit.
* (&) exported in `Imports.hs` from `microlens` instead of `prelude`

* `Page` record has comments on constructor and fields.

* Default `content` set to empty element.

* Reorganized headTag, header, and footer into fields of `Page` record.
2017-02-02 18:33:28 -06:00
Aaron Friel
f08f6cc23c Initial commit (very prelim) with Views hierarchy, Page renderer 2017-02-02 15:46:04 -06:00
Aaron Friel
3d4f56ba63 Ignore editor files. 2017-02-02 15:34:13 -06:00
Aaron Friel
d50598ca2d Add user, message types 2017-02-01 23:55:33 -06:00
Artyom
bedc5f3b8f
Don't highlight the header (“Aelve Guide | Haskell”) as a link
It's not particularly useful since people are already used to headers being
links.
2017-02-01 02:48:07 +03:00
Artyom
7b4b3c0a9d
Add comments to View.hs 2017-02-01 01:59:08 +03:00
Artyom
80d3ca3594
Give Selenium more time to start 2017-01-31 04:15:40 +03:00
Artyom
95ead2419d
Fix ./b 2017-01-31 03:58:36 +03:00
Artyom
821f15baab
Test database loading with the same resolver 2017-01-31 03:54:23 +03:00
Artyom
5d19c77a97
Add Travis-CI notifications to Slack 2017-01-31 03:18:33 +03:00
Artyom
c04adb3239
Fix a silly bug with SafeCopy 2017-01-31 03:10:09 +03:00
Artyom
e001e2823e
Reenable testing that the official database can be loaded 2017-01-31 01:06:50 +03:00
Artyom
02bae19083
Comment out unused ToSelector 2017-01-31 00:54:38 +03:00
Artyom
26b2d80520
Get rid of a SafeCopy warning about Uid 2017-01-31 00:53:55 +03:00
Artyom
5a1defbaf0
Get rid of old 'Uid'
Nobody is going to do any migrations anyway
2017-01-31 00:49:18 +03:00