Commit Graph

496 Commits

Author SHA1 Message Date
Jason McBrayer 5072defbbd Make fix to Pleroma notifications not depend on Mastodon.py fix 2019-01-27 22:46:41 -05:00
Jason McBrayer e4bbd29cc8 Fix pagination on Pleroma (probably) 2019-01-27 22:27:46 -05:00
Jason McBrayer 01f2cc7d35 Fix more ID format issues with Pleroma
Paging is still not working.
2019-01-27 22:16:15 -05:00
Jason McBrayer 705ea8917b Add some underlines to links for accessibility reasons 2019-01-27 21:33:17 -05:00
Jason McBrayer 5b3d34b762 Fix bug with changed message ID format in Pleroma 2019-01-27 21:12:12 -05:00
Jason McBrayer f0843488d1 Use a simpler check for whether content_type argument can be used to post 2019-01-27 21:06:55 -05:00
Jason McBrayer 2903a5ea6e Bump patch level to note Pleroma compatibility improvements 2019-01-24 14:26:48 -05:00
Jason McBrayer 8fc464939c Be more specific with user searches in case of Pleroma 2019-01-24 14:22:17 -05:00
Jason McBrayer cce4198a3b Use content_type when posting if it's available in your Mastodon.py
This feature hasn't been merged to mainline yet, and then it will probably
take a little longer for it to get on pip, so brutaldon has to be belt-and-
suspenders when using it.
2019-01-24 14:10:02 -05:00
Jason McBrayer 5e9feab403 Add the inline and block tags that Pleroma permits to our scrubber
Tags that are not supported:
- inline images
- table tags
- header tags

I may reconsider header tags later.
2019-01-24 09:43:17 -05:00
Jason McBrayer 2d3d88da72 Fix local user references with domain name on Pleroma 2019-01-24 08:48:44 -05:00
Jason McBrayer dd20a1de36 Unbreak that last fix for Mastodon while keeping it fixed for Pleroma 2019-01-24 08:47:16 -05:00
Jason McBrayer 0bca674f88 Fix links to user profiles from notifications page on Pleroma
Still fails for users on the same server -- needs to not include server part
2019-01-24 08:38:47 -05:00
Jason McBrayer 9150ba7629 Improve accuracy of user page link on Pleroma 2019-01-24 08:27:07 -05:00
Jason McBrayer 245f0f7a59 Add migration maybe needed by Django update 2019-01-24 08:26:44 -05:00
Jason McBrayer 7c351ef341 Fix an issue with mentions caused by last update 2019-01-18 08:08:26 -05:00
Jason McBrayer aa1434e821 Bump minor version: a couple of new features 2019-01-17 21:10:00 -05:00
Jason McBrayer dfc9becc87 Add mention hints to full post form and fix minor error 2019-01-17 21:06:29 -05:00
Jason McBrayer 8615c8f801 Add username hints while typing mentions in compose box 2019-01-17 21:02:23 -05:00
Jason McBrayer 10019b34b0 Handle case of no notes seen before checking notifications 2019-01-17 19:13:08 -05:00
Jason McBrayer c7fb38b57c Add 'filter notifications" option
This reduces the number of notifications in both your tab bar and your
notifications page, by showing only mentions and new subscribers (i.e.,
things that are actionable by you).
2019-01-14 09:08:36 -05:00
Jason McBrayer 21af4a0ef8 Update version number because of logout fix 2018-12-16 22:02:50 -05:00
Jason McBrayer 9117aeb987 Fix logout behavior with intercooler 2018-12-16 17:52:48 -05:00
Jason McBrayer 9825b67f57 Make toots hint more strongly when they are part of a thread. 2018-12-07 08:57:19 -05:00
Jason McBrayer ae66d5b064 Bump patch level for bugfix 2018-12-06 10:18:17 -05:00
Jason McBrayer 9d70757988 Fix issue #40 (menu covers posting box in mobile with no JS)
Don't pin the menu to the top by default -- add those classes from JavaScript.
This is clearly the best thing on mobile, but it means that on desktop, without
JavaScript, the menu will not be pinned to the top, which used to work.
2018-12-06 10:14:25 -05:00
Jason McBrayer 5266b8df03 Re-fix media attachments overflow 2018-12-04 10:28:49 -05:00
Jason McBrayer 23f7aed095 Confirm log out if JS available 2018-12-03 18:00:25 -05:00
Jason McBrayer b4822b87ce Make search link a modal popup if using JS 2018-12-03 17:58:08 -05:00
Jason McBrayer e42628c6a3 Bump minor version number because of cards feature 2018-12-03 14:14:52 -05:00
Jason McBrayer 23b799c022 Don't show card images where they may be redundant 2018-12-03 08:48:01 -05:00
Jason McBrayer d1873e3bd8 Really fix card image formatting. 2018-12-03 08:29:59 -05:00
Jason McBrayer 7364ff6baf Fix a card issue in vt240 themes 2018-12-03 07:50:36 -05:00
Jason McBrayer 16e787f392 Copy formatting changes to dark theme 2018-12-03 07:46:21 -05:00
Jason McBrayer ecfdf00d6a Fix formatting of both card images and regular media 2018-12-03 07:42:27 -05:00
Jason McBrayer afef082319 Fix spacing of cards.
Sizing of regular media seems to be broken now, though.
2018-12-03 07:34:05 -05:00
McBrayer 673d7adedd Add display of cards. This is not 100% complete. 2018-11-30 14:30:46 -05:00
Jason McBrayer 4676c49482 Take out the PJAX again.
It seems initially to work with notifications, but ultimately it just doesn't
quite.
2018-11-15 14:45:40 -05:00
McBrayer faace0fa07 Scroll to target on opening a thread 2018-11-13 13:35:08 -05:00
Jason McBrayer 03478ef33f Remove \n from initial form for replies 2018-11-12 17:55:25 -05:00
Jason McBrayer ffe50791d1 Indicate on toots if they have replies 2018-11-12 17:54:01 -05:00
Jason McBrayer 16a085fabb Make the progress bar smol 2018-11-08 20:40:40 -05:00
Jason McBrayer ae604f85b9 Fix bug in Lux theme 2018-11-07 13:47:44 -05:00
Jason McBrayer 9b5599150f Fix typo in PostForm update 2018-11-07 13:47:27 -05:00
Jason McBrayer 722b2d7a3d Add more translation hooks 2018-11-07 13:07:21 -05:00
Jason McBrayer c719b74a8e Add pjax to one more navbar link 2018-11-07 13:03:18 -05:00
Jason McBrayer d5e80966cf Reset more intercooler values on notifications poll element 2018-11-07 08:49:37 -05:00
Jason McBrayer 1f342a5b70 Bump patch level for fix in last commit 2018-11-07 08:21:22 -05:00
Jason McBrayer 9152cb74d6 Fix annoying notification bug in brutalist themes 2018-11-07 08:21:22 -05:00
Jason McBrayer a0a4dd2e56 Try harder to not leave the loading animation running 2018-11-06 17:41:03 -05:00
Jason McBrayer 0232ec9fd3 Add i18n hooks to models 2018-11-06 17:11:54 -05:00
Jason McBrayer b003a94fd0 Add i18n in views 2018-11-06 17:11:54 -05:00
Jason McBrayer 4052b6216d Bump minor version because of restoring the PJAX stuff 2018-11-06 17:11:02 -05:00
Jason McBrayer 347ccb4bbe Restore all of the PJAX stuff because I figured out what was going wrong 2018-11-06 17:05:03 -05:00
Jason McBrayer 9eda3c91cb Loop videos, on the assumption that most are gifvs.
Also, use media.preview_url for the preview image rather than the first frame.
2018-11-06 11:09:05 -05:00
Jason McBrayer be3bb1ee1a Bump patch level for lightbox implementation changes 2018-11-06 11:04:54 -05:00
Jason McBrayer 53347efa27 Remove items for old photobox 2018-11-06 11:01:01 -05:00
Jason McBrayer ae66ccfd7f Change lightbox to magnific-popup; make videos playable inline. 2018-11-06 10:44:26 -05:00
Jason McBrayer 4907f5c109 Make toot modal work in brutalist themes 2018-11-01 10:24:59 -04:00
Jason McBrayer e5040b0bbd Add modal for new toot 2018-11-01 09:53:07 -04:00
Jason McBrayer 0feb9013b4 Keep reverse route for user page for user with null username from crashing
I find it inexplicable that this could happen, but there you are.
2018-10-26 14:00:43 -04:00
Jason McBrayer 7c5a03368b Center and pad some stuff in FULLBRUTALISM 2018-10-24 10:30:09 -04:00
McBrayer 733d8bb453 Make notifications work on brutalist themes 2018-10-19 12:36:52 -04:00
Jason McBrayer e799c097cc Add preference for notification poll frequency 2018-10-18 16:04:28 -04:00
Jason McBrayer 221a13c593 Revert "Add animated loading indicator for some links."
This reverts commit 0fd520b78b.
2018-10-14 20:59:38 -04:00
Jason McBrayer 26cd95544a Use non-depricated format for ready. 2018-10-14 20:31:47 -04:00
Jason McBrayer c52307fc9d But don't leave indicator hanging around on 'back' 2018-10-14 20:22:32 -04:00
Jason McBrayer 0fd520b78b Add animated loading indicator for some links.
This is redundant on desktop and for full mobile browser interface,
but useful for minimal mobile browser PWA mode.
2018-10-14 20:14:18 -04:00
Jason McBrayer bb65be3e8b Don't lose text or spoiler text when expanding toot form 2018-10-14 08:36:47 -04:00
Jason McBrayer 66e53837cf Truncate file names in file upload buttons 2018-10-14 08:20:11 -04:00
Jason McBrayer d860ae8513 Bump patch number for lightbox preference 2018-10-09 18:13:32 -04:00
Jason McBrayer 7b8c5dbb59 Add lightbox preference 2018-10-09 18:13:08 -04:00
Jason McBrayer 9bf48fab96 Bump minor version because of JS settings feature 2018-10-09 14:46:02 -04:00
Jason McBrayer 20818fca96 Reorganize options page and add some help text 2018-10-09 14:45:10 -04:00
Jason McBrayer 3acfcdd744 Use notifications setting 2018-10-09 13:17:29 -04:00
Jason McBrayer 2dfcd61989 Use click_to_load preference 2018-10-09 13:11:20 -04:00
Jason McBrayer 2d0fd95d5f Use no_javascript preference in place of theme.is_brutalist in some places 2018-10-09 13:08:02 -04:00
Jason McBrayer 275e6b1fca Fix some whitespace 2018-10-09 13:00:44 -04:00
Jason McBrayer 60748e5c4b Add javascript granular settings to forms, templates, settings view 2018-10-02 12:14:03 -04:00
Jason McBrayer 0f844c5919 Add javascript granular options to models 2018-10-01 18:13:26 -04:00
Jason McBrayer 26a189f780 Push history when loading more on a timeline
Because not doing so is worse, not because it's the best thing possible.
2018-09-24 15:09:32 -04:00
Jason McBrayer 9a7d797e54 Make the 'older' button load more in the page 2018-09-24 11:11:08 -04:00
Jason McBrayer 3782d6cd2f Fix formatting of timeline template 2018-09-24 10:48:25 -04:00
Jason McBrayer af4173742b Remove service worker for now (it clashed with notifications implementation) 2018-09-24 10:32:30 -04:00
Jason McBrayer 4c3407d87e Bump version number for notifications badge feature 2018-09-21 07:42:12 -04:00
Jason McBrayer e57497e957 Ensure more pages have notification badges 2018-09-21 07:32:48 -04:00
Jason McBrayer def0256fee savePlace and restorePlace are no longer needed since we junked PJAX 2018-09-20 19:16:22 -04:00
Jason McBrayer 78157b9647 Restore browser controls to PWA manifest and remove pull-to-refresh 2018-09-20 19:09:25 -04:00
Jason McBrayer ea1f9bdbb8 Strip out all the PJAX to make notifications work 2018-09-20 19:01:26 -04:00
Jason McBrayer 5ced45c50b More work on notifications - polling doesn't work
It looks like it might be an intercooler limitation/bug.

May try removing the pjaxing to see if that works
2018-09-20 15:00:31 -04:00
Jason McBrayer 86ec6aed95 Non-working implementation of ajax notification badge 2018-09-20 13:00:25 -04:00
Jason McBrayer 1523e3f229 Add template bits for notification badges 2018-09-20 13:00:25 -04:00
Jason McBrayer 5b88462a0e Tempiraru fix for pull to refresh being over-agressive 2018-09-20 08:50:32 -04:00
Jason McBrayer 99032361b0 Change which element to use for pull-to-refresh 2018-09-20 08:23:12 -04:00
Jason McBrayer 133a35bcc5 Add pull-to-refresh 2018-09-20 08:15:07 -04:00
Jason McBrayer c5697e1766 Try to get Fennec to add to homescreen 2018-09-19 21:16:09 -04:00
Jason McBrayer 37d161e55f Remove a comma because JSON is picky 2018-09-19 20:52:08 -04:00
Jason McBrayer 2bf12a797f More icon sizes 2018-09-19 20:50:00 -04:00
Jason McBrayer 89773d4a30 remove bad entries from manifest 2018-09-19 12:07:32 -04:00
Jason McBrayer 9d341af910 Fix start URL in manifest 2018-09-19 11:18:23 -04:00
Jason F. McBrayer 04ef12944d Update the manifest 2018-09-19 11:05:04 -04:00
Jason McBrayer 045f5363d9 Remove comment from manifest 2018-09-19 10:59:25 -04:00
Jason McBrayer e065f6d050 Service worker should basically be ready 2018-09-19 10:48:27 -04:00
Jason McBrayer 5d848715da Fix path service worker is served from 2018-09-19 10:19:34 -04:00
Jason McBrayer 3bbe859227 Maybe fix scope of PWA 2018-09-19 09:59:29 -04:00
Jason McBrayer 0f3162f7b3 Experimental: very minimal PWA support 2018-09-19 09:55:48 -04:00
Jason McBrayer 12d2636091 Add web app manifest (lol) 2018-09-19 09:37:36 -04:00
Jason McBrayer 385b819678 Fix back button in lightbox 2018-09-19 09:12:16 -04:00
Jason McBrayer 04ea4b499e Use primary color for navbar on bulma themes 2018-09-18 11:44:01 -04:00
Jason McBrayer 62dbc3a1f7 Fix history stuff so it doesn't affect mobile hamburger button 2018-09-18 10:53:21 -04:00
Jason McBrayer 63dc8fac53 Add photobox for images 2018-09-18 08:37:21 -04:00
Jason McBrayer 98afb6cde2 Restrict scope of scroll-position-saving 2018-09-18 06:13:13 -04:00
Jason McBrayer 075b8f67fe When going back a page, scroll to the last known vertical position
This is only needed for JS-enhanced links. Without javascript to mess it up,
the browser handles this 100% correctly by itself.
2018-09-17 22:13:54 -04:00
Jason McBrayer 203bd5070c Go back to trunk intercooler, use body as ic-history-elt 2018-09-15 20:00:15 -04:00
Jason McBrayer 9605c04a5f Some small JavaScript fixes 2018-09-15 19:49:28 -04:00
Jason McBrayer 3d44b47f73 Revert "Add image carousel to multi-image posts"
This reverts commit 773975917b.
2018-09-15 18:47:25 -04:00
Jason McBrayer a2efc3fe08 Use ic-scroll-to-target where applicable 2018-09-15 16:40:16 -04:00
Jason McBrayer a289ef37e5 Narrow boxes in terminal themes 2018-09-13 19:54:50 -04:00
Jason McBrayer 773975917b Add image carousel to multi-image posts 2018-09-09 18:22:01 -04:00
Jason McBrayer b456681de4 Fix crash in privacy page 2018-09-07 18:45:36 -04:00
Jason McBrayer 07932b775b Improve character count in over-length method 2018-09-07 16:43:51 -04:00
Jason McBrayer 67bfcde2fe Add character count to toot forms 2018-09-07 16:28:33 -04:00
Jason McBrayer a894a9674b Bump minor version for feature roll-ups 2018-09-06 21:05:33 -04:00
Jason McBrayer ccb21b0cdc Fix formatting problem with redrafts and tags
Plus misc. redraft problems
2018-09-06 20:51:18 -04:00
Jason F. McBrayer 3407aa8086 Don't create expandCWs button multiple times 2018-09-06 13:36:27 -04:00
Jason McBrayer d9cb4b36e5 Ensure that file buttons can still be updated when you expand minimal toot form 2018-09-06 12:12:49 -04:00
Jason McBrayer 4f8bba7765 Ensure that CW-expander is present when threads page is AJAX-loaded 2018-09-06 12:07:31 -04:00
Jason McBrayer 6e087eb45f Make AJAX version of toot deletion work better 2018-09-06 11:45:28 -04:00
Jason F. McBrayer 09909f3270 Overflow-auto the media attachments so they don't do it to the toot box 2018-09-06 09:49:01 -04:00
Jason McBrayer f0597470a6 PJAX the link to redraft 2018-09-05 21:34:08 -04:00
Jason McBrayer 8ab83275f6 AJAX-ify the delete link on a toot 2018-09-05 21:29:12 -04:00
Jason McBrayer 8c847f0452 Use larger icon for expand full editor 2018-09-05 12:14:10 -04:00
Jason F. McBrayer 507a6bd32e Make "complete toot form" link expand the minimal toot form in place 2018-09-05 11:25:10 -04:00
Jason F. McBrayer 9fe60035f6 Make page loading indicator color more neutral 2018-09-05 10:56:51 -04:00
Jason F. McBrayer 7560c2fc59 Fix broken custom emoji formatting in brutalist themes 2018-09-05 10:40:27 -04:00
Jason F. McBrayer f31e69b541 Ask for confirmation on some user actions when using AJAX 2018-09-05 10:18:33 -04:00
Jason F. McBrayer f9673696d5 PJAX thread links 2018-09-05 10:07:51 -04:00
Jason F. McBrayer 43d4b6a30d Add long post validation also to reply and redraft 2018-09-05 10:01:00 -04:00
Jason F. McBrayer 620394ac3f Fix broken settings form 2018-09-05 09:40:54 -04:00
Jason F. McBrayer 8a4e057e24 Fix a broken link 2018-09-05 09:38:40 -04:00
Jason F. McBrayer fc6ce29c6d Pjax the rest of the top bar 2018-09-05 09:19:13 -04:00
Jason F. McBrayer 8963f5d1d0 Improve the page loading indicator 2018-09-05 09:16:37 -04:00
Jason McBrayer c92c28b55a Better error handling in tag linkification 2018-09-05 05:21:02 -04:00
Jason McBrayer dc590b65ee Add ic-history-elt flag 2018-09-04 21:36:14 -04:00
Jason McBrayer c59c82ffb1 Remove unused setting and bump minor version 2018-09-04 19:21:09 -04:00
Jason McBrayer 928f0fd7a7 Instead of setting a max_length on posts, catch API error on posting 2018-09-04 19:19:35 -04:00
Jason McBrayer 0d3cc1c5ac Also deactivate the burger menu 2018-09-03 20:10:35 -04:00
Jason McBrayer 60c6adfbb2 Close the menu after pjax loading a page 2018-09-03 19:47:06 -04:00
Jason McBrayer c038253ef7 Only use static avatars (the coyote no longer rotates) 2018-09-03 19:46:51 -04:00
Jason McBrayer cbe682d7aa Use minified intercooler 2018-09-03 17:31:51 -04:00