1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-23 21:02:13 +03:00
Commit Graph

374 Commits

Author SHA1 Message Date
Artyom
2187096d7b
[GD-3] Add a login/logout link 2017-05-13 01:37:48 +03:00
Artyom
763f4a0105
Fix the “guidejs is not defined” error 2017-05-12 21:51:38 +03:00
Artyom
d2c816f798
[GD-2] Style the login form 2017-04-30 01:00:54 +03: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
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
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
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
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
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
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
c04adb3239
Fix a silly bug with SafeCopy 2017-01-31 03:10:09 +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
Artyom
076feaf37f
Split handlers out of Guide.Server 2017-01-31 00:33:13 +03:00
Artyom
4ad0f0f8f9
Move 'getDetails' to Guide.Utils 2017-01-30 03:37:48 +03:00
Artyom
eb5e896e33
Add section separators to Guide.Utils 2017-01-30 03:31:48 +03:00
Artyom
08090b5075
Break Guide.Types into submodules; separate acid methods out 2017-01-30 03:22:34 +03:00
Aaron Friel
4aa3f21544 Switch h3 to strong, aesthetic change to banner 2017-01-29 16:53:50 -06:00
Aaron Friel
52fa345836 Add category status banner for WIP/stub categories 2017-01-29 16:39:05 -06:00
Artyom
ee0610b396
Add “Guide.” to all modules
Nowadays lots of libraries don't use hierarchical modules so let's avoid
clashes with them.
2017-01-27 03:18:18 +03:00
Artyom
20ae435ffc Remove unused (so far) admin-css widget 2016-08-17 23:18:53 +03:00
Artyom
c72815c436 Big switch to Mustache (only half-done)
* Render some elements of some pages with Mustache
* Switch to Stack
* Add a bit of tests
* Turn the project into a library
2016-08-17 11:18:57 +03:00
Artyom
dd4468c772 Add Derive* extensions to default extensions 2016-07-30 17:36:20 +03:00
Artyom
b8af96eb06 Get rid of “-- General” in imports 2016-07-30 17:35:00 +03:00
Artyom
752864fc30 Switch to Megaparsec 5 2016-07-27 16:31:55 +03:00
Artyom
dd6b38f742 Focus on text fields when editing 2016-07-27 15:34:29 +03:00
Artyom
2401666946 Allow Escape to cancel editing 2016-07-27 15:05:53 +03:00
Artyom
adc73b6fd2 Fix 'cached' 2016-07-25 20:12:08 +03:00
Artyom
699b07687a Get rid of MonadRandom 2016-07-25 19:47:49 +03:00