Commit graph

921 commits

Author SHA1 Message Date
Fabien Basmaison
485b0fa0f3 Simplify rating form:
- Create a snippet to regroup similar code.
- Reduce and document tricky logic of CSS.
- Add i18n strings.
2021-04-04 15:08:42 +02:00
Mouse Reeve
74ca54d8d6 Fixes goal page book link 2021-04-03 20:55:44 -07:00
Mouse Reeve
d5643047e1 hidden checkbox should always be hidden 2021-04-03 15:49:27 -07:00
Mouse Reeve
ffb7f8f7ce Populate redraft form 2021-04-03 15:47:47 -07:00
Mouse Reeve
2a4fc8fb9a Adds model-to-form helper for statuses 2021-04-03 14:55:13 -07:00
Mouse Reeve
4cf9bca5aa Adds compose view 2021-04-03 14:32:34 -07:00
Mouse Reeve
dae31459e4 Show correct book when url param is provided 2021-04-03 13:56:41 -07:00
Mouse Reeve
029913de32 Logic for rendering a particular compose tab server-side 2021-04-03 13:12:55 -07:00
Mouse Reeve
3ffe8a2ffb Uses date input type for publication date fields 2021-04-03 12:10:21 -07:00
Mouse Reeve
3cb91098e6 Valid html solution to disabling pagination links 2021-04-03 11:54:15 -07:00
Mouse Reeve
bb9e49c8fa Show disabled placeholders in pagination 2021-04-02 09:54:32 -07:00
Mouse Reeve
86b519b844 Uses translates pages snippet for progress note on statuses 2021-04-01 20:28:08 -07:00
Mouse Reeve
fdfbf29744 i18n for "page x of y" 2021-04-01 20:22:42 -07:00
Mouse Reeve
34a32032c9 Align suggested users when there are fewer than 5 2021-04-01 20:01:09 -07:00
Mouse Reeve
15711bdae2 Fixes display of empty cell in invites table 2021-04-01 19:45:38 -07:00
Mouse Reeve
265c2f8d9d Show current shelf in move menu 2021-04-01 19:41:01 -07:00
Mouse Reeve
97192d3296 Changes orientation of move book menu on shelf page 2021-04-01 19:33:46 -07:00
Mouse Reeve
642c41353e Removes redundant link to profile from dropdown 2021-04-01 19:25:37 -07:00
Mouse Reeve
35e6c6aa03
Merge pull request #848 from mouse-reeve/invite-info
Show accepter in invite request view
2021-04-01 18:07:45 -07:00
Mouse Reeve
b9bff31562 Show accepter in invite request view 2021-04-01 18:00:39 -07:00
Mouse Reeve
62bd744b69 Sort and filter mutually respect each other 2021-04-01 17:38:53 -07:00
Mouse Reeve
ec8eb01a0f Adds missing templates 2021-04-01 14:36:18 -07:00
Mouse Reeve
b62989b5a8 Adds invite request filters 2021-04-01 14:14:17 -07:00
Mouse Reeve
8039917b89 Preserve get params on invite send 2021-04-01 13:56:24 -07:00
Mouse Reeve
b5e98e0bdf Make invite requests sort-able 2021-04-01 13:41:08 -07:00
Mouse Reeve
a952d59eb8 Fixes translation on modal close labels 2021-04-01 13:15:21 -07:00
Mouse Reeve
6541de4ba1 Keep book view columns in mobile 2021-04-01 13:02:41 -07:00
Mouse Reeve
b17caa84cd Fixes form default value in get started profile view 2021-04-01 12:54:00 -07:00
Mouse Reeve
bd0c0ff2a2 Changes the header copy 2021-04-01 12:46:38 -07:00
Mouse Reeve
f949d08034 Wording consistency and locales compiled for getting started views 2021-04-01 12:23:13 -07:00
Mouse Reeve
3b725fab63
Merge pull request #839 from mouse-reeve/onboarding
Get started flow for new users
2021-04-01 10:23:04 -07:00
Mouse Reeve
bb5aec18f1 Cleans up ui navigation 2021-04-01 09:46:18 -07:00
Mouse Reeve
776f1768d9 Updates get started users template 2021-04-01 09:30:15 -07:00
Mouse Reeve
5c10bdab7c Adds breadcrumbs 2021-04-01 09:22:43 -07:00
Mouse Reeve
ed127f4e07 Save and continue from get started books view 2021-04-01 09:13:10 -07:00
Mouse Reeve
c9fdec33c4 Display tweaks 2021-04-01 08:20:43 -07:00
Mouse Reeve
4720481219 Fixes accessibility bugs 2021-04-01 08:02:42 -07:00
Mouse Reeve
f2f700c7b8 Adds error messaging for invalid cover urls 2021-03-31 15:39:28 -07:00
Mouse Reeve
c7863ec8f0 Fixes re-shelving books from all books view 2021-03-31 15:00:49 -07:00
Mouse Reeve
13e153412e Adds profile and user get started views 2021-03-31 14:53:15 -07:00
Mouse Reeve
59c54e0591 Creates get strated layout 2021-03-31 13:59:33 -07:00
Mouse Reeve
7483cb5919 Adds getting started find books view 2021-03-31 13:56:26 -07:00
Mouse Reeve
e78982b4c7 Simplifies reading goal progress covers view 2021-03-31 11:42:57 -07:00
Mouse Reeve
1a787fd218 Soft removal of tags feature 2021-03-31 11:11:15 -07:00
Mouse Reeve
ad2b938b4c Removes edit button from all books view 2021-03-31 10:36:10 -07:00
Mouse Reeve
a670c8d366 Adds "all books" view" 2021-03-31 10:25:15 -07:00
Mouse Reeve
e81de08e7f Missed a url 2021-03-31 09:54:52 -07:00
Mouse Reeve
ab78da735f Adds books page header snippet 2021-03-31 09:50:40 -07:00
Mouse Reeve
f8ce9b0956 Backwards compatibility with "shelf" urls 2021-03-31 09:50:16 -07:00
Mouse Reeve
4a490d25a8 CHanges urls from shelves to books 2021-03-31 09:34:16 -07:00
Mouse Reeve
83e4ec00f9 Renames "shelves" in the UI to "books"
Still haven't figure out the create/edit wording tho
2021-03-31 09:22:23 -07:00
Mouse Reeve
9b949d9845 Merges display of lists to show all
Rather than separating out "your lists"
2021-03-30 10:19:51 -07:00
Mouse Reeve
047e827382 Cleans up markup on import page 2021-03-30 09:30:25 -07:00
Mouse Reeve
28f07f7729 Fixes error pages 2021-03-29 18:47:21 -07:00
Mouse Reeve
e86f160c53
Merge pull request #812 from SavinaRoja/357-tz-in-datetimes
357 Users set preferred timezone, used for readthroughs
2021-03-29 15:20:01 -07:00
Mouse Reeve
47cf1f3b22
Merge pull request #825 from mouse-reeve/misc-server-errors
Misc server errors
2021-03-29 15:09:42 -07:00
Mouse Reeve
4b445c3242 Fixes indentation on host-meta xml 2021-03-29 14:55:23 -07:00
Mouse Reeve
6bf3d9dcd8 Adds hosts-meta path 2021-03-29 14:36:24 -07:00
Mouse Reeve
4115edad6e Adds robots.txt 2021-03-29 14:12:15 -07:00
Mouse Reeve
3be420944e Fixes display of dms pagination 2021-03-29 13:51:06 -07:00
Mouse Reeve
cc00a66b90
Merge pull request #800 from SavinaRoja/716-book-multiple-shelves
716 books can be on multiple shelves, but only on one shelf for reading status
2021-03-29 12:59:49 -07:00
Mouse Reeve
1e1d07e4e1
Merge pull request #821 from mouse-reeve/shelve-buttons
Unshelve option in shelve button menu
2021-03-29 12:50:38 -07:00
Mouse Reeve
794b47d119 Unshelve option in shelve button menu 2021-03-29 12:27:12 -07:00
Mouse Reeve
04ca6de968 Paginates editions page 2021-03-29 12:13:05 -07:00
Mouse Reeve
e9f202b9e0 Paginate shelf page
Also removes some fields from the table
2021-03-29 11:48:19 -07:00
Mouse Reeve
f8a321c74d Fixes labels
Good bot
2021-03-29 11:16:34 -07:00
Mouse Reeve
9c798a4feb Filter editions 2021-03-29 11:14:34 -07:00
Mouse Reeve
769ba6466c Adds filters ui to editions page 2021-03-29 10:58:46 -07:00
Mouse Reeve
b13e8d75cd Introduces filters snippets 2021-03-29 10:39:13 -07:00
Mouse Reeve
7c9518afa6 Adds info to editions page 2021-03-29 10:21:48 -07:00
Mouse Reeve
87cf411a1a
Merge pull request #817 from mouse-reeve/invite-emails
Fixes sending invite emails
2021-03-29 09:09:19 -07:00
Mouse Reeve
f63b6fb325 Fixes sending invite emails
Corrects the email sender and avoids integrity error on saves
2021-03-29 08:33:12 -07:00
Mouse Reeve
b58ed244b0 Preserve request.GET params in pagination 2021-03-29 08:19:17 -07:00
Pablo Barton
765e6b542f adding middleware and use in readthrough template 2021-03-29 08:20:35 -04:00
Pablo Barton
224c7e4f0e consistency in style for bulma 2021-03-28 21:23:32 -04:00
Pablo Barton
b0dc5f3f93 357 Users set preferred timezone, used for readthroughs 2021-03-28 19:16:43 -04:00
Mouse Reeve
f491f03ffa Adds filtering by server on users page 2021-03-28 14:27:56 -07:00
Mouse Reeve
43fc940a07 Adds user admin view 2021-03-28 14:20:49 -07:00
Mouse Reeve
7373a7e8c4 Sort federated servers list 2021-03-28 13:36:05 -07:00
Mouse Reeve
158d2c5231 Paginates federated server list 2021-03-28 13:08:24 -07:00
Mouse Reeve
62cbfe0fac Filter reports by server 2021-03-28 13:03:24 -07:00
Mouse Reeve
96ea2b4477 Adds detail page for federated servers 2021-03-28 12:47:30 -07:00
Mouse Reeve
ecf5ee4afc margin between quote and attribution 2021-03-28 11:30:53 -07:00
Mouse Reeve
63b319e286 Space between shelve button and isbn on book page 2021-03-28 11:27:09 -07:00
Mouse Reeve
f0876b57c5 Fixes change shelf menu display on shelf page 2021-03-28 11:25:05 -07:00
Mouse Reeve
323c72002b Fixes shelve menu display on book page 2021-03-28 11:18:01 -07:00
Mouse Reeve
71f6e0d330 Show invite request count 2021-03-28 11:15:26 -07:00
Mouse Reeve
0ef33d2acb Adds shared books as a metric for recommending follows 2021-03-27 07:36:14 -07:00
Mouse Reeve
b0e1095fe6 Adds "suggested follows" panel 2021-03-26 10:32:42 -07:00
Pablo Barton
daf69d2375 716 books can be on multiple shelves, but only on one shelf for reading status 2021-03-26 08:21:42 -04:00
Mouse Reeve
6552dcefe8 Adds focus to filters toggle 2021-03-25 16:42:50 -07:00
Mouse Reeve
b94def80b0 Adds localstorage hide option for directory prompt 2021-03-25 16:32:15 -07:00
Mouse Reeve
2e0386aed8 Fixes missing label for select 2021-03-25 13:44:26 -07:00
Mouse Reeve
f9e5bdebc6 Adds clear filters link 2021-03-25 13:39:19 -07:00
Mouse Reeve
53af667698 Adds filtering 2021-03-25 13:36:35 -07:00
Mouse Reeve
e6e16f61d3 Adds filters ui 2021-03-25 10:58:00 -07:00
Mouse Reeve
cdcef6ccb3 Simplifies wording for directory opt-in 2021-03-25 10:24:22 -07:00
Mouse Reeve
7711d43380 Display tweaks to make directory card size more consistent 2021-03-25 08:43:53 -07:00
Mouse Reeve
6548291571 Adds join directory insert 2021-03-25 08:39:45 -07:00
Mouse Reeve
c1e0471d1a Don't use html in article names for mastodon 2021-03-24 10:57:17 -07:00
Mouse Reeve
4f22657dc2
Merge pull request #791 from mouse-reeve/review-pure-title
Fixes review name in pure serialization
2021-03-24 10:42:46 -07:00
Mouse Reeve
30cebc017f Updates tests to catch decimal/float/int errors in status serialization 2021-03-24 10:31:05 -07:00
Mouse Reeve
73e38f9050 Fixes formatting rating value in template 2021-03-24 10:07:39 -07:00
Mouse Reeve
1d53a06e35 Fixes decimaal formatting 2021-03-24 09:51:49 -07:00
Mouse Reeve
bde6ce8525 Fixes review name in pure serialization 2021-03-24 09:31:45 -07:00
Mouse Reeve
8d5630e059 Adds css transitions to notification and unread statuses 2021-03-23 17:52:58 -07:00
Mouse Reeve
9e9fd5c5a6 Only show feed additions on the first page 2021-03-23 12:54:49 -07:00
Mouse Reeve
2acf1355e9 Merge branch 'main' into redis-activity-stream 2021-03-23 12:53:12 -07:00
Mouse Reeve
b8cd1d5bce Show unread status reload link 2021-03-23 12:52:38 -07:00
Mouse Reeve
2fe9d1044a Moves tab title translations into templates 2021-03-22 18:42:12 -07:00
Mouse Reeve
1b9f78203e
Merge pull request #783 from mouse-reeve/book-tabs
Adds javascript for tabs on book page
2021-03-22 13:04:44 -07:00
Mouse Reeve
e513ea8b9c Adds javascript for tabs on book page 2021-03-22 12:37:01 -07:00
Mouse Reeve
5890386fba Only show reading goal insert on first page of feed 2021-03-22 08:50:41 -07:00
Mouse Reeve
6e3a203b46 Adds directory to main menu 2021-03-21 16:43:13 -07:00
Mouse Reeve
ba00672e66 Directory view 2021-03-21 16:37:52 -07:00
Mouse Reeve
3e75253ff1 Updates activitpub and tests for discoverability 2021-03-21 14:50:36 -07:00
Mouse Reeve
d8a20175b6 Adds email template layout and formatting 2021-03-21 12:06:12 -07:00
Mouse Reeve
1644c421e5 Send invites 2021-03-21 09:13:21 -07:00
Mouse Reeve
685da1f5b8 Adds email templating 2021-03-21 08:54:57 -07:00
Mouse Reeve
5297b9d796 Ignore request flow 2021-03-21 08:18:04 -07:00
Mouse Reeve
5e24b438ff Placeholders for send/ignore request flows 2021-03-20 20:16:13 -07:00
Mouse Reeve
f91a8144f4 Admin UI for managing invite requests 2021-03-20 19:39:39 -07:00
Mouse Reeve
d15396eb26 Request invite flow 2021-03-20 19:14:41 -07:00
Mouse Reeve
d3a4282f11 Show progress on status 2021-03-20 18:03:20 -07:00
Mouse Reeve
17489f002f html linter fixes 2021-03-20 17:43:51 -07:00
Mouse Reeve
dd15e87073 Merge branch 'main' into progress-update-ui 2021-03-20 17:38:22 -07:00
Mouse Reeve
daa0268eb3 Update progress with comments 2021-03-20 17:35:10 -07:00
Mouse Reeve
942c4a6664 Move progress updates into modal 2021-03-20 17:18:18 -07:00
Fabien Basmaison
b9a61162d7 Merge branch 'main' into ci 2021-03-20 15:26:51 +01:00
Mouse Reeve
90cfff67d6 Updaates locale files 2021-03-19 11:58:27 -07:00
Mouse Reeve
5f1bed3d78
Merge pull request #764 from mouse-reeve/modular-javascript
Move javascript into separate files and only include where needed
2021-03-19 11:01:20 -07:00
Mouse Reeve
5ad645c225 Move check all js into separate file 2021-03-19 10:51:45 -07:00
Mouse Reeve
443daab128 Move tabs javascript into separate file 2021-03-19 10:47:32 -07:00
Mouse Reeve
e92a506e61 Upload cover via url form edit book view 2021-03-19 10:29:34 -07:00
Mouse Reeve
9470b2831f Add cover via url 2021-03-18 10:04:33 -07:00
Mouse Reeve
ae6d8529af Moves add cover into modal 2021-03-18 09:44:59 -07:00
Mouse Reeve
4e55018e41 Moves book templates into dir 2021-03-18 09:37:16 -07:00
Mouse Reeve
1ad7d88cc8
Merge pull request #760 from mouse-reeve/reveal-cws
Remove a step when unfurling statuses with content warnings
2021-03-18 09:21:42 -07:00
Mouse Reeve
c2386bd3a1 Remove a step when unfurling statuses with content warnings 2021-03-18 09:15:47 -07:00
Mouse Reeve
77f11572f3 Remove invalid aria tag
thank you, bot
2021-03-18 09:08:19 -07:00
Mouse Reeve
91aaf704f5 Adds set reading goal display control in user settings 2021-03-18 09:05:18 -07:00
Mouse Reeve
9a20b5dbd5 Hide goal using database field instead of localstorage 2021-03-18 09:00:25 -07:00
Mouse Reeve
d50689e63f
Merge pull request #754 from mouse-reeve/ui-fixes
misc UI fixes
2021-03-16 14:20:11 -07:00
Mouse Reeve
f0711ad40e Fixes margins on lists 2021-03-16 14:13:42 -07:00
Mouse Reeve
bb1e8edc00 Shifts alignment on oclc number with line wrap 2021-03-16 14:09:21 -07:00
Mouse Reeve
64eb6e8b07 Fixes large covers overlapping on book page 2021-03-16 14:04:51 -07:00
Mouse Reeve
8e1e4572f6
Merge pull request #747 from mouse-reeve/edit-book-fields
Adds publishers to edit book form
2021-03-16 14:03:49 -07:00
Mouse Reeve
46906f7e41 Fixes whitespace jump when switching from trimmed to full 2021-03-16 14:03:25 -07:00
Mouse Reeve
6755137bad Fixes displaying publisehrs when none are set 2021-03-16 13:46:02 -07:00
Mouse Reeve
e5750de3dd Notify admins when a report is filed 2021-03-16 12:57:23 -07:00
Mouse Reeve
e6e1af9ec1
Merge pull request #745 from mouse-reeve/list-add
Add books to lists from the book page
2021-03-15 15:51:31 -07:00
Mouse Reeve
def834a0ac
Merge pull request #736 from mouse-reeve/rating-template
Render rating status from template
2021-03-15 15:42:36 -07:00
Mouse Reeve
b3951a77d9 Adds publishers to edit book form 2021-03-15 15:28:50 -07:00
Mouse Reeve
f79bb60d81 Adds ability to reset default edition based on computer ranks 2021-03-15 15:08:20 -07:00
Mouse Reeve
f0a936f15e Add books to lists from the book page 2021-03-15 14:44:03 -07:00
Mouse Reeve
6bd0f94269 Adds plural version for rating text 2021-03-15 14:09:04 -07:00
Mouse Reeve
99ba39413e Fixes upload and display of logos in admin panel 2021-03-15 10:05:08 -07:00
Mouse Reeve
aa2950daf3 Render rating status from template 2021-03-13 18:24:46 -08:00
Mouse Reeve
8e71186067 Fixes adding mutiple authors 2021-03-13 18:09:09 -08:00
Mouse Reeve
23cca85ee3 Fixes busted author path in confirmation step 2021-03-13 17:31:06 -08:00
Mouse Reeve
d802f4b85e Fixes layout showing wrong user in header on user page 2021-03-13 15:57:54 -08:00
Mouse Reeve
4d7364d045 Undo follow request view 2021-03-13 14:55:09 -08:00
Mouse Reeve
e9575cae6c Buttons for undoing follow requests 2021-03-13 14:48:15 -08:00
Mouse Reeve
05fcfbc66f Show more data about books in search 2021-03-13 13:55:20 -08:00
Mouse Reeve
611e7870e7 Show publisher on book data page 2021-03-13 12:36:53 -08:00
Mouse Reeve
b64fb3e0aa
Merge pull request #715 from mouse-reeve/reporting
Reporting
2021-03-12 16:28:15 -08:00
Mouse Reeve
1617cfaac7 Clarifies report headers in moderation panel 2021-03-12 16:20:10 -08:00
Mouse Reeve
9245b9d9ca Comments on reports 2021-03-12 15:56:54 -08:00
Mouse Reeve
8c74beb78c Allow moderators to delete reported statuses 2021-03-12 11:25:56 -08:00
Mouse Reeve
677a49fee3 Option to deactivate reported users 2021-03-12 11:13:53 -08:00
Mouse Reeve
422cd2da73 Direct message report action 2021-03-12 10:37:52 -08:00
Mouse Reeve
f220290a2b
Merge pull request #692 from mouse-reeve/create-book
Create book
2021-03-12 10:26:15 -08:00
Mouse Reeve
bedc9e0a88 Resolve and re-open reports 2021-03-12 10:22:03 -08:00
Mouse Reeve
b42c761b0b Safer author add logic 2021-03-12 09:46:28 -08:00
Mouse Reeve
4583662f51 Whitespace for so accesslint can clap at me every time I commit 2021-03-11 17:45:41 -08:00
Mouse Reeve
33b8537a3d Let user supply a note for report 2021-03-11 17:38:21 -08:00
Mouse Reeve
c1976dbd62 Add multiple authors 2021-03-11 16:33:49 -08:00
Mouse Reeve
965d84f86f Fixes creating news works 2021-03-11 15:41:12 -08:00
Mouse Reeve
7f45206693 Moves moderation templates to their own directory 2021-03-10 12:38:49 -08:00
Mouse Reeve
999bff4bba Basic reports admin templates 2021-03-09 12:35:07 -08:00
Mouse Reeve
ff624e33fa fixes display of report items on admin page 2021-03-09 10:08:02 -08:00
Mouse Reeve
21f199c548 Make reports 2021-03-08 18:36:50 -08:00
Mouse Reeve
ab57b5b906 First pass at views for reporting 2021-03-08 15:55:48 -08:00
Mouse Reeve
a29d6a5f16 Hide secondary save button in confirm mode 2021-03-08 14:11:08 -08:00
Mouse Reeve
bf255bd51d
Merge pull request #460 from mouse-reeve/review-rate
Review rate
2021-03-08 11:50:42 -08:00
erion
031235009f Fix albel for the OCLC number field. 2021-03-08 19:20:55 +01:00
Mouse Reeve
ad43e5c83a
Merge branch 'main' into review-rate 2021-03-08 09:48:25 -08:00
Mouse Reeve
a5baa1f5c6 Create new books 2021-03-08 09:28:22 -08:00
Mouse Reeve
6d9c024e0e Merge branch 'main' into create-book 2021-03-07 15:49:00 -08:00
Mouse Reeve
cb2011488c
Merge pull request #709 from mouse-reeve/fixes-support-link
Fixes support link display i18n
2021-03-07 15:48:25 -08:00
Mouse Reeve
642a2f26d7 Fixes support link display i18n 2021-03-07 15:42:49 -08:00
Mouse Reeve
7d55629823 typo fix 2021-03-07 15:20:09 -08:00
Mouse Reeve
0146cebb1a Fixes incorrect user displayed for boosts
Fixes #706
2021-03-07 15:17:51 -08:00
Mouse Reeve
79d9c493f7 Remove author flow 2021-03-07 14:19:22 -08:00
Mouse Reeve
bbd3ac7242 Removes ID field from hideen form value 2021-03-07 13:17:11 -08:00
Mouse Reeve
0bd27928e4 Removes username snippet 2021-03-07 10:24:46 -08:00
Mouse Reeve
a63471c56f
Merge pull request #704 from mouse-reeve/notification-preview
Clearer notification preview for generated notes
2021-03-07 08:59:18 -08:00
Mouse Reeve
f48a6399a4
Merge pull request #703 from mouse-reeve/list-display-fixes
List page display fixes
2021-03-07 08:53:33 -08:00
Mouse Reeve
ec92aff793 Clearer notification preview for generated notes 2021-03-07 08:50:07 -08:00
Mouse Reeve
283bfe8d6a
Merge pull request #702 from mouse-reeve/book-page-display
Book page display
2021-03-07 08:43:47 -08:00