barnold
ab80ea5671
INSTALL updates...
...
Fix the socket unit so that it remains running when the service is
stopped. Add note about robots.txt and http2 in lighttpd.
2022-10-21 07:54:24 +01:00
barnold
7a206fc4f6
gitignore local robots.txt.
2022-10-19 10:49:26 +01:00
barnold
a610da0887
Update INSTALL and fix a bug...
...
Filled out INSTALL. Told git to ignore a local favicon. Fixed layout
links to reset the page number.
2022-10-16 18:27:14 +01:00
barnold
e84ebaee7a
INSTALL wip
2022-10-16 09:39:38 +01:00
barnold
12b8f797c5
Another update for about.
2022-10-13 09:09:41 +01:00
barnold
92ddca2c0d
Tweak how much of names and titles to display in tables.
2022-10-12 19:37:20 +01:00
barnold
179be1f700
De-hardcode the book count.
2022-10-12 19:09:06 +01:00
barnold
2dcbf93505
Update README.
2022-10-12 09:30:59 +01:00
barnold
3efb12bb86
Page navigation tweaks.
2022-10-12 09:04:09 +01:00
barnold
ca6669f4c2
Another about-page edit.
2022-10-12 08:22:13 +01:00
barnold
4a8a4c1d0d
Update about-page.
2022-10-11 12:49:37 +01:00
barnold
4100f08543
Search-help link made in a more Mojo-ish way.
2022-10-11 12:10:18 +01:00
barnold
0fa5e2b22e
Conform to the db project's new name.
2022-10-10 15:36:48 +01:00
barnold
390850ec75
Conform to change of database name.
2022-10-10 12:50:11 +01:00
barnold
dde8343978
Local override for configuration...
...
Look for a local .yml file and apply it if present.
2022-10-09 14:22:40 +01:00
barnold
a7b8116ff7
Add a comment about spawn-fcgi and lighttpd.
2022-10-02 13:05:47 +01:00
barnold
dd6ea0a0ba
Improve links to be "portable"...
...
so that they still work if the app is server under a 'root' path like
'/pg-catalog/...' instead of directly under '/...'.
2022-10-02 12:49:09 +01:00
barnold
595b4be156
Reduce vertical space taken by page navigation.
2022-09-29 18:04:47 +01:00
barnold
906055e410
Show more rows by default. Smaller headings.
2022-09-29 15:11:41 +01:00
barnold
85dde076e4
Simplify navigation...
...
Put all the links at the top, unconditionally. Make the search forms
look slightly nicer.
2022-09-29 14:14:43 +01:00
barnold
76df89a970
Login, logout all gone.
2022-09-29 13:22:21 +01:00
barnold
24fbcf708b
Put the about-page under the book controller.
2022-09-29 13:18:03 +01:00
barnold
4c5626c9ef
Get tests passing again.
2022-09-29 13:10:43 +01:00
barnold
4c6d5bf321
Start getting rid of login-logout. Home page shows books.
2022-09-29 12:37:03 +01:00
barnold
501736f901
Change handling of beyond-last-page...
...
Redirect to the last page instead of to 404.
2022-09-29 11:15:40 +01:00
barnold
5cc21a2e7a
Take the rpp preference out of auth...
...
and put it in the layout. The form response now redirects back to the current
page. Catch: if on the last page and you increase rpp, it redirects beyond
the last page and therefore 404s.
2022-09-29 10:59:37 +01:00
barnold
c6687ad3f5
Expand the About page.
2022-09-28 21:12:27 +01:00
barnold
8486f59985
Make tables stripy.
2022-09-27 10:56:45 +01:00
barnold
36637c9f79
More css for tables.
2022-09-27 10:33:01 +01:00
barnold
dd701b2265
Placate an "uninitialized value" warning.
2022-09-26 16:07:31 +01:00
barnold
922273a562
Add search-help to the book page.
2022-09-26 09:19:56 +01:00
barnold
9f16a10009
Link book title to its gutenberg page.
2022-09-26 09:14:39 +01:00
barnold
646d0c4084
Add truncations to limit table widths.
2022-09-26 09:03:20 +01:00
barnold
07fdc53c95
More checks against invalid input.
2022-09-22 17:33:27 +01:00
barnold
ff61ab78a9
Add minimum book count as authors search criterion.
2022-09-22 13:27:01 +01:00
barnold
3ef9852367
Add "author like" as book search criterion.
2022-09-22 11:39:00 +01:00
barnold
e74686dd34
Delete the session on logout...
...
else the rows-per-page preference lingers on.
2022-09-20 14:20:27 +01:00
barnold
bee38a9e5c
Fix the books page's author link, same as a12aae8
.
2022-09-20 13:19:52 +01:00
barnold
92a01126a4
More parameter checking and a custom not-found page.
2022-09-20 11:33:08 +01:00
barnold
d70f5d3a6d
Add some robustness against bogus parameters.
2022-09-20 10:15:59 +01:00
barnold
a12aae81dc
Fix a bug in the authors page...
...
Each author in the table has a link to a page for that particular
author. The link didn't set the page_number and it turns out in that
case the page number is unchanged.
So if you're on page 5 of authors and follow the link for some author,
you go to /author/<id>/5 which attempts to show page 5 of that
author's books. If the author doesn't have that many books, the table
is empty. The fix is to set page_number explicitly to 1.
2022-09-19 20:20:40 +01:00
barnold
f2418a1e59
Author page shows paged list of author's books.
2022-09-19 17:57:27 +01:00
barnold
e2748bd642
Begin paged list of books on author page.
2022-09-19 17:42:28 +01:00
barnold
3c2dd9eac5
A few paging changes...
...
Pass the items name (plural) into the page nav partial.
Simplify what's shown if there's no more than one pageful of items.
2022-09-19 13:39:11 +01:00
barnold
be0b5673de
Add a little CSS and drop the static index page.
2022-09-19 12:29:08 +01:00
barnold
2ac594269d
Make rows-per-page a user preference.
2022-09-19 11:50:01 +01:00
barnold
6ea53c5657
More on rows-per-page...
...
Added helpers and updated MyModel with a view to making rows-per-page
a user preference.
2022-09-19 10:04:57 +01:00
barnold
74ae6e1745
Add a helper for formatting numbers.
2022-09-18 18:56:42 +01:00
barnold
c9c248a4b3
Various template improvements.
2022-09-18 18:22:10 +01:00
barnold
3dc4410342
Rename some things for clarity.
2022-09-18 17:31:01 +01:00