Aevann1
26bbc8b69a
perserve the first 4 checkboxes in /submit too
2022-08-15 08:42:59 +02:00
Aevann1
9472f1f980
fix wrong info on /submit
2022-08-13 10:44:13 +02:00
Aevann1
f6729aab33
fix https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2487028?context=8#context
2022-08-11 19:18:53 +02:00
Snakes
1411018f8d
Add post categories.
...
Implemented for LGB but can likely be used for WPD and other future
sites. Similar to a reddit post flair. Provides:
- Admin panel for Category management.
- Category selection on post submission.
- 'Recategorize' post action.
2022-08-07 02:57:30 -04: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
Snakes
eb55a6cc01
LGB: disable country club.
2022-07-19 21:50:08 -04:00
Nekobit
bde47271d7
Allow Inline Emoji modal in more areas ( #318 )
...
* Sneed
* Bust cache
2022-07-17 07:42:03 +02:00
Nekobit
4b47faa1ed
Inline Emojo Picker ( #317 )
...
* Inline emoji picker
* Inline text editor
2022-07-17 07:02:22 +02:00
Aevann1
2d21863e19
replace "request.host" with "SITE"
2022-07-13 20:14:37 +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
a8fe49f232
kitchen sink commit, all over the place
2022-07-08 21:03:04 +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
Aevann1
25e594d673
Revert "no longer stop reposts from being posted"
...
This reverts commit 19e6e7f4d9
.
2022-07-01 20:29:12 +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
Aevann1
19e6e7f4d9
no longer stop reposts from being posted
...
(just give the warning and that's it)
2022-06-29 03:37:44 +02:00
Aevann1
5c597d4990
fix b3ca7ce8ac
2022-06-29 03:31:59 +02:00
Aevann1
1a1b57d3d9
make "toggle preview" button in the same row as other buttons
2022-06-28 04:09:23 +02:00
Aevann1
8475a2352e
Revert "remove "toggle preview" button"
...
This reverts commit d2036a34f3
.
2022-06-28 04:06:57 +02:00
Aevann1
d2036a34f3
remove "toggle preview" button
2022-06-28 03:38:45 +02:00
Aevann1
6bd4efa61f
Revert "make small text less small"
...
This reverts commit 42b0f37034
.
2022-06-27 04:33:38 +02:00
Aevann1
42b0f37034
make small text less small
2022-06-27 04:18:14 +02:00
Snakes
e0c3c79902
WPD: Require flairs on all posts.
2022-06-26 03:42:56 -04:00
Snakes
cd556b6d8e
Refactor UI name of hole/sub to constant.
2022-06-26 03:41:28 -04: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
17c81ea9ef
reduce margin above "toggle preview"
2022-06-24 17:40:05 +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
222367cea8
fix 500 errors
2022-06-24 03:28:34 +02:00
Aevann1
9dbe67bf90
respect user's chosen themecolor
2022-06-24 03:27:49 +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
d9cdbd0015
return to only allowing images/videos/audio
2022-06-19 18:56:45 +02:00
Aevann1
ccdabcba29
allow uploading of all types of files (using lain.la)
...
+ allow multiple file upload in bios and messaging admins
2022-06-18 17:53:34 +02:00
Snakes
a8155d964a
Kitchen sink: emoji content, assert, assetcache.
...
These are all minor and uncontroversial enough it just felt gross
making multiple commits.
- Adds marseymummified.
- Changes the new `raise ValueError(...)` in badge_grant to
an `assert`.
- Expands assetcache to a convenient grab bag of JS files.
2022-06-15 17:17:31 -04:00
Aevann1
cd5f8a528b
in the preview, dont replace '\n' with '\n\n' if the text
...
has "```" or "<pre>" (to match backend behavior)
2022-06-15 22:12:03 +02:00
Aevann1
12a9307ab3
don't restrict file extensions on the frontend side (leave it to the backend)
2022-06-11 13:38:45 +02:00
Aevann1
f548c2077d
show names of all files when pasting instead of just the first file
2022-06-11 00:37:55 +02:00
Aevann1
cda275c194
replace \n with \n\n in previews (to match the backend behavior)
2022-06-10 21:45:48 +02:00
Aevann1
900edaa92e
made it so you can click "CTRL+Enter" anywhere in
...
/submit in order to make a post
2022-06-09 13:12:25 +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