Commit graph

5280 commits

Author SHA1 Message Date
Vivianne Langdon
cf53134577 disable linting unused-argument 2022-03-11 21:19:20 -08:00
Vivianne Langdon
598a0587cf Fix issue with tabs on bottom of book page 2022-03-11 21:10:22 -08:00
Vivianne Langdon
f2d7bdbf27 in progress fixes for pylint 2022-03-11 20:14:45 -08:00
Vivianne Langdon
594fa5d058 Black 2022-03-11 20:00:13 -08:00
Vivianne
9fa8caba45
Merge branch 'bookwyrm-social:main' into url-names 2022-03-11 19:55:06 -08:00
Mouse Reeve
72d6a4ce52 Log info, not exception, for expected errors 2022-03-11 14:55:54 -08:00
Vivianne Langdon
5d25da93d5 revert previously changed unit tests 2022-03-11 04:25:50 -08:00
Vivianne Langdon
d9ac326c29 No more remote id with slug, just add slug in local path. 2022-03-11 04:18:52 -08:00
Mouse Reeve
e0ffcddd3c
Merge pull request #2003 from bookwyrm-social/modal-button-pattern
Consistent positioning of success buttons
2022-03-10 14:29:39 -08:00
Mouse Reeve
dbf925f176 Removes trailing whitespace 2022-03-10 10:52:39 -08:00
Mouse Reeve
9977b33a8d Group, list, and shelve form buttons 2022-03-10 10:49:33 -08:00
Mouse Reeve
d4be0ca58b Report modal 2022-03-10 10:02:18 -08:00
Mouse Reeve
20453a9977 Delete readthrough and add cover modals 2022-03-10 09:57:55 -08:00
Mouse Reeve
8b4c9483ea Udates sync modals 2022-03-10 09:49:27 -08:00
Mouse Reeve
cbcd5c7a57 Adds elided page range to editions 2022-03-10 09:49:17 -08:00
Mouse Reeve
672eee9c9c Updates add file link modal 2022-03-10 09:41:32 -08:00
Mouse Reeve
d7eb118a07 Updates readthrough modal 2022-03-10 09:35:05 -08:00
Mouse Reeve
1657f28c5e Updates verification modal button positions 2022-03-10 09:30:39 -08:00
Mouse Reeve
cc2b774fb5 Updates wording on content warning field 2022-03-10 09:16:50 -08:00
Mouse Reeve
bcd83ee802 Fixes list notes icon 2022-03-10 09:16:44 -08:00
Mouse Reeve
a922b8fd04 Uses details to show/hide content warning field 2022-03-10 09:03:24 -08:00
Mouse Reeve
e2476d1ad3 Move content warning toggle out of post options block 2022-03-10 08:38:06 -08:00
Orage Pika
0c429ee6d7 bw-dev blacked 2022-03-09 16:04:58 +01:00
Levi Bard
0c0d0b6299 Allow book subjects to be edited 2022-03-09 10:33:59 +01:00
corentin-feys
bb7d080f65 Replaced tabs with spaces 2022-03-07 21:20:42 +01:00
corentin-feys
35f115bc0a removed unneeded code for invite question 2022-03-07 19:42:57 +01:00
corentin-feys
e1e03ebd22 removed unneded migrations 2022-03-07 19:41:24 +01:00
Orage Pika
5fbb5c655b custom questions 2022-03-07 18:49:59 +01:00
Mouse Reeve
34a4c18397
Merge branch 'main' into partially-read-shelf 2022-03-05 19:23:35 -08:00
Mouse Reeve
f26106fffd Python formatting 2022-03-04 12:42:43 -08:00
Mouse Reeve
b0c0af9617 Adds custom compile management command 2022-03-04 12:40:06 -08:00
Vivianne Langdon
8838875879 Fix failure to 404 2022-03-02 04:07:13 -08:00
Vivianne Langdon
81594892ef Fix test for unit test requests 2022-03-02 03:42:29 -08:00
Vivianne Langdon
05f11e68c5 Hopefully knocking out many of the unit test fails 2022-03-02 03:11:02 -08:00
Vivianne Langdon
440e2f8806 black 2022-03-02 01:47:08 -08:00
Vivianne Langdon
2b483488aa Remove slugs from shelf as their id has text in it already 2022-03-02 01:37:58 -08:00
Vivianne Langdon
846963ad18 Fix accidental change to post 2022-03-02 01:16:30 -08:00
Vivianne Langdon
d8181d6d66 Redirect to correct url with slug 2022-03-02 01:12:32 -08:00
Vivianne Langdon
ebf463fc91 Generation of slugs and new urls to handle slugs
- TODO: redirect to correct slug if not found.
2022-03-02 00:21:23 -08:00
Vivianne
3ee3e9a13c
Merge branch 'main' into code-scanning 2022-03-01 18:33:40 -08:00
Mouse Reeve
a99d482167 Temporary fix 2022-03-01 14:38:50 -08:00
Mouse Reeve
f7c6c70c5e Ticks version 2022-03-01 12:15:56 -08:00
Mouse Reeve
12ad88ac29
Merge pull request #1975 from bookwyrm-social/themes
Themes
2022-03-01 12:03:22 -08:00
Mouse Reeve
07daa24a72 Merge branch 'main' into themes 2022-03-01 11:46:02 -08:00
Mouse Reeve
89c8aa83f4 Tweaks preferences wording 2022-03-01 11:44:39 -08:00
Mouse Reeve
38535f811c Python formatting 2022-03-01 11:39:08 -08:00
Mouse Reeve
41ea7db8b6 Removes hardcoded white in announcements 2022-03-01 11:06:15 -08:00
Mouse Reeve
55f1ce12cf Second attempt at fixing tests using context processors 2022-03-01 11:05:47 -08:00
Mouse Reeve
4cdbdd8d0b
Merge pull request #1977 from viviicat/dark-theme
Dark theme
2022-03-01 11:00:05 -08:00
Mouse Reeve
9422a07414 Safer query for request user for tests 2022-03-01 10:36:19 -08:00
Mouse Reeve
5d7e6b872a Fixes localizing query for superlatives 2022-03-01 10:34:17 -08:00
Mouse Reeve
d1d743281a Cleans up display of superlatives on about page 2022-03-01 10:28:51 -08:00
Mouse Reeve
c7c90f9e9b Removes test print statement 2022-03-01 10:09:53 -08:00
Mouse Reeve
f4dc07b6b9 Select theme in context processors 2022-03-01 09:53:02 -08:00
Vivianne Langdon
8e9bacc527 Fix red for <code> being too harsh 2022-02-28 23:31:57 -08:00
Vivianne Langdon
b4222bead4 Remove uuid for status reply panel
- The focus target did not include this uuid, so was throwing `Uncaught TypeError: node is null` when clicking on Reply button.
- I wasn't able to figure out how to share the uuid between blocks but it doesn't seem like the uuid is really needed -- the same block has other ids that do not have the uuid in them.
2022-02-28 23:01:33 -08:00
Vivianne Langdon
c0fed31fb0 eslint 2022-02-28 21:28:33 -08:00
Vivianne Langdon
62b4133e58 Move quagga to vendor. 2022-02-28 21:22:49 -08:00
Vivianne
8c92869fc0
Merge branch 'main' into code-scanning 2022-02-28 21:17:32 -08:00
Mouse Reeve
2c8fa5cd9b
Merge branch 'themes' into dark-theme 2022-02-28 13:32:37 -08:00
Mouse Reeve
a6883b5b87 Adds merge migration 2022-02-28 13:30:02 -08:00
Mouse Reeve
043fd54d70
Merge branch 'main' into themes 2022-02-28 13:27:05 -08:00
Mouse Reeve
e1ea847441
Merge pull request #1986 from bookwyrm-social/instance-refresh
Instance refresh
2022-02-28 13:26:22 -08:00
Mouse Reeve
81cfcff939 Reload instance data 2022-02-28 13:11:01 -08:00
Mouse Reeve
c91b08303b More breadcrumbs 2022-02-28 12:31:28 -08:00
Mouse Reeve
f4aa202292 Adds counts of blocked and federated instances 2022-02-28 12:27:54 -08:00
Mouse Reeve
991461221d Adds breadcrumbs instead of "back" link 2022-02-28 12:24:45 -08:00
Mouse Reeve
00d0d9d5de Avoid whitespace when adding instance 2022-02-28 12:20:04 -08:00
Mouse Reeve
3dbbe0089c Show if user follows you 2022-02-28 12:07:06 -08:00
Mouse Reeve
ec93d1812a Block access to follow views 2022-02-28 12:04:47 -08:00
Thomas Versteeg
1e3f9246d6 Produce a proper status 2022-02-28 20:56:59 +01:00
Mouse Reeve
5837c37a32 Hide followers info slug 2022-02-28 11:55:54 -08:00
Mouse Reeve
e90cb52f23 Add option to hide follows 2022-02-28 11:48:49 -08:00
Thomas Versteeg
539775f370 Merge remote-tracking branch 'upstream/main' into partially-read-shelf 2022-02-28 20:44:55 +01:00
Mouse Reeve
6c17aa7630
Merge pull request #1983 from bookwyrm-social/shelf-name-translation
Shelf name translation
2022-02-28 11:28:53 -08:00
Mouse Reeve
5cdcac0682
Merge pull request #1981 from bookwyrm-social/list-duplicate-books
Show meaningful message when you try to add a duplicate book to a list
2022-02-28 11:21:18 -08:00
Mouse Reeve
7d6032e110 Fixes calls to filter 2022-02-28 11:18:03 -08:00
Mouse Reeve
ffb4098cfb Fixes translation of "remove from shelf" string 2022-02-28 11:07:12 -08:00
Mouse Reeve
0f5fd6be15 Move translations to filter 2022-02-28 11:05:12 -08:00
Mouse Reeve
374dd24fa8 Remove reviews from deleted users 2022-02-28 10:47:08 -08:00
Mouse Reeve
142cc5437a Move sorting to separate function 2022-02-28 10:41:40 -08:00
Mouse Reeve
99fc3aaf25 Avoid showing success and failure 2022-02-28 10:31:58 -08:00
Mouse Reeve
b2b3ba653e Refactors how success/failure messages how on list page 2022-02-28 10:29:58 -08:00
Mouse Reeve
202696f913 Don't show lists a book is already on in add form 2022-02-28 10:03:24 -08:00
Mouse Reeve
c82042f506 Delete themes 2022-02-28 09:55:23 -08:00
Mouse Reeve
106ef2e3a4 Fixes reference to theme in layout 2022-02-28 09:46:05 -08:00
Mouse Reeve
295d9c42d7 Adds theme to user settings form 2022-02-28 09:45:34 -08:00
Mouse Reeve
a00ee8a706 Adds link to set instance-wide theme 2022-02-28 09:43:31 -08:00
Mouse Reeve
2d516812b4 Fixes icons by moving import to theme 2022-02-28 09:34:54 -08:00
Mouse Reeve
4d3e709b2a
Update layout.html 2022-02-28 09:23:03 -08:00
Mouse Reeve
3283302093
Merge branch 'themes' into dark-theme 2022-02-27 20:21:17 -08:00
Vivianne Langdon
3a9ff2c2ea Refer to canvas by type
- Fixes stylelint without adding an exclusion
2022-02-27 14:08:11 -08:00
Vivianne Langdon
c0380cca5a stylelint 2022-02-27 14:04:30 -08:00
Vivianne Langdon
fbe7e860e8 Prettier 2022-02-27 14:01:25 -08:00
Mouse Reeve
8259d16ee9 Check available themes in form 2022-02-27 11:20:11 -08:00
Mouse Reeve
005b69177c
Merge branch 'themes' into dark-theme 2022-02-27 10:54:15 -08:00
Mouse Reeve
c8d3222c33
Rename dark.scss to bookwyrm-dark.scss 2022-02-27 10:52:07 -08:00
Mouse Reeve
fd0f739418
Rename light.scss to bookwyrm-light.scss 2022-02-27 10:51:49 -08:00
Mouse Reeve
8850b68b52 Show theme options 2022-02-27 10:48:33 -08:00
Mouse Reeve
cc015536fa Adds theme instructions 2022-02-27 10:12:47 -08:00
Mouse Reeve
3dfbb3272e Theme selector 2022-02-27 10:00:50 -08:00
Mouse Reeve
6e96c1eee7 Avoid linter error 2022-02-27 08:09:17 -08:00
Vivianne Langdon
e4d7dd7ee4 Fix progress bar 2022-02-27 05:29:33 -08:00
Vivianne Langdon
40319302b7 Initial theme 2022-02-27 05:20:29 -08:00
Vivianne Langdon
789626a9da Stray line 2022-02-27 00:39:45 -08:00
Vivianne Langdon
f5c66b5b4a Adjust layout more
Ensure camera select box is never hidden.
2022-02-27 00:33:54 -08:00
Vivianne Langdon
43f62ef5d7 d'oh, fix event leak 2022-02-27 00:18:38 -08:00
Vivianne Langdon
9f67a74340 Show grant access dialog every time we initialize 2022-02-27 00:04:25 -08:00
Vivianne Langdon
e71a5e3bdf Add barcode icon and use other icons
Minor formatting and messaging tweaks
2022-02-27 00:00:22 -08:00
Vivianne Langdon
f4d5b7b4d2 Adjusted message 2022-02-26 23:28:52 -08:00
Vivianne Langdon
9b0874f889 Fix barcode button 2022-02-26 23:28:13 -08:00
Vivianne Langdon
cdddf73e29 Improve layout for some camera types 2022-02-26 23:22:44 -08:00
Vivianne Langdon
464050deaa Implement switching cameras
Also, use session storage to remember last selected camera deviceId, if any
2022-02-26 21:32:01 -08:00
Vivianne Langdon
fee6ffcbd8 Fix formatting in chrome
Was using experimental selector, forget about it.
Also reduce jumping around of video size
2022-02-26 21:29:18 -08:00
Vivianne Langdon
8d0e549480 Improve visuals and quality of scanning 2022-02-26 20:19:26 -08:00
Vivianne Langdon
649ffe571a Fix typos with searching 2022-02-26 18:29:38 -08:00
Vivianne Langdon
fcc8b6aaab Move to sass 2022-02-26 18:19:12 -08:00
Vivianne Langdon
340b306d2e Fix path 2022-02-26 18:08:07 -08:00
Vivianne Langdon
48c8166e58 Merge branch 'main' into code-scanning 2022-02-26 17:54:33 -08:00
Mouse Reeve
43269429ac Use selected theme 2022-02-26 13:40:06 -08:00
Mouse Reeve
e15193e100 Adds themes 2022-02-26 12:44:20 -08:00
Mouse Reeve
6b5bebdf78 Cleans up scheduler form 2022-02-26 10:45:43 -08:00
Mouse Reeve
0870eccad9 Adds unscheduler 2022-02-26 10:24:23 -08:00
Mouse Reeve
2a436800c4 Schedules automod task 2022-02-26 10:14:47 -08:00
Mouse Reeve
95e9119817 Adds django celery beat 2022-02-26 08:44:19 -08:00
Mouse Reeve
a5571c65bc
Update 0134_alter_stopped_reading.py 2022-02-25 18:25:41 -08:00
Mouse Reeve
b511928400
Create 0134_alter_stopped_reading.py 2022-02-25 18:08:30 -08:00
Mouse Reeve
eea7d9d4e5 Retain author across saves 2022-02-25 17:57:18 -08:00
Mouse Reeve
29a6d74ff2 Python formatting 2022-02-25 17:23:13 -08:00
Mouse Reeve
b001c31f97 Save author along with added edition 2022-02-25 16:54:03 -08:00
Mouse Reeve
c67f92af46 Add editions view 2022-02-25 16:40:34 -08:00
Mouse Reeve
1d99e455e8 Adds link to add edition to editions page 2022-02-25 16:40:21 -08:00
Thomas Versteeg
8deee2220e Fix stopped reading status model in non-javascript environment 2022-02-25 22:39:42 +01:00
Thomas Versteeg
5eb113af6b Create merge migration 2022-02-25 22:03:49 +01:00
Thomas Versteeg
e9dfa42e11
Merge branch 'main' into partially-read-shelf 2022-02-25 21:00:29 +00:00
Mouse Reeve
02808f88e6 eslint fixes 2022-02-25 13:00:23 -08:00
Mouse Reeve
65bd3945e7 Prettify tabs file 2022-02-25 12:52:35 -08:00
Mouse Reeve
cec7625e1e Moves tabs script to main scripts directory
It's our own custom script at this point
2022-02-25 12:47:46 -08:00
Mouse Reeve
5d4efd457a Removes scrollIntoView script behavior for tabs 2022-02-25 12:39:44 -08:00
Mouse Reeve
8ca2b55e7e Sort author books by rating 2022-02-25 12:04:21 -08:00
Mouse Reeve
6d1d62cf2f View for starting to edit a book with existing data 2022-02-25 11:50:25 -08:00
Mouse Reeve
689be8c94b Only scan local data 2022-02-24 17:42:28 -08:00
Mouse Reeve
84ef214ca1 Valid template markup 2022-02-24 17:36:49 -08:00
Mouse Reeve
eb8b9fdaed Fixes bugs in model task 2022-02-24 17:33:22 -08:00
Mouse Reeve
1aa6b99d1f Adds tests 2022-02-24 17:33:05 -08:00
Mouse Reeve
f446828175 Fixes template typo 2022-02-24 14:39:09 -08:00
Mouse Reeve
84b9a19339 Expands scanned fields 2022-02-24 13:29:17 -08:00
Mouse Reeve
93f82fbf18 Adds notifications 2022-02-24 13:20:18 -08:00
Mouse Reeve
ad41f19dc5 Updates report model 2022-02-24 13:00:41 -08:00
Mouse Reeve
3ce8b3390e Adds task 2022-02-24 12:16:18 -08:00
Mouse Reeve
e837da37db Adds task 2022-02-24 12:15:08 -08:00
Mouse Reeve
12f67dc0ce Adds automod view 2022-02-24 11:18:43 -08:00
Mouse Reeve
c8b4d5ecf1 Adds model for creating automated moderation flags 2022-02-24 09:58:37 -08:00
Mouse Reeve
2457315ed8 Adds missing tag 2022-02-21 08:44:04 -08:00
Mouse Reeve
70601612f8
Removes unused dependency (#1965) 2022-02-20 18:42:14 -08:00
Mouse Reeve
4672294d7c
Cache fix (#1961) 2022-02-19 16:34:48 -08:00
Mouse Reeve
c77e5a1a90
Split css (#1959)
Divides the css into sub-files and normalizes how colors are defined.

Co-authored-by: Joachim <joachim.robert@protonmail.com>
2022-02-19 16:34:17 -08:00
Mouse Reeve
6daaffeaa7
Compiles css framework from sass (#1956)
* Compiles css framework from sass

* Adds watch commands

* Copies existing css to sass file

* Moves sass out of static path

* Removes global linter

I wasn't sure how to customize this, and it's not providing a lot of
additional value on top of the domain-specific linters

* Reverts invalid change to dockerfile

* Changes stylelint path

* Remove unused bulma files

* Properly minifies generated css

* Fixes regression in thread display

* rgba function only works with percents for whatever reason

* Hush stylelint

* Removes trailing zeros

* Compile sass in Django

Co-authored-by: Joachim <joachim.robert@protonmail.com>

* Python formatting

* Updates linter

* Updates commands

* Adds css-config file

Co-authored-by: Joachim <joachim.robert@protonmail.com>

* Stylelint fix

* Removes unused compiled bulma files

Co-authored-by: Joachim <joachim.robert@protonmail.com>
2022-02-19 15:29:47 -08:00
Mouse Reeve
57fd675857 Ticks javscript cache buster 2022-02-19 07:52:05 -08:00
Mouse Reeve
98736925f7 Fixes cache translation 2022-02-17 18:59:35 -08:00
Mouse Reeve
edf3b61602 Show error or success states 2022-02-17 18:00:19 -08:00
Mouse Reeve
1aac665094 Fixes settings form 2022-02-17 17:50:57 -08:00
Mouse Reeve
1b63c19a9c Fixes error in previous PR 2022-02-17 17:10:12 -08:00
Mouse Reeve
5d098b3c10 Removes duplicate selector 2022-02-17 17:01:21 -08:00
Mouse Reeve
31a61713d9 Runs stylelint fix 2022-02-17 16:53:53 -08:00
Mouse Reeve
d510299ae4 Reverts change to shelve button dropdown 2022-02-17 16:51:54 -08:00
Mouse Reeve
561eaeaf54
Merge pull request #1935 from joachimesque/accessibility/fixes
[Accessibility] Fixes
2022-02-17 16:50:32 -08:00
Mouse Reeve
98cad7c51a
Merge pull request #1950 from bookwyrm-social/release-notice
Adds notice to admin about available updates
2022-02-17 16:37:22 -08:00
Mouse Reeve
3869f0cc1a Python formatting 2022-02-17 16:28:55 -08:00
Mouse Reeve
9132c054f2 Adds notice to admin about available updates 2022-02-17 16:23:15 -08:00
Mouse Reeve
92f3357977 Anchor link to dev chat 2022-02-17 15:53:58 -08:00
Mouse Reeve
31d362d715 Adds setup views tests 2022-02-17 14:55:48 -08:00
Mouse Reeve
3b0fc9785e Removes unused file 2022-02-17 13:31:38 -08:00
Mouse Reeve
08e378a539 Fixes register tests 2022-02-17 13:27:44 -08:00
Mouse Reeve
be479fe4cb Adds warnings about misconfigurations 2022-02-17 13:22:33 -08:00
Mouse Reeve
f6e2ec02aa Adds overview page to setup 2022-02-17 13:02:07 -08:00
Mouse Reeve
bf75dff338 Contextualize admin code command output 2022-02-17 11:53:29 -08:00
Mouse Reeve
637f7c9cb9 Initialize site settings in install mode 2022-02-17 11:51:48 -08:00
Mouse Reeve
63558bb75e Python formatting 2022-02-17 11:31:52 -08:00
Mouse Reeve
2883c42534 Disable registration by default 2022-02-17 11:27:05 -08:00
Mouse Reeve
23d0d3e2b7 Register admin user 2022-02-17 11:25:11 -08:00
Mouse Reeve
ed536e6b41 Adds command to get admin code 2022-02-17 10:59:28 -08:00
Mouse Reeve
b4e0749f73 Disallow registration in install mode and adds redirects 2022-02-17 10:52:12 -08:00
Mouse Reeve
8e3c39d319 Adds admin key field to admin user setup form 2022-02-17 10:39:08 -08:00
Mouse Reeve
4eb4efee9d Create admin account markup 2022-02-17 10:22:44 -08:00
Mouse Reeve
c31ec7dbd5 Adds setup view 2022-02-17 10:03:02 -08:00
Mouse Reeve
e9397eaedd Adds setup templates 2022-02-17 10:02:27 -08:00
Mouse Reeve
1a8f4a916e
Merge pull request #1891 from bookwyrm-social/openlibrary-author-fields
Openlibrary author fields
2022-02-17 09:00:04 -08:00
Mouse Reeve
c04d2d285b Python formatting 2022-02-17 08:42:12 -08:00
Thomas Versteeg
d67dac4519
Merge branch 'main' into partially-read-shelf 2022-02-17 16:34:10 +00:00
Mouse Reeve
a2c4dd4f9f Updates migration and database fields 2022-02-17 08:25:01 -08:00
Mouse Reeve
39691bed3a Merge branch 'main' into openlibrary-author-fields 2022-02-16 18:06:04 -08:00
Mouse Reeve
d593a3a503 Sets default USE_HTTPS value based on debug 2022-02-15 13:15:04 -08:00
Mouse Reeve
a07239c6a9
Merge pull request #1933 from bookwyrm-social/announcements
Cleans up code for announcements
2022-02-15 10:40:56 -08:00
Mouse Reeve
6fa29a6293 Fixes tests 2022-02-15 10:32:04 -08:00
Vivianne Langdon
82cb170a91 Switch version of quagga to new fork quagga2 2022-02-15 02:39:16 -08:00
Vivianne Langdon
1e04385f0c Worked more on visuals of modal
Need to finish camera selection mode.
2022-02-15 02:38:57 -08:00
Thomas Versteeg
d63e5ab2d2 Fix tests 2022-02-14 18:12:08 +01:00
Willi Hohenstein
03ff8c248d Added input control and better char replacement 2022-02-14 17:38:45 +01:00
Vivianne Langdon
5ae4eb9b8f Super messy initial working version. To clean up. 2022-02-14 02:56:05 -08:00
Willi Hohenstein
0b02287378 add docstring 2022-02-13 20:49:44 +01:00
Willi Hohenstein
526a1c6ef4 removed unnecessary code 2022-02-13 20:31:06 +01:00
Willi Hohenstein
54eeeb5798 fix style to pass tests 2022-02-13 20:30:11 +01:00
Willi Hohenstein
3c05cecb50 function moved 2022-02-13 19:07:25 +01:00
Willi Hohenstein
a4b08d7213 add test with valid isbn10 2022-02-13 17:10:32 +01:00
Willi Hohenstein
5801ef011f add isbn check 2022-02-13 09:35:15 +01:00
Willi Hohenstein
27c26b4d16 add test for dashed ISBN 2022-02-13 09:34:28 +01:00
Mouse Reeve
1a2c85a327
Merge pull request #1938 from willhoh/main
Change cover class
2022-02-12 11:03:32 -08:00
Mouse Reeve
5df8bf03e6 Fixes black versioning error 2022-02-12 11:00:24 -08:00
Mouse Reeve
7fdf07c6ec Updates tests 2022-02-12 10:56:55 -08:00
Thomas Versteeg
c88b34814f Rename 'Partially Read' to 'Stopped Reading' 2022-02-12 19:49:54 +01:00
Willi Hohenstein
164e0686b9 add class for correct display 2022-02-12 19:35:44 +01:00
Mouse Reeve
9827cef9a9 Python formatting 2022-02-12 10:34:16 -08:00
Mouse Reeve
1761db5444
Merge pull request #1920 from bookwyrm-social/branch-convergence
Moves towards single branch setup
2022-02-12 10:31:55 -08:00
Mouse Reeve
a2d9bf50c5 Fixes display name of list contributor comments 2022-02-12 10:18:14 -08:00
Mouse Reeve
d49e9b4dcd Updates packages 2022-02-12 09:41:18 -08:00
Willi Hohenstein
67ea18c840 Changed cover class for proper image size in mobile 2022-02-12 17:58:36 +01:00
Joachim
c33cf60624 aria-hidden elements do not contain focusable elements
https://dequeuniversity.com/rules/axe/4.3/aria-hidden-focus
2022-02-12 16:33:16 +01:00
Joachim
7877524116 ARIA button, link, and menuitem must have an accessible name
https://dequeuniversity.com/rules/axe/4.3/aria-command-name

In this case, the menuitem wasn't displayed (because the div was hidden). I prefer not to include the menuitem in that situation.
2022-02-12 16:25:40 +01:00
Joachim
f742cc023b ARIA attributes must conform to valid values
https://dequeuniversity.com/rules/axe/4.3/aria-valid-attr-value
2022-02-12 16:18:56 +01:00
Joachim
b27b6a5980 Certain ARIA roles must contain particular children
https://dequeuniversity.com/rules/axe/4.3/aria-required-children

In order to make this work, I had to translate Bulma's style so it doesn't use `ul` and `li` anymore.

The JS code had to be adapted, I also changed `button` to `tab` (seemed like a more relevant name) and added a `scrollIntoView()` on load the active tab is always visible.
2022-02-12 16:14:35 +01:00
Joachim
bbb89605a5 Page must have one main landmark
https://dequeuniversity.com/rules/axe/4.3/landmark-one-main
2022-02-12 16:10:40 +01:00
Thomas Versteeg
bc89dd7041 Change shelf Finished label
When the shelf is read the label is 'Finished', otherwise it's 'Until'.
2022-02-12 11:19:00 +01:00
Mouse Reeve
89de03bffe Adds breadcrumbs 2022-02-11 14:58:40 -05:00
Mouse Reeve
b95f0ed287 Use color in announcement 2022-02-11 14:43:37 -05:00
Mouse Reeve
01b52f023a Adds edit announcement view 2022-02-11 14:42:47 -05:00
Mouse Reeve
cfa91e2570 Adds color options to announcements 2022-02-11 14:00:01 -05:00
Mouse Reeve
ee23aba994 Use details and summary for announcement panel 2022-02-11 13:50:55 -05:00
Mouse Reeve
62741a5d2e Allow html in announcement header 2022-02-11 13:36:08 -05:00
Mouse Reeve
059fd84d06 Adds delete button to announcements list view
It's handy to have it there
2022-02-11 13:33:42 -05:00
Thomas Versteeg
2b27889457 Add 'Partially Read' shelf 2022-02-11 14:33:46 +01:00
Mouse Reeve
c06817e9ff Python formatting 2022-02-09 12:23:01 -05:00
Mouse Reeve
6323b0e700 Use correct model type for federated links 2022-02-09 12:20:11 -05:00
Mouse Reeve
73b611d68d Tick version number 2022-02-04 20:12:26 -08:00
Mouse Reeve
a73960a0da Python formatting 2022-02-04 19:44:03 -08:00
Mouse Reeve
49ceb2a978 Fixes warning in author view tests 2022-02-04 19:41:21 -08:00
Mouse Reeve
a9a6fd1242 Adds test for author page bug 2022-02-04 19:34:37 -08:00
Mouse Reeve
28a8edfdc4 Fixes author page query 2022-02-04 19:06:47 -08:00
Mouse Reeve
bc7aa91b97 Fixes pylint complaints 2022-02-04 18:50:57 -08:00
Mouse Reeve
7811a9920e Copy config from prod branch to main 2022-02-04 18:36:12 -08:00
Mouse Reeve
70bd6b9a65
Merge pull request #1917 from bookwyrm-social/list-page-error
Fixes errors in how lists with notes display
2022-02-04 15:44:49 -08:00
Mouse Reeve
18768a23f3 Fixes test 2022-02-04 15:30:58 -08:00
Mouse Reeve
0c3b6e6938
Merge pull request #1900 from willhoh/main
Added check for bocked or pending domains. Fixes #1850
2022-02-04 12:11:41 -08:00
Mouse Reeve
547d246375 Fixes 500 error 2022-02-04 12:09:20 -08:00
Mouse Reeve
0683ce1c33 Proper markdown formatting 2022-02-04 12:07:26 -08:00
Mouse Reeve
fefb7e582a Fixes list note display 2022-02-04 12:02:10 -08:00
Mouse Reeve
719df5621c Unit test to catch error on list page 2022-02-04 11:58:03 -08:00
Mouse Reeve
82aacf8f2a
Update forms.py 2022-02-04 11:47:18 -08:00
Mouse Reeve
e80a4c16f0
Merge pull request #1915 from bookwyrm-social/url-validation
Adds some simple url validation
2022-02-04 08:45:43 -08:00
Willi Hohenstein
495af09c4c
Merge branch 'bookwyrm-social:main' into main 2022-02-04 14:11:50 +01:00