Commit Graph

478 Commits (759c90fdf8f23ca31fe7191d5122dc4463d3a90b)

Author SHA1 Message Date
Aevann1 acf6ca7d74 remove sidebar background (I hate it) 2022-09-09 11:28:59 +02:00
Aevann1 4791e7b14b revert icon change 2022-09-08 19:24:00 +02:00
Aevann1 e9445efc22 make bootstrap work on localhost 2022-09-08 19:12:46 +02:00
Aevann1 f4e4ff3839 comsetic shit 2022-09-08 17:38:27 +02:00
Aevann1 b2d134fa6c update glowing hat 2022-09-06 23:15:35 +02:00
Aevann1 9bf2d75bce fix chat hats 2022-09-05 10:57:11 +02:00
Aevann1 e6d5839e4d fix chat 2022-09-05 06:38:01 +02:00
Aevann1 b3a56ca168 more hat shit 2022-09-05 06:33:08 +02:00
Aevann1 15732114d9 try making hats work in popover 2022-09-05 06:21:06 +02:00
Aevann1 82237ca585 fix prev commit 2022-09-05 05:17:40 +02:00
Aevann1 fef15b7da9 fix prev commit 2022-09-05 05:16:42 +02:00
Aevann1 f516f21ed3 fix prev commit 2022-09-05 05:15:00 +02:00
Aevann1 2636ae62c2 add hats to chat (Part II) 2022-09-05 05:14:03 +02:00
Aevann1 093ed82fb8 fix prev commit 2022-09-05 05:06:25 +02:00
Aevann1 49bcd0543d add hats to chat, part I 2022-09-05 05:04:48 +02:00
Aevann1 71b5367874 cachebust all css and js 2022-09-05 01:50:43 +02:00
Aevann1 1c12a6a82f decrease max-height for #chat-window by 1vh 2022-08-30 04:00:24 +02:00
Aevann1 0f11312d24 add house awards 2022-08-27 04:57:19 +02:00
Aevann1 67289ffc28 fix chat scrolling on mobile 2022-08-27 02:48:28 +02:00
Aevann1 57c62fad7b do this https://watchpeopledie.co/h/meta/post/6451/changelog-chat-is-now-ioscompatible/117359?context=8#context 2022-08-27 02:15:53 +02:00
Aevann1 0435081198 don't do more than 1 quote (chat) 2022-08-26 22:44:24 +02:00
Aevann1 edf9911123 don't force websockets 2022-08-26 22:25:17 +02:00
Aevann1 bc743fc169 try now 2022-08-26 21:47:40 +02:00
Aevann1 c7359d90b7 try now 2022-08-26 21:39:50 +02:00
Aevann1 c19eb23a67 despair 2022-08-26 21:35:58 +02:00
Aevann1 7e491208a3 chat shit 2022-08-26 21:31:46 +02:00
Aevann1 d2c6cf362e scroll chat on sending 2022-08-26 21:30:10 +02:00
Aevann1 71828e6528 fix Enter on iOS (chat) 2022-08-26 21:28:29 +02:00
Aevann1 58879a49a4 testing on prod 2022-08-26 21:24:24 +02:00
Aevann1 48b8788d89 zoom issue 2022-08-26 21:22:40 +02:00
Aevann1 483bacb5e3 fix zoom issue 2022-08-26 21:11:24 +02:00
Aevann1 d5f1e3f377 fixing zoom issue on safari 2022-08-26 21:03:42 +02:00
Aevann1 a10739af77 go back to polling for iOScels 2022-08-26 20:41:38 +02:00
Aevann1 750f045776 scroll chat when textarea is clicked 2022-08-26 20:32:25 +02:00
Aevann1 f1f71520bf dude testing on prod lmao 2022-08-26 20:31:53 +02:00
Aevann1 84777d1b29 dude testing on prod lmao 2022-08-26 20:31:28 +02:00
Aevann1 21fc6fe19c dude testing on prod lmao 2022-08-26 20:30:52 +02:00
Aevann1 9f55ff5458 chat depression 2022-08-26 20:30:15 +02:00
Aevann1 2211e81d80 chat 2022-08-26 20:29:05 +02:00
Aevann1 43ac6e96fb scroll chat when textarea is clicked 2022-08-26 19:57:31 +02:00
Aevann1 25a62abc13 use minified version of socket.io 2022-08-26 18:34:38 +02:00
Aevann1 e7b997fd01 testing on prod 2022-08-26 18:11:01 +02:00
Aevann1 fd7114d335 extend css rule in chat 2022-08-26 17:00:58 +02:00
Aevann1 8ca2812dac fix blockquotes in chat 2022-08-26 17:00:19 +02:00
Aevann1 6ea5e5f679 fix blockquotes in chat 2022-08-26 16:58:48 +02:00
Aevann1 fdf8d0511f fix issues with chat 2022-08-26 16:53:56 +02:00
Aevann1 432f90b8d8 try to fix 2022-08-26 01:34:20 +02:00
Aevann1 54a5357136 why did i write this garbage code 2022-08-26 01:31:31 +02:00
Aevann1 027a4a854a fix prev commit 2022-08-26 01:30:05 +02:00
Aevann1 7162d015b0 cachebusting 2022-08-26 01:28:38 +02:00
Aevann1 46dafed5c6 fix prev commit 2022-08-26 01:27:11 +02:00
Aevann1 0aa631fa13 fix prev commit 2022-08-26 01:24:29 +02:00
Aevann1 d15b416397 add "just now" to chat messages delievered by sockets 2022-08-26 01:20:17 +02:00
Aevann1 7860b85450 Revert "consolidate blockquote css rules"
This reverts commit 5b5f663342.
2022-08-25 23:30:29 +02:00
Aevann1 5b5f663342 consolidate blockquote css rules 2022-08-25 18:45:11 +02:00
Aevann1 2139b89d44 cachebust 2022-08-25 00:23:57 +02:00
Aevann1 25ca3e9ddc remove chat-specific css rule 2022-08-23 20:32:28 +02:00
Aevann1 f5a1a1b00d testing cosmetic changes on prod 2022-08-21 15:20:55 +02:00
Aevann1 d4b7045737 remove cfasync from chat script 2022-08-19 15:58:29 +02:00
Aevann1 2185fe429e tryna fix a bug with chat 2022-08-19 00:33:05 +02:00
Aevann1 e301fb458f change overflow: scroll to overflow: auto 2022-08-15 08:56:01 +02:00
Aevann1 1ac177539e chat margin change again 2022-08-15 08:54:32 +02:00
Aevann1 4b89f64fdd chat margin change again 2022-08-15 08:53:04 +02:00
Aevann1 b2793bb3d9 chat margin change again 2022-08-15 08:51:35 +02:00
Aevann1 acabaf0dc9 chat margin change again 2022-08-15 08:51:09 +02:00
Aevann1 a27bd2e85a chat margin change again 2022-08-15 08:50:47 +02:00
Aevann1 d0dc9a371a chat margin change again 2022-08-15 08:50:07 +02:00
Aevann1 e69534808f chat margin change again 2022-08-15 08:49:31 +02:00
Aevann1 7d5e2ea3c3 chat margin change again 2022-08-15 08:49:09 +02:00
Aevann1 9ba484df86 like prev commit 2022-08-15 07:46:18 +02:00
Aevann1 5736dd16e0 like prev commit 2022-08-15 07:45:54 +02:00
Aevann1 278a57cf86 like prev commit 2022-08-15 07:45:09 +02:00
Aevann1 1076592b35 like prev commit 2022-08-15 07:44:14 +02:00
Aevann1 9306814fb8 like prev commit 2022-08-15 07:43:46 +02:00
Aevann1 ab89cc12e4 like prev commit 2022-08-15 07:35:41 +02:00
Aevann1 0646d14e12 like previous commit 2022-08-15 07:35:24 +02:00
Aevann1 5a97cc419f like previous commit 2022-08-15 07:35:07 +02:00
Aevann1 1e029a6971 like prev commit 2022-08-15 07:34:31 +02:00
Aevann1 730c2da234 like prev commit 2022-08-15 07:33:33 +02:00
Aevann1 9a490c530e like prev commit 2022-08-15 07:32:15 +02:00
Aevann1 45ca944788 like prev commit 2022-08-15 07:31:46 +02:00
Aevann1 cb6928a88a like prev commit 2022-08-15 07:31:25 +02:00
Aevann1 1045c65c43 like prev commit 2022-08-15 07:30:38 +02:00
Aevann1 8f86e593ca like prev commit 2022-08-15 07:29:59 +02:00
Aevann1 1addc05b19 make chat-window smaller on mobile to prevent overflow 2022-08-15 07:29:24 +02:00
Aevann1 01cc1726cc fix chat flash 2022-08-15 07:19:41 +02:00
Aevann1 c619204ec0 pretty up chat again 2022-08-14 15:40:47 +02:00
Aevann1 fca0f5434b pretty up chat 2022-08-14 15:38:08 +02:00
Aevann1 a817fc35c0 show online on chat in dropdown menu 2022-08-14 05:51:25 +02:00
Aevann1 0fa6442846 change chat char limit again 2022-08-14 04:38:07 +02:00
Aevann1 c6c5c6b45b chat cosmetic changes 2022-08-13 13:07:57 +02:00
Aevann1 c4e5c8aefe reduce chat max char limit 2022-08-13 11:45:33 +02:00
Aevann1 13a6243496 revert prev commit 2022-08-13 11:15:36 +02:00
Aevann1 7b2d7bb884 cosmetic changes to chat 2022-08-13 11:15:02 +02:00
Aevann1 5c0dd43688 cosmetic changes to chat 2022-08-13 11:14:21 +02:00
Aevann1 dbbcd77e9a cosmetic changes to chat 2022-08-13 11:13:15 +02:00
Aevann1 0a1927e4f2 cosmetic changes to chat 2022-08-13 11:11:56 +02:00
Aevann1 eb684a90b7 cosmetic changes to chat 2022-08-13 11:10:57 +02:00
Aevann1 5824468e2e cosmetic changes to chat 2022-08-13 11:06:32 +02:00
Aevann1 bceae898e4 cosmetic changes to chat 2022-08-13 11:06:12 +02:00
Aevann1 3f44b1b8be cosmetic changes to chat 2022-08-13 11:03:06 +02:00
Aevann1 7245202ec9 cosmetic changes to chat 2022-08-13 11:02:33 +02:00
Aevann1 6a0c3296a7 cosmetic changes to chat 2022-08-13 11:01:22 +02:00
Aevann1 0c11a82e3c fix prev commit 2022-08-13 09:28:37 +02:00
Aevann1 b3c52b0660 fix prev commit 2022-08-13 09:26:00 +02:00
Aevann1 64e3ceb40f add more details to chat tooltip 2022-08-13 09:23:23 +02:00
Aevann1 126a7b4ae3 make chat reply button neater 2022-08-11 09:18:17 +02:00
Aevann1 b83a16668b re-move bootstrap.js back to the top of documents to fix broken shit 2022-08-06 03:20:25 +02:00
Aevann1 4c2cb82f48 change deux' assets 2022-07-10 22:27:56 +02:00
Aevann1 382df30e1f show ALL timestamps in user's timezone + move scripts to the bottom of HTML templates to mimic rocketloader's behavior on localhost (for testing) 2022-07-09 10:35:47 +02:00
Aevann1 57e424af5b revert the "defer" thing 2022-07-03 12:10:04 +02:00
Aevann1 a49325ba14 defer all scripts (this won't change anything for us since we use rocketloader, but it will fix javascript on localhost) 2022-07-03 09:42:33 +02:00
Aevann1 d59f346f0b 1 less request, 1 less transaction, 1 less query 2022-07-01 23:10:48 +02:00
Snakes 1b9237ceaf Add assetcache.asset_siteimg, has_logo.
Commit began by changing the duplicated SITE_NAME conditional in the
header to use a `has_logo` param, much like the recent `has_sidebar`.
From there, a need to include site-specific assets in assetcache was
revealed, adding the `asset_siteimg(...)` macro. This was applied
quite broadly, though not comprehensively.
2022-07-01 01:55:53 -04:00
2xsaiko b2461cd1d1 Fix quote rendering in chat (#310) 2022-06-30 19:01:01 -04:00
Aevann1 b5d993569f embed rework 2022-06-27 03:00:45 +02:00
Aevann1 e022b29ef6 rework custom css a little 2022-06-26 07:26:45 +02:00
Aevann1 74978bfbf7 Revert "put custom CSS into HTML templates"
This reverts commit 19c82b7ea1.
2022-06-26 07:07:28 +02:00
Aevann1 19c82b7ea1 put custom CSS into HTML templates 2022-06-26 06:33:41 +02:00
Aevann1 a64dd729e8 escape asterick when quoting 2022-06-24 18:25:21 +02:00
Aevann1 41cebb7f80 fix accidential greentext in chat 2022-06-24 17:37:31 +02:00
Aevann1 f34c4e1196 stop using app.config for our own stuff 2022-06-24 17:08:57 +02:00
Aevann1 ef3843f628 add timer to re-enable form buttons after 1 second 2022-06-24 04:53:31 +02:00
Aevann1 4d692bebe8 make all form-submitting buttons get disabled after clicking
so spergs like me with poor motor control don't click twice and get hit with 429
2022-06-23 22:49:23 +02:00
Aevann1 d704592bdd cache-bust all previously broken images 2022-06-22 17:59:47 +02:00
Aevann1 20585ca543 add a shortened endpoint for static images and rename loading.webp to l.webp (to save bytes) 2022-06-22 17:51:19 +02:00
Aevann1 10ffa90167 make the javascript use 1 linefeed instead of 2
we don't need it to do 2 linefeeds anymore
because the backend handles that before sanitizng
2022-06-10 20:05:54 +02:00
Snakes cb5f9d05c6 templates: Fix improper plurals, create helpers.
Previously, the three instances of 'Report[s]' and one instance of
'Coin[s]' in the UI templates were always pluralized, even when they
referred to a singular instance. This has been corrected by creating
a `plural` helper macro.

Additionally, this was used as impetus to create `utils/helpers.html`
to eventually move more recurring template logic into macros.
2022-06-07 05:26:22 -04:00
Snakes 80d04b6d9d assetcache: Add theme CSS support; bust recent. 2022-05-30 01:50:52 -04:00
Snakes 0aafd810a2 assetcache: Add dynamic file parameter, apply more.
Assetcache macro improvement: to support assets in folders which are
dynamically referenced by e.g. ID or name, the `asset` macro now
accepts an optional second parameter to be included in the path but
not to be used for versioning the class of assets.

To support recent commits, assetcache now applies for:
  - images/badges/*.webp
  - js/: award_modal.js, bootstrap.js, header.js
2022-05-29 00:52:40 -04:00
Aevann1 6584919d41 sdf 2022-05-28 22:25:28 +02:00
Aevann1 20bce86d33 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-27 22:03:25 +02:00
Aevann1 ead4c791a8 sdf 2022-05-27 22:03:23 +02:00
HappyDOGE 9c8c08ecb5 update bootstrap (#287) 2022-05-27 21:40:01 +02:00
HappyDOGE d6b4c3b166 Added offline service worker (serves a static webpage when no internet connection is present) (#285)
based
2022-05-27 21:23:01 +02:00
Snakes af77ec515d Templates: create assetcache template.
For too long, we've Replace-All'd to increment site asset version
numbers. This is a task that has an obvious solution using the
templating engine. As such, we now have templates/util/assetcache.html
which contains a dict of version numbers and a macro to generate the
versioned name of an asset.

Going forward, it is recommended that all future replace-all uses
are used as opportunities to switch to the macro. Do remember to
import the macro in all top-level templates, if not already present.
Recommended form: {%- from 'util/assetcache.html' import asset -%}
Then add a key to CACHE_VER in util/assetcache.html.
Then replace the asset path in templates eg: {{asset('css/main.css')}}

For all future versions of those assets, one can simply increment
the value in util/assetcache.html instead. This will greatly reduce
git spam touching unrelated files and generally be clearer and easier.
2022-05-26 22:47:32 -04:00
Aevann1 22aacf86ec vf 2022-05-27 00:23:16 +02:00
Aevann1 163267c88c Revert "Add Y'all Seein' Eye award."
This reverts commit a0f441a67d.
2022-05-26 02:51:42 +02:00
Snakes a0f441a67d Add Y'all Seein' Eye award.
Adds award to enable viewing profile visitors for non-mops and
non-patrons. This commit should encompass all frontend, backend, and
database changes necessary. Perhaps usable as a model for other
user upgrade flag awards.
2022-05-25 19:44:34 -04:00
Aevann1 6859653e1a sfd 2022-05-25 23:57:38 +02:00
Aevann1 2c67a34047 fsd 2022-05-25 23:55:07 +02:00
Aevann1 b1d57227ff sfd 2022-05-25 03:18:36 +02:00
Aevann1 4e4f667387 journoid 2022-05-25 03:14:18 +02:00
Aevann1 bbd851210e fds 2022-05-24 17:32:49 +02:00
Aevann1 14f4c69785 fds 2022-05-23 19:57:08 +02:00
Aevann1 0a74a98ec5 big ass commit 2022-05-23 00:15:29 +02:00
Aevann1 b9316c0073 fsd 2022-05-21 15:19:02 +02:00
Aevann1 20cc20d806 fsd 2022-05-21 14:36:22 +02:00
Aevann1 a83a72ca95 fsd 2022-05-20 16:51:14 +02:00
Aevann1 f4ac063354 sfd 2022-05-20 16:48:13 +02:00