Magnus Hoff
|
d947334cfc
|
Opt out from styling-override in Safari
|
2017-10-26 11:09:15 +02:00 |
|
Magnus Hoff
|
b81137ad25
|
Prev and next-links for search result. "More"-link for instant search
|
2017-10-25 16:34:21 +02:00 |
|
Magnus Hoff
|
74b8040d39
|
Refactor CSS for search results. Add support for keyboard control to full search results page
|
2017-10-25 16:02:30 +02:00 |
|
Magnus Hoff
|
b90d7b9d1e
|
Fix triggers for keeping search index up to date
|
2017-10-25 14:19:33 +02:00 |
|
Magnus Hoff
|
332e4a8a1f
|
Fix styling
|
2017-10-25 14:19:11 +02:00 |
|
Magnus Hoff
|
0a3dc9d10f
|
Allow normal form submit with the enter key
|
2017-10-25 13:53:16 +02:00 |
|
Magnus Hoff
|
2939dfaf9c
|
Support using keyboard to follow search results
|
2017-10-25 13:49:00 +02:00 |
|
Magnus Hoff
|
056f1ddf72
|
Implement interactive search
|
2017-10-25 13:24:42 +02:00 |
|
Magnus Hoff
|
2cdbd7c7f5
|
Use content type negotiation (the Accept header) to serve different formats from the _search endpoint
|
2017-10-25 11:39:19 +02:00 |
|
Magnus Hoff
|
313fc16add
|
Put a search box in the layout
|
2017-10-25 10:58:08 +02:00 |
|
Magnus Hoff
|
9336fbf3cd
|
Expand search api
|
2017-10-24 22:16:10 +02:00 |
|
Magnus Hoff
|
59c11897b2
|
Tweak FTS query
Attempt to smartly use NEAR searches and prefix searches depending on input. This is hopefully a good idea
|
2017-10-24 21:54:27 +02:00 |
|
Magnus Hoff
|
8104430701
|
Refactor
|
2017-10-24 21:23:18 +02:00 |
|
Magnus Hoff
|
a07f47c0f7
|
Implement quoting for the FTS search syntax of SQLite
This makes search queries safe for user input
|
2017-10-24 21:21:02 +02:00 |
|
Magnus Hoff
|
5273402d4d
|
Add zero width space to allow wrapping around list markers
|
2017-10-24 20:44:25 +02:00 |
|
Magnus Hoff
|
0023b5356f
|
Remove obsolete styling of definition lists
|
2017-10-24 20:44:01 +02:00 |
|
Magnus Hoff
|
1bb1df8cf0
|
Add a first approximation of full text search. Issue #8
|
2017-10-24 16:48:16 +02:00 |
|
Magnus Hoff
|
27ba110ad6
|
Fix regression
|
2017-10-24 15:16:01 +02:00 |
|
Magnus Hoff
|
238d57409b
|
Update styling for notice
|
2017-10-24 13:00:56 +02:00 |
|
Magnus Hoff
|
628f3501a2
|
Remove pointless self-link
|
2017-10-24 12:59:37 +02:00 |
|
Magnus Hoff
|
5fc11abcfd
|
Add text to _changes explaining the query. Add links to variants of the query
|
2017-10-24 12:49:19 +02:00 |
|
Magnus Hoff
|
3fb3139d28
|
Tweak links to _changes feed
|
2017-10-24 12:27:39 +02:00 |
|
Magnus Hoff
|
de413f69bf
|
Remove accidental whitespace in sitemap
|
2017-10-24 12:26:25 +02:00 |
|
Magnus Hoff
|
d67cc668a2
|
Update links from _changes to point to historical revisions of articles.
This fixes #14.
Also: Add links to _changes filtered by author for authors in the _changes feed
|
2017-10-24 11:04:37 +02:00 |
|
Magnus Hoff
|
ffccc5722c
|
Add view of historical article revisions
|
2017-10-24 11:03:09 +02:00 |
|
Magnus Hoff
|
db0c2ef7f7
|
Finish refactoring, reducing some cloning
|
2017-10-24 09:19:01 +02:00 |
|
Magnus Hoff
|
a270963824
|
Fix handling of empty result sets in _changes
|
2017-10-23 16:13:18 +02:00 |
|
Magnus Hoff
|
f097313e53
|
Add links in footer to article and author history
|
2017-10-23 16:10:19 +02:00 |
|
Magnus Hoff
|
d7d555d4d5
|
Implement support for filtering searches by author
|
2017-10-23 15:56:27 +02:00 |
|
Magnus Hoff
|
dd22bcde98
|
Add support for filtering _changes by article_id
|
2017-10-23 15:48:41 +02:00 |
|
Magnus Hoff
|
955254335d
|
Make page size/limit for _changes configurable.
Refactor handling of query args and building of links. This paves the way for more query args
|
2017-10-23 15:32:52 +02:00 |
|
Magnus Hoff
|
0f1e1f65ed
|
Factor out pagination resolver from ChangesResource and call it ChangesLookup
|
2017-10-22 14:36:05 +02:00 |
|
Magnus Hoff
|
b3ffcb916b
|
Redirect after-pagination queries to the corresponding before-queries
This normalizes the URLs, avoiding duplicate URLs for a sublist
|
2017-10-22 13:38:13 +02:00 |
|
Magnus Hoff
|
7a63fdca0e
|
Refactor ChangesResource to handle pagination only in terms of before
|
2017-10-22 13:16:29 +02:00 |
|
Magnus Hoff
|
50b86db597
|
Internally reformulate all pagination queries as before-queries
This fixes the pagination links so they only show up when relevant
|
2017-10-22 13:07:50 +02:00 |
|
Magnus Hoff
|
6c36e3cb49
|
Add links to newest and oldest changes
|
2017-10-22 12:41:42 +02:00 |
|
Magnus Hoff
|
d918d614b4
|
Refactor pagination
|
2017-10-20 20:48:43 +02:00 |
|
Magnus Hoff
|
29c4180496
|
Make it an error to specify both before and after for pagination
|
2017-10-20 20:48:43 +02:00 |
|
Magnus Hoff
|
0ae50da9b7
|
Remove degenerate monospace fonts from font list
|
2017-10-20 20:48:43 +02:00 |
|
Magnus Hoff
|
0dacad5a3e
|
Refactor handling of pagination query arguments
|
2017-10-20 20:48:43 +02:00 |
|
Magnus Hoff
|
a42010a1f8
|
Verify that the user attempts to create a new article
|
2017-10-19 13:46:22 +02:00 |
|
Magnus Hoff
|
700cf42eb0
|
Improve footer when article does not exist
|
2017-10-19 13:39:03 +02:00 |
|
Magnus Hoff
|
904bfd2a0b
|
Restructure footer.
Less irrelevant information. Refactor rendering of "last updated"
|
2017-10-19 13:26:54 +02:00 |
|
Magnus Hoff
|
f923b5b6c0
|
Display author name in articles and _changes. This fixes #6
|
2017-10-18 16:53:27 +02:00 |
|
Magnus Hoff
|
d22ac6ef84
|
Only trust the X-Identity header when it is specified on the command line
|
2017-10-18 16:46:55 +02:00 |
|
Magnus Hoff
|
c85715c969
|
Start tracking authors for edits. #6
|
2017-10-18 16:33:21 +02:00 |
|
Magnus Hoff
|
6067ed8ddd
|
Try new monospace font list
|
2017-10-16 13:18:12 +02:00 |
|
Magnus Hoff
|
5e93a8ddaf
|
Attempt to fix monospace font size with font-size-adjust
|
2017-10-16 13:13:33 +02:00 |
|
Magnus Hoff
|
2b6932fade
|
Add rel-attributes for pagination links
|
2017-10-16 10:16:52 +02:00 |
|
Magnus Hoff
|
94b3966e46
|
Rudimentary pagination for _changes
|
2017-10-15 23:15:12 +02:00 |
|