84 Commits

Author SHA1 Message Date
Perception 6e931df98d Merge branch 'master' of ssh.gitgud.io:gameruprising/ds 2022-06-03 22:44:20 -07:00
Perception d9e9e77ac0 Replace hard-coded domains with config.domain 2022-06-03 22:23:07 -07:00
Perception f9cedcbfef Add config.json for shared constants 2022-06-03 22:22:30 -07:00
Perception 6a3426b49b Add /goto/:slug route for redirection on 4chan 2022-06-03 22:05:27 -07:00
perception a8cc190ef1 s/dailystormer.name/dailystormer.cn/ 2022-04-11 10:54:25 +00:00
perception 7eba606335 Add link to my ds comments userscript 2022-02-10 00:05:45 +00:00
perception a65b4a7d74 s/dailystormer.su/dailystormer.name/
This needs to be refactored so I only need to change it in one spot.
2022-02-03 23:18:12 +00:00
perception cec820d41d Add CORS headers 2021-08-24 01:49:39 -07:00
perception 11929904bd Add 'json' class to json link 2021-02-18 20:32:34 -08:00
perception 75aa46e2a7 Add a link to the JSON version of an article 2021-02-18 00:17:30 -08:00
perception 9a0954e162 Add robots.txt
Disallow all crawlers.
2021-02-18 00:04:52 -08:00
perception 96a46e85d6 Add route /article/:slug
Request an article by its unique slug and receive a JSON response.
2021-02-17 23:40:40 -08:00
perception 4fe26733c9 Indent subquery in getTagCloud 2021-02-17 22:51:48 -08:00
perception 681eab8108 Show articles in reverse chronological order
In practice, I found myself scrolling down to the end to see what was
new.  Going with reverse chronological order all the way through from
year to month to day just makes sense.
2021-02-17 22:23:35 -08:00
perception d706211934 Ignore static paths during start up 2021-01-27 21:26:39 -08:00
perception 84ff77c348 Display 'Untitled' if there is no title 2021-01-27 20:24:48 -08:00
perception 5454b08bc9 Add white-space: nowrap 2021-01-09 09:51:35 -08:00
perception 95624919bd Make tag background lighter on hover 2021-01-08 16:26:12 -08:00
perception 96ff857069 Fix misleading comment about return value 2021-01-08 16:19:14 -08:00
perception c6618da038 Display article.tags 2021-01-08 14:33:51 -08:00
perception 1073c96eee Add single-quote to dangerous chars 2021-01-07 15:59:56 -08:00
perception b7e924448f Reverse conditional 2021-01-07 11:22:50 -08:00
perception 151db97d21 Reorganize conditional to avoid crashes 2021-01-07 11:14:37 -08:00
perception 6354a6b7e8 Escape search query correctly and fix pagination
This closes #1.
2021-01-07 10:47:30 -08:00
perception a5b2424969 Remove TODOs that are DONE 2021-01-07 10:47:01 -08:00
perception b06d78e380 Add escape-goat and upgrade axios 2021-01-07 10:44:22 -08:00
perception 9f729926c6 Rename count to c correctly this time 2021-01-06 15:58:24 -08:00
perception ddf1a37a3b Revert "Put tag count result in .c not .count"
This reverts commit f69a34a0a2.
2021-01-06 15:44:29 -08:00
perception f69a34a0a2 Put tag count result in .c not .count 2021-01-06 15:41:47 -08:00
perception 13944dee41 Merge pull request 'Optimize tag cloud query' (#2) from seger672/dss:master into master
Reviewed-on: #2
2021-01-06 23:06:02 +00:00
seger672 1ed7e6a5f6 Optimize tag cloud query
Still does a sort that ought to be indexable, but fixing that would be considerably more work.
2021-01-06 18:20:30 +00:00
perception af14df4238 Document environment variables 2021-01-06 01:53:56 -08:00
perception a199071063 Add word 'periodically' 2021-01-06 01:49:32 -08:00
perception 45df1554b0 Drop old index too 2021-01-06 01:18:56 -08:00
perception f80a820a19 Refine info on downloading articles 2021-01-06 01:15:17 -08:00
perception 21cfc1b157 Use env var P to download less 2021-01-06 01:14:34 -08:00
perception 502e9240fe Rename package to dss 2021-01-04 20:24:20 -08:00
perception cd0d1cfceb Update README w/ more db info 2021-01-02 22:53:52 -08:00
perception 6158f9b703 Prefill search input with current query 2021-01-02 21:40:28 -08:00
perception 53cf904437 Add migration for improved index for article table 2021-01-02 21:39:33 -08:00
perception 705fe1feaa Factor out _article-link ejs partial
Preparation to make article link clickable.
2021-01-02 15:50:49 -08:00
perception fb3a078b7c Redo the README w/ installation instructions 2020-12-28 10:02:12 -08:00
perception c7efe96825 Try to prevent search queries from crashing 2020-12-28 09:44:25 -08:00
perception e86b1548fc Use article.id as a tie-breaker when sorting 2020-12-28 08:24:52 -08:00
perception bd427891df Reverse order of years 2020-12-26 19:54:44 -08:00
perception 4b3dc5ac3f Group by actual columns rather than calculated value 2020-12-26 17:00:08 -08:00
perception a064d70f7a Optimize archive queries 2020-12-26 16:44:43 -08:00
perception 8b11403e0d Add schema migration for optimizing archive queries 2020-12-26 16:44:18 -08:00
perception 5cb84a8737 Preload a static list of top tags on home page 2020-12-23 14:16:04 -08:00
perception 58ee7fe140 Make headers smaller 2020-12-23 08:39:27 -08:00