Commit graph

406 commits

Author SHA1 Message Date
Joachim
8de2bca2c5 Add + adjust text copy component 2021-12-22 15:13:42 +01:00
Joachim
d9bd7be1ec same 2021-12-21 12:06:57 +01:00
Joachim
7c9995a5e5 Fix EditorConfig linting 2021-12-21 12:02:57 +01:00
Joachim
1fd44aeb5c Style fixes 2021-12-21 11:43:45 +01:00
Joachim
b2f3f03197 Lint style 2021-12-20 23:40:53 +01:00
Joachim
8d64b2d55e Add serif styles 2021-12-20 23:38:18 +01:00
Joachim
c1459dbcf9 Feature: Create annual summary page 2021-12-20 23:37:45 +01:00
Joachim
89713ce685 same but for js 2021-12-17 20:53:06 +01:00
Joachim
b15e0e37fc same 2021-12-17 20:51:41 +01:00
Joachim
9a2a31028b fix linting issues 2021-12-17 20:50:04 +01:00
Joachim
355405daa3 Front-end: Fix Safari details display and enhance dropdown on mobile 2021-12-17 20:40:58 +01:00
Joachim
df8427921b Add alignment rule for button reset 2021-12-17 17:34:22 +01:00
Joachim
f88b511bbf Update bookwyrm.css 2021-12-17 17:32:44 +01:00
Joachim
f300104c4d Add reset button style 2021-12-17 17:29:46 +01:00
Joachim
2544ea12c7 Revert changes on layout 2021-12-17 17:00:10 +01:00
Mouse Reeve
8bda0bc0dc Removes check_all javascript that is no longer used 2021-12-16 11:06:53 -08:00
Mouse Reeve
2b6c9d9d31 Runs prettier 2021-12-16 10:53:38 -08:00
Mouse Reeve
c3a32b3a54
Merge branch 'main' into tidy-header 2021-12-15 10:02:36 -08:00
Joachim
5b8c1bde89 Merge branch 'main' into list-embed 2021-12-08 16:40:15 +01:00
Mouse Reeve
142616b996
Merge pull request #1660 from bookwyrm-social/update-from-remote
Button to manually load remote data for editions and authors
2021-12-07 14:11:06 -08:00
Mouse Reeve
4973e0a010 Adds confirm modal for loading data 2021-12-07 12:32:17 -08:00
Mouse Reeve
857bc6adae
Merge pull request #1635 from hughrun/remote-follow
Remote follow
2021-12-06 14:36:21 -08:00
Mouse Reeve
ba34e11fb0 Fixes auto-closing menu 2021-12-04 12:11:29 -08:00
Mouse Reeve
7050013144 Close menus when the rest of the page is clicked
Ce-authored-by: Joachim <joachim.robert@protonmail.com>
2021-12-04 11:51:57 -08:00
Mouse Reeve
f98fe0348a Fixes merge error 2021-12-04 11:45:02 -08:00
Mouse Reeve
403382e4b4
Merge branch 'main' into detail-menus 2021-12-04 11:30:49 -08:00
Mouse Reeve
56609bbc2b Css linting 2021-12-04 11:18:41 -08:00
Mouse Reeve
c813ce1144 Creates consistent styling for details element 2021-12-04 10:41:42 -08:00
Mouse Reeve
b6106691ef Force dropdown menus to always visible 2021-12-04 09:57:45 -08:00
Mouse Reeve
5b27952b34 Use html details instead of javascript menus 2021-12-04 09:48:55 -08:00
Joachim
57502c1f3c Fix js following review 2021-12-04 16:31:38 +01:00
Joachim
5ffe465a7a Better style for embedded cards 2021-12-04 16:18:11 +01:00
Joachim
b2a274ba41 Add JS code for copy text component 2021-12-04 16:17:33 +01:00
Mouse Reeve
4b55ffe99e
Merge branch 'main' into remote-follow 2021-12-02 12:16:56 -08:00
Mouse Reeve
7eb3de6247
Merge branch 'main' into tidy-header 2021-12-02 12:16:05 -08:00
Mouse Reeve
ed28d5f945
Merge branch 'main' into add-feed-filters 2021-12-02 12:14:54 -08:00
Mouse Reeve
baca5e50e7
Merge pull request #1608 from hughrun/move-shelves
refactor shelf activity on book page
2021-12-02 12:06:07 -08:00
Chad Nelson
66e414be3c Standardize JS, use button, & filter empty authors 2021-11-30 17:22:35 -05:00
Hugh Rundle
9a3ec4362b
code cleanup 2021-11-29 19:45:52 +11:00
Joachim
84b5c2da4e Documentation 2021-11-28 22:10:15 +01:00
Joachim
9ec4ad6b31 Apply review suggestion 2021-11-28 21:46:32 +01:00
Joachim
bf5cb898ef Apply review suggestion 2021-11-28 21:45:35 +01:00
Joachim
3816b0aa57 Better JS 2021-11-28 18:34:54 +01:00
Joachim
a688c73b79 Fix stylelint rule 2021-11-28 18:28:49 +01:00
Joachim
c924f578e5 Fix linting errors 2021-11-28 18:26:01 +01:00
Hugh Rundle
f828f36cc5
show popup for remote follow 2021-11-28 21:16:57 +11:00
Joachim
89bbf005c3 Add an accessibility helper
This will display a default outline specifically for keyboard users (and some inputs)
2021-11-27 19:19:09 +01:00
Joachim
4ed4278826 Tidy header for non-authenticated visitors
with the help of a login modal
2021-11-27 19:18:20 +01:00
Hugh Rundle
951eb43aa6
bypass ajax for shelf_selector statuses 2021-11-26 17:16:26 +11:00
Hugh Rundle
5b67226571
forceReload prevents ajax submission
...instead of weird hacky workarounds forcing refreshes later.
2021-11-25 19:12:03 +11:00
Joachim
8712b2fdab ESLint 2021-11-24 19:02:07 +01:00
Joachim
db5e7a886a Handle count of notifications banner 2021-11-24 19:00:30 +01:00
Chad Nelson
6be9ac4f70 Abstract JS for multivalue form fields 2021-11-21 17:32:48 -05:00
Hugh Rundle
e247e96832
remove incorrect comment 2021-11-20 19:34:37 +11:00
Hugh Rundle
a3270551f9
code cleanup 2021-11-20 19:19:51 +11:00
Hugh Rundle
b273123708
code style 2021-11-20 16:06:16 +11:00
Hugh Rundle
9ffe4d340e
trigger reading status modals from move button
- unhide reading status shelves
- trigger modals when moving to a read status shelf
- force page refresh when using move button
2021-11-20 08:06:13 +11:00
Hugh Rundle
6e5c0cc4c3 Merge branch 'main' into bookwyrm-groups
There are database migrations in main ahead of this branch so they need to be merged in to the branch before we can merge back into main.
2021-10-17 06:22:04 +11:00
Mouse Reeve
9ac5384d68 Fixes test and css linter 2021-10-15 09:54:14 -07:00
Mouse Reeve
2f40394c0a Updates edited display 2021-10-15 09:41:29 -07:00
Hugh Rundle
5d7f77021b dammit eslint 2021-10-10 14:02:55 +11:00
Hugh Rundle
3d74b10c5f eslinting 2021-10-10 13:55:18 +11:00
Hugh Rundle
726217577f linting 2021-10-10 13:18:16 +11:00
Hugh Rundle
48fc85c761 adjust commenting on js file 2021-10-08 18:45:28 +11:00
Hugh Rundle
ec7d0db843 linting fixes 2021-10-05 21:48:59 +11:00
Hugh Rundle
3a90311129 update indenting for linter 2021-10-04 22:20:02 +11:00
Hugh Rundle
602664b8d7 Merge branch 'main' into groups-merge-test
Big merge of a couple of weeks' work from the main project back into this branch. :ohno:
2021-10-03 10:49:38 +11:00
Mouse Reeve
eaa77906b2
Merge pull request #1485 from bookwyrm-social/notifications
Refactors notifications templates
2021-10-02 11:41:18 -07:00
Mouse Reeve
db74538345 Update for js linter 2021-10-02 11:28:16 -07:00
Mouse Reeve
b9632039f9 Link notification block to its main path 2021-10-02 11:26:22 -07:00
Mouse Reeve
bd463ea6fe Lint fixes 2021-10-01 18:09:11 -07:00
Mouse Reeve
29ee99c03e Styles for the thread page 2021-10-01 18:05:48 -07:00
Mouse Reeve
d78c278665 Progress update flow for modal 2021-09-29 10:59:36 -07:00
Hugh Rundle
762202c4b0 fix UI for group curated list editing
When creating or editing a list, the group selection dropdown will only appear if the user selects "group" as the curation option (or it is already selected).

- fix typo in bookwyrm.js comments
- add data-hides trigger for hiding elements after they have been unhidden, where simple toggles are not the right approach
2021-09-27 11:03:41 +10:00
Mouse Reeve
6022e7b232 Adds IP blocklist views 2021-09-17 13:04:10 -07:00
Mouse Reeve
ccdfaa3187 Linter fixes 2021-09-12 11:48:25 -07:00
Mouse Reeve
7cfb0a4271 Supports Safari in form submission event 2021-09-12 11:45:18 -07:00
Mouse Reeve
a011a9eab5 Linting fixes 2021-09-12 10:41:16 -07:00
Mouse Reeve
b5cc75e078 Adds css for file input buttons 2021-09-12 10:36:06 -07:00
Mouse Reeve
926eb7646f Removes duplicate selector 2021-09-10 15:03:01 -07:00
Mouse Reeve
3fdbd3035a how to disable linter complaint?? 2021-09-10 14:58:08 -07:00
Mouse Reeve
da5003c45e Fixes hover states 2021-09-10 14:56:45 -07:00
Mouse Reeve
daf42a30da Adds javascript for half star ratings 2021-09-10 14:27:08 -07:00
Mouse Reeve
2665e3640e CSS for half stars 2021-09-10 14:19:57 -07:00
Mouse Reeve
5c329c35f0 Warn http error 2021-09-10 10:22:28 -07:00
Mouse Reeve
5e9b8eb571 Removes unused variable 2021-09-10 10:20:40 -07:00
Mouse Reeve
08d2bff7ca General function for displaying messages 2021-09-10 10:12:37 -07:00
Mouse Reeve
e3ab5afcbd Catch error responses from API 2021-09-10 08:59:49 -07:00
Mouse Reeve
718744a92d Adds css animation for pending create status
Co-authored-by: Fabien Basmaison <contact@arkhi.org>
2021-09-10 08:30:28 -07:00
Mouse Reeve
136cc1a6e9 Adds spinner icon 2021-09-10 08:07:46 -07:00
Mouse Reeve
3c38a64a81 Return http responses for ajax requests 2021-09-10 08:03:22 -07:00
Mouse Reeve
909293bbb0 Re-adds error handling code written a while back
Co-authored-by: Fabien Basmaison <contact@arkhi.org>
2021-09-09 19:56:42 -07:00
Mouse Reeve
f9b9a66224 Linter appeasement 2021-09-09 17:07:48 -07:00
Mouse Reeve
9ba066ad6d Cleanup after submitting modal 2021-09-09 17:04:16 -07:00
Mouse Reeve
06b0325c1b Update dropdown options on shelve action 2021-09-09 16:43:47 -07:00
Mouse Reeve
9ee1a110a9 Update visible shelve buttons on read action 2021-09-09 15:36:58 -07:00
Mouse Reeve
5f584c1403 Lints for the Linter god 2021-09-09 08:24:36 -07:00
Mouse Reeve
055cced75b Close reply panel 2021-09-09 08:20:55 -07:00
Mouse Reeve
49f1226f3a Close modals after submit 2021-09-09 08:06:36 -07:00
Mouse Reeve
053e2cea0d Clear localstorage items 2021-09-09 07:39:38 -07:00
Mouse Reeve
dfaf085843 Move status code into the new file 2021-09-09 06:54:34 -07:00
Mouse Reeve
b0e7a5e468 Post statuses asynchronously 2021-09-08 19:30:45 -07:00
Mouse Reeve
c007f44030 Linter's have demands 2021-09-08 17:54:50 -07:00
Mouse Reeve
03b608565d Save status drafts in localstorage 2021-09-08 13:58:10 -07:00
Mouse Reeve
4570d042a9 Tooltip icon 2021-09-08 08:56:13 -07:00
Mouse Reeve
457415f874 Adds bookmark icon 2021-08-23 11:36:22 -07:00
Mouse Reeve
451cb38c6c Linter fix 2021-08-19 15:33:23 -07:00
Mouse Reeve
8ba695c21d Adds max height to modals so they don't disappear on small screens 2021-08-19 15:19:10 -07:00
Mouse Reeve
0829696add
Merge pull request #1138 from joachimesque/images-django-imagekit
Generate thumnails for books
2021-08-18 19:53:12 -06:00
Mouse Reeve
8b5ac6b012 Javascript linter 2021-08-17 09:28:39 -07:00
Mouse Reeve
3026a86b11 Refines preventDefault logic 2021-08-17 09:21:57 -07:00
Mouse Reeve
2f93017eaa Fixes event propogation 2021-08-17 08:45:10 -07:00
Mouse Reeve
011175a6e3 Appeases js linter 2021-08-16 12:44:36 -07:00
Mouse Reeve
e6b785d731 No-update mode for "want to read" 2021-08-16 12:28:04 -07:00
Mouse Reeve
45e82abda4
Merge branch 'main' into images-django-imagekit 2021-08-11 12:47:25 -06:00
Mouse Reeve
21a954c7df Always use underscores in html ids
Plus some other shifting around
2021-08-08 19:44:12 -07:00
Mouse Reeve
b116df723f prevent large text from janking up view 2021-08-07 16:48:53 -07:00
Mouse Reeve
af34dc6520
Merge branch 'main' into images-django-imagekit 2021-08-02 13:43:59 -06:00
Kylie
a6b8d44627 Summary display updates 2021-07-31 20:30:21 -04:00
Kylie
f2186d6861 Add preserve-whitespace CSS tag 2021-07-31 13:15:49 -04:00
Joachim
e251b687dc Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-19 19:32:56 +02:00
Mouse Reeve
973b23856c
Merge branch 'main' into opengraph-image-generation 2021-06-17 15:17:54 -07:00
Mouse Reeve
e65bc09e7a Linter fixes 2021-06-08 12:42:45 -07:00
Mouse Reeve
eb12506985 No script fallback mode 2021-06-08 12:40:01 -07:00
Mouse Reeve
bbbae9fc9d
Merge branch 'main' into images-django-imagekit 2021-06-05 11:46:57 -07:00
Mouse Reeve
ff45238667
Merge pull request #1123 from eatsleepdeploy/add-max-upload-size-config
Add max upload size config
2021-06-01 14:09:50 -07:00
Joachim
3ea935e7ce Update OFL.txt 2021-05-26 15:49:08 +02:00
Joachim
d4fc1b0fdf Fix line endings 2021-05-26 15:17:28 +02:00
Joachim
fa7334826c Update 2021-05-25 23:04:28 +02:00
Joachim
d1737b44bd First functioning commit
TODO

- [ ] Delay task (Celery?)
- [ ] Store the image in a subfolder unique to the edition, to make cleaning up the image easy
- [ ] Clean up the image before replacing it
- [ ] Ensure that the image will be cleaned when the edition is deleted ??
- [ ] Use instance custom colors?
- [ ] Use book cover color base?
2021-05-25 00:41:53 +02:00
Joachim
c1456ce853 Update .cover-caption name and styles 2021-05-24 16:16:33 +02:00
Joachim
251c8bbd08 Merge remote-tracking branch 'upstream/main' into list-style-fixes 2021-05-23 15:14:50 +02:00
Joachim
0708d64bf1 Update bookwyrm.css 2021-05-23 12:10:57 +02:00
Jason Kelly
7eb5f3b026 Making magic number more readable 2021-05-23 14:31:22 +08:00
Jason Kelly
6e655cb0e0 Added new widget to alert if a file is set at larger than 10 MB.
- Updated default widget to use template that adds a notification box.
- Added JS to add onchange & load events to look at the value in the input and trigger the notification & disable the form submits.
2021-05-23 14:12:00 +08:00
Mouse Reeve
b8e9b9f57e Cleans up show/hide behavior 2021-05-20 11:46:24 -07:00
Joachim
1f747e4f68
Merge branch 'main' into list-style-fixes 2021-05-05 16:06:48 +02:00
Joachim
4c021e6357 Add Mobile styles 2021-05-02 21:34:43 +02:00
Mouse Reeve
454dd25681 Only make notification count red for mentions 2021-04-30 07:49:34 -07:00
Joachim
bbac0ad7ab Update bookwyrm.css 2021-04-29 21:51:42 +02:00
Joachim
d4dffe48a7 Update bookwyrm.css 2021-04-29 21:48:35 +02:00
Joachim
fa17386a6e Fix 2021-04-29 21:45:48 +02:00
Joachim
0a71fb094f Move counter in Ordered List 2021-04-29 21:41:43 +02:00
Fabien Basmaison
e37cbcd88d cover: Comment CSS rules a bit more and add rules for consistency. 2021-04-28 15:02:47 +02:00
Fabien Basmaison
bba60c99e9 cover: Rearrange some CSS rules. 2021-04-28 14:48:25 +02:00
Fabien Basmaison
baaaeef4c0 cover: Fix little details. 2021-04-28 10:47:14 +02:00
Fabien Basmaison
8a1c8cb061 cover: Update goal:
- Remove `.content` from template when not dealing with markdown-generated markup.
- Fix some duplicated CSS selectors.
2021-04-27 21:07:54 +02:00
Fabien Basmaison
a5359d1f80 cover: Update author. 2021-04-27 20:30:10 +02:00
Fabien Basmaison
d8b6676976 cover: Udpate logged out home and discover. 2021-04-27 16:27:39 +02:00
Fabien Basmaison
8ddc292ee6 cover: Change the logic again:
- Work on feeds.
- Add `.is-cover` to modify the behaviours of columns.
- Only apply logic for dimensions on the cover container; too many contextual side effects otherwise.
- Add classes to dimension and align, including auto margins for flex.
- Rename classes in templates accordingly.
2021-04-27 16:24:20 +02:00