Commit Graph

227 Commits

Author SHA1 Message Date
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 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 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 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 67bfcde2fe Add character count to toot forms 2018-09-07 16:28: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 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 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 dc590b65ee Add ic-history-elt flag 2018-09-04 21:36:14 -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
Jason McBrayer 56f2309edc Fix the page title issue and factor out javascript 2018-09-03 17:28:45 -04:00
Jason McBrayer 2613de0646 Change those ic-post-to back to ic-get-from for now 2018-09-03 12:23:38 -04:00
Jason McBrayer 7c85f5474a Pjax page transitions that use the main page nav buttons
Things remain to do on this:
- Make the indicator less blatant
- Fix page titles
- apply lots of other places
2018-09-03 10:03:27 -04:00
Jason McBrayer 1dd8b1a316 Hijax block button 2018-09-02 19:52:48 -04:00
Jason McBrayer 3e7c81fc02 Hijax the muting button 2018-09-02 19:47:21 -04:00
Jason F. McBrayer bd663e7539 AJAX the follow button 2018-08-31 15:55:05 -04:00
Jason McBrayer 38ba9d8184 Fix ID of status spinner 2018-08-30 19:36:32 -04:00
Jason McBrayer acfbdc5d5e Oops, reply shouldn't be ajaxed (this way) 2018-08-30 19:04:32 -04:00
Jason McBrayer f224d70750 Add progress indicator on boost/fav 2018-08-30 18:57:24 -04:00
Jason McBrayer 77b79b32b8 Get intercooler ajax requests working with csrf protection 2018-08-30 18:49:12 -04:00
Jason McBrayer fac30d819f Fix up jquery loading for CSRF handling script 2018-08-30 18:33:20 -04:00
Jason F. McBrayer 8cdefb5e90 Enhance boost/fav toot with intercooler
Currently, this only works with CSRF protection turned off. Next
job is to fix that.
2018-08-30 16:42:01 -04:00
Jason F. McBrayer 02a20722fe Add intercooler and dependencies 2018-08-30 15:21:51 -04:00
Jason McBrayer 3f84d26e41 Make css names accurate again 2018-08-29 13:11:02 -04:00
Jason McBrayer 52efb4a1d7 Expand reply/boost/fav only on desktop 2018-08-29 05:23:35 -04:00
Jason McBrayer c71f1cf16d Revert "Expand reply/boost/fav buttons into icon+text"
This reverts commit 7692cd3bcc.
2018-08-29 05:12:07 -04:00
Jason McBrayer 1eb32dc189 Revert "And with that last change, the level should not be mobile"
This reverts commit 770ce5157f.
2018-08-28 20:14:33 -04:00
Jason McBrayer 770ce5157f And with that last change, the level should not be mobile 2018-08-28 20:13:37 -04:00
Jason McBrayer 7692cd3bcc Expand reply/boost/fav buttons into icon+text
Besides accessibility, this also resolves a weird little layout problem on the
dark theme
2018-08-28 20:10:15 -04:00
Jason McBrayer 5bdb2de646 Add theme support and move preferences into the database
Squashed commit of the following:

commit be4e1ab286f54caa6f44367d2de3cf9e6cb69e68
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Aug 28 12:03:17 2018 -0400

    Set timezone in session as early as possible

commit f1c03349c40ca1aca7f77c32333ee83585495626
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Aug 28 10:06:18 2018 -0400

    Don't hide all .is-hidden in brutalist themes

commit f35a6c5600b091fe0ec4ad78eb5f1a02a4945a65
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Aug 28 09:44:10 2018 -0400

    Rename vt240don.css to vt240don-amber.css

commit 074478937af309d10ff2d7f8f482dbff20ac7cf9
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Aug 28 09:41:43 2018 -0400

    Tweak vt240 amber theme and add vt240 green theme

commit b205cfe7376d067799863d7db1ce3c4530b0ba74
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Aug 28 08:39:11 2018 -0400

    Remove caching of Mastodon connections

    There's not a good way of invalidating them, and they've started causing
    timeouts in this branch.

commit c24a697a39173ff23391220fabad0dc6605cb5ef
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 14:46:21 2018 -0400

    Make minimal-large a little less bare

commit 6fee850cf6ba1edb573a7fedf43af3a343410c9b
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 14:24:57 2018 -0400

    Add minimal-large theme

commit b345dedbfcf55c3142d07a6f5320c677cfb534f0
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 13:19:51 2018 -0400

    Add vt240don style by @enkiv2

commit f013ff235663ee21f2d0962a019ce7bc3c80f7b0
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 09:15:51 2018 -0400

    Fix crash in search

commit 76c4134e9ddebbdf8a8dccab79361e71438877e6
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 08:35:02 2018 -0400

    Fix crash in oauth_callback

commit d725018d6a34544ac8c92deac27502c457d4d3c8
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 08:31:19 2018 -0400

    Fix crash in oauth_callback

commit 830264359dbdbf7c34e1d1ae715cb68016cd47f4
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 08:28:17 2018 -0400

    Fix crash in oauth_callback

commit 2a525298995d108a290484786a7493bfb99af2c8
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 08:27:03 2018 -0400

    Fix crash in oauth_callback

commit d43eb63146eb21a283290287b9db4d518f36435e
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 08:25:27 2018 -0400

    Fix crash in oauth_callback

commit ae9a58a0ae010fdc12a7498d691b7b8f8da95e03
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 08:12:19 2018 -0400

    Fix up default values for default themes again

commit a8fde1710b4d23f2bdd0ced4eeffd44b4e80b756
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 08:11:18 2018 -0400

    Fixes for dark theme

commit c4a7501cf263afbdc6bf65623e9c8dc5f03f40f7
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Aug 27 08:11:04 2018 -0400

    Small fix in full toot view

commit 69caeea0010e7d59106fba780744592ed9145f61
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sun Aug 26 22:50:53 2018 -0400

    Fix up settings display, navbar, typo in links

commit 0e24a394eabe78d8cba864beaedb03a42f916a20
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sun Aug 26 22:36:58 2018 -0400

    Fix default theme paths

commit aca5c53561cd8647d42244fd51720e146fddbf94
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sun Aug 26 22:35:33 2018 -0400

    More themes prep

commit 6921c55a41db14e155b5ed62c48e3e67d8626b13
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sun Aug 26 21:42:53 2018 -0400

    Actually load themes

commit 134952ff17e3a8672e21175395282d91f48f1d2b
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sun Aug 26 21:34:06 2018 -0400

    Base and fullbrutalism themes work, but only coincidentally

commit 658aca52955507eda007165e9c44031d417e0076
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sun Aug 26 19:47:48 2018 -0400

    Make filtering preference work again

commit 90267055b5a2fc51337b0a3e34b3a5643088e17f
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sun Aug 26 19:34:47 2018 -0400

    Fix up settings view, form, and model

commit d58769ecdffad239cc8aa37ebca9c2e87372ebd0
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sun Aug 26 19:12:06 2018 -0400

    Fix up old_login to work with new preferences system

commit d8b084a379894a3a40c3eed1c87465f7c77ad7eb
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sun Aug 26 18:11:03 2018 -0400

    Update settings view to use preferences system

commit 49471ae97131bdb0d8152411afdf1987d6c64652
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sat Aug 25 10:53:04 2018 -0400

    Update login logic to match new account models, simplify.

    Not tested yet.

commit 57cce7c0f45fe07dd522a61c9e056db982455843
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Sat Aug 25 10:18:53 2018 -0400

    Fix up models and forms to meet current needs

commit 0634c038ee9220164662d1e933a2f1c83e5af70d
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Fri Aug 24 22:42:07 2018 -0400

    Update fields in models for settings branch

commit 510509e28254cb3ee38b70538d1c0b788448d624
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Fri Jun 22 08:39:42 2018 -0400

    Update settings view a bit; still in progress

commit 5a91a57ceb1d737ed371bd6800ddf6ea0a917a8f
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Jun 19 06:27:19 2018 -0400

    Add forms object for new preferences

commit af4883c172d2b66d83c55b00cee1490fa88ddd4f
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Jun 19 06:26:35 2018 -0400

    Make sure newly created accounts have preferences attached

commit f0ae97b2bf8735bd5c369f273fb51d74deb05450
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Jun 18 21:33:41 2018 -0400

    Setup for themes and related options
2018-08-28 12:22:20 -04:00
Jason McBrayer 9797b6f7c2 Add basic re-drafting without image support 2018-08-23 20:58:07 -04:00
Jason McBrayer f73cadee90 Add JS enhancement to thread page: expand/collapse all CWs 2018-08-23 11:19:32 -04:00
Jason McBrayer d87ac861ca Fix to about page 2018-08-22 09:36:31 -04:00
Jason McBrayer 7482617863 Improve handling of not-logged-in users 2018-08-22 09:21:09 -04:00
Jason McBrayer f3d3d7005b Emphasize boosted/favorited flags in text or fullbrutalism 2018-08-21 14:59:49 -04:00
Jason McBrayer 0a9cdded14 Fix remaining uses of naturaltime 2018-08-21 13:19:26 -04:00
Jason McBrayer 60f70d2cbd Fix a missing icon in post form 2018-08-21 13:15:32 -04:00
Jason McBrayer b851462b12 Add timezone handling to settings and middleware 2018-08-21 13:15:10 -04:00
Jason McBrayer 1d240339de Add humane_time filter
To work properly, it needs to know the user's timezone, and that isn't set
up yet.
2018-08-20 21:43:23 -04:00
Jason McBrayer 2c0cc42ae1 Some improvements to the menu
Not quite what I want -- I want it to stay across the top on mobile with only
icons.
2018-08-17 18:26:19 -04:00
Jason McBrayer 66861e7abd Add options to filter replies and boosts out of timelines 2018-08-17 14:50:37 -04:00
Jason McBrayer de3a42648c Put CW box on minimal post form
To keep things balanced, make main text box smaller.

This is to encourage the routine use of CWs as subject lines.
2018-08-17 08:21:45 -04:00
Jason McBrayer 03c4353476 Sort the emoji guide 2018-08-16 21:19:03 -04:00
Jason McBrayer f2340864a4 Fix the emojos: custom emoji will now be displayed as images (or alt text) 2018-08-16 19:21:51 -04:00
Jason McBrayer 7ea5ecca89 Update version string, and move it into the config file 2018-08-16 13:10:45 -04:00
Jason McBrayer 6fad1afe85 Bump version number 2018-08-09 22:15:41 -04:00
Jason McBrayer 8f54a66470 Add links to custom emoji reference 2018-08-09 22:15:10 -04:00
Jason McBrayer ec90aca699 Add templates and css for emoji reference 2018-08-09 22:01:23 -04:00
Jason McBrayer 54d507ca68 Fix non-working C-RET to submit on full toot page 2018-08-09 10:30:10 -04:00
Jason McBrayer 366f8e8924 Make version visible in about page. 2018-08-08 13:23:59 -04:00
Jason McBrayer 24aec3a968 Add new toot to navbar 2018-08-08 13:08:41 -04:00
Jason McBrayer fca0bad16d Fix navbar to top (mostly useful for mobile) 2018-08-08 12:59:57 -04:00
Jason McBrayer 2171827987 Round the user avatar a bit if it's used as the brand image 2018-08-08 12:52:10 -04:00
Jason McBrayer 8fa5da1409 Do a better job of validating post length
This still doesn't correctly handle the shorter "effective lengths" for handles
and URLs. And it doesn't handle different per-server toot lengths. But it does
catch posts that become too long because the length of the CW is counted as part
of the length of the post body, and gives a validation error rather than
throwing an exception.
2018-08-02 11:13:50 -04:00
Jason McBrayer e794876d14 Fix two places switch from own_username to own_acct was missed 2018-07-23 13:21:30 -04:00
Jason McBrayer c682bdd117 Missing paren in toot page title 2018-07-18 13:48:33 -04:00
Jason McBrayer b974cb1ccc Use your avatar for the favicon: tell multiple accounts apart in tabs 2018-07-18 13:45:04 -04:00
Jason McBrayer 3fd36fa640 Add username to title of pages 2018-07-18 13:40:42 -04:00
Jason McBrayer 6b3b46dff0 Add user icon to various pages to identify which account you're using 2018-07-18 13:33:16 -04:00
Jason McBrayer 2e7ffff2b1 Add missing params in url in user.html 2018-06-24 17:22:41 -04:00
Jason McBrayer 66c351f9e3 Fix paths for user paging 2018-06-24 17:16:28 -04:00
Jason McBrayer bdb6dc16fd Add paging for user pages 2018-06-24 17:07:43 -04:00
Jason McBrayer 894d4ae5fe Push notifications template change 2018-06-24 14:26:07 -04:00
Jason McBrayer 52e83814b6 Add paging to notifications. Untested 2018-06-24 14:19:35 -04:00
Jason McBrayer b72c49e693 Added styling for textarea in fullbrutalism, to fix mobile issue 2018-06-22 07:53:25 -04:00
Jason McBrayer 283996396c More fullbrutalism css fixes
Remember that brutalism isn't the absence of design! It's design that makes
function visible and eschews non-functional finish.
2018-06-13 13:35:21 -04:00
Jason McBrayer e8b90de6f8 Change <i> to <span> for iconified text inside links. 2018-06-13 13:10:27 -04:00
Jason McBrayer 64e2524fd5 Merge branch 'nipos-patch-1' 2018-06-13 12:45:39 -04:00
Niklas Poslovski 9c3bf20bca
Fixed something for FULLBRUTALISM mode
In the more beautiful mode Brutaldon shows by icon color if an post is already boosted or favourited.
In the Fullbrutalism there is now way to see if I already boosted or favourited an post.
With my changes Brutaldon can show the words "favorited" and "boosted" in Fullbrutalism mode.
2018-06-13 18:35:23 +02:00
Jason McBrayer 7420755110 Serve assets locally 2018-06-13 10:17:15 -04:00
Jason McBrayer d90d7cc648 Add some banners to fullbrutalism footer 2018-06-12 12:25:37 -04:00