1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-22 11:33:34 +03:00
Commit Graph

665 Commits

Author SHA1 Message Date
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
Artyom
c7ae23838c
Add ./b, a build script 2017-01-31 00:46:02 +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
1fc06fbde6 Merge pull request #143 from aelve/issue60
Switch h3 to strong, aesthetic change to banner
2017-01-29 16:57:59 -06: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
97a8f9a067
Fix the test with moving items up 2017-01-27 03:00:58 +03:00
Artyom
bd800a70bc
Fix a 404 test 2017-01-27 02:51:17 +03:00
Artyom
7938770e7b
Comment out a test that can't work in Chrome 2017-01-27 02:25:36 +03:00
Artyom
9330d0a4bb
Use smarter caching
Fixes #134.

The new function 'uncache' does cache invalidation the right way – i.e. after
the database update, not before.
2017-01-24 13:03:15 +03:00
Artyom
a7e921be28
Use saveForm everywhere in tests 2017-01-24 13:00:35 +03:00
Artyom
a88f86d571
Fix the test with changing category status 2017-01-24 12:32:05 +03:00
Artyom
3b2d8b420a Merge pull request #141 from aelve/lint-fixes
Fix some lints
2017-01-24 08:39:52 +02:00
Aaron Friel
421495d43c Fix unnecesary additions of NoImplicitPrelude 2017-01-24 00:40:50 +00:00
Aaron Friel
f54658160f Fix some lints 2017-01-23 18:09:24 +00:00
Artyom
a12ce760aa
Fix test compilation (due to hspec-webdriver version bump) 2017-01-23 13:21:05 +03:00
Artyom
2772834c12
Add an 'Imports' module
Now common imports are all available from one module (which should be
reimported in all other modules). `LANGUAGE NoImplicitPrelude` is a default
extension now and so it's not needed either.
2017-01-23 13:14:23 +03:00
Artyom
1667d2162b
Factor out two small functions 2017-01-23 02:47:05 +03:00
Artyom
edf9d7382c
Remove outdated TODO 2017-01-23 02:33:42 +03:00
Artyom
30426c0fc6
Fix some warnings 2016-11-27 14:48:10 +03:00
Artyom
bd1bd4c47c
Fix a bug when only “added” was shown
“if a then b else c >> d” is parsed as
“if a then b else (c >> d)”, while in our case we want it to be
“(if a then b else c) >> d”
2016-11-27 14:39:12 +03:00
Artyom
f1d234098d
Wrap item titles nicely
Fixes #55
2016-11-26 22:23:01 +03:00
Artyom
e8a6afd7e5
Switch to GHC 8 2016-11-26 03:40:46 +03:00
Artyom
8bd2720a8a Get rid of some custom dependencies 2016-11-19 19:43:30 +03:00
Artyom
72d0b5c81f Remove an accidentally-left-in '_pause' 2016-11-15 16:14:30 +03:00
Artyom
3ae4d4702e Fix some tests 2016-11-15 15:17:53 +03:00
Artyom
3bce4c508e Download Chromedriver 2016-11-15 13:36:26 +03:00
Artyom
371c38301a Use Chrome in tests instead of Firefox
Firefox keeps breaking Selenium support
2016-11-15 12:42:47 +03:00
Artyom
27d4b6d7f6 Fix tests related to the redesign 2016-11-15 12:12:01 +03:00
Artyom
8684a4bef7 Remove 'CategoryMostlyDone' 2016-11-15 01:57:41 +03:00
Artyom
d466faf56e Redesign front page and the header
Fixes #63
2016-11-15 01:57:24 +03:00
Artyom
6d7d254d43 Remove “hire me” from /donate
I have a job now
2016-10-23 14:09:13 +03:00