Commit Graph

445 Commits (a3fa96242cecc298e3f3a303ab68cfe8bce9c0c5)

Author SHA1 Message Date
Aevann1 1d419640a3 make deflector unaffect me 2022-09-06 06:53:49 +02:00
Aevann1 d0cfd8a8c1 change house femboy award 2022-09-06 06:16:41 +02:00
Aevann1 959e08bb83 make marsify not count towards /marseys 2022-09-05 10:49:34 +02:00
Aevann1 88e96988a9 more marsify/owoify shit 2022-09-04 21:43:02 +02:00
Aevann1 2201745c93 add owoify and marsify to offsites 2022-09-02 20:10:35 +02:00
Aevann1 57d7e2c125 fix owoify and marsify getting wasted when awarded on a post 2022-09-02 00:11:30 +02:00
Aevann1 1706b15ce6 fix deflector not working for house awards 2022-08-30 20:35:03 +02:00
Aevann1 2806634199 show the real base price for house awards when ur founder 2022-08-30 07:08:04 +02:00
Aevann1 8229425598 fix dict oopsie I did when adding house awards 2022-08-30 07:06:59 +02:00
Snakes 9c03ab2d5e
Fix owoify award affecting links, emoji, markup. 2022-08-27 00:48:44 -04:00
Aevann1 c497c589c9 make deflector work on house awards 2022-08-27 05:29:07 +02:00
Aevann1 df022bd003 make marsify and owoify user-level 2022-08-27 05:22:57 +02:00
Aevann1 0f11312d24 add house awards 2022-08-27 04:57:19 +02:00
Aevann1 6a21dd347b Revert "Revert "Revert "restore autoflush"""
This reverts commit d84b26fc77.
2022-08-25 17:04:33 +02:00
Aevann1 d84b26fc77 Revert "Revert "restore autoflush""
This reverts commit 5aa03d87bb.
2022-08-24 16:36:44 +02:00
Aevann1 5aa03d87bb Revert "restore autoflush"
This reverts commit 687cd766b9.
2022-08-23 17:17:37 +02:00
Aevann1 e02756669b track awards granted by jannies 2022-08-18 22:10:58 +02:00
Aevann1 687cd766b9 restore autoflush 2022-08-17 18:36:59 +02:00
Aevann1 a571ab3e69 limit my awards number to 100 2022-08-17 08:26:07 +02:00
Aevann1 c2ea38ec68 allow me to give more than 10 awards at a time 2022-08-17 08:24:59 +02:00
Aevann1 0429da4493 mod action notifs rework 2022-08-05 23:50:30 +02:00
Snakes 3225a2a3d4
LGB: disable awards, badges. 2022-07-19 19:59:39 -04:00
Snakes 8f7d05d62d
Refactor feature flags to dict.
In anticipation of adding about a dozen more features flags to support
work for LGB, PIN_ENABLED and PROCOINS_ENABLED have been moved to the
FEATURES dict in const.py. More generally looking to create a unified
interface for logically-related constants, perhaps to support e.g.
later moving these settings from hardcoded constants to data.
2022-07-18 01:10:01 -04:00
Aevann1 2d21863e19 replace "request.host" with "SITE" 2022-07-13 20:14:37 +02:00
Aevann1 a088a6ec7b censor slurs on flairs 2022-07-12 22:09:59 +02:00
Aevann1 bf1fec7918 remove ban_reason when unbanning users 2022-07-11 14:35:28 +02:00
Aevann1 c380848d47 remove leftover code from ill-fated joinedload attempt 2022-07-08 20:28:56 +02:00
Snakes 33815d8365 Add badge for Checkmark award users. 2022-07-02 21:34:32 -04:00
Aevann1 e8f5827c5e more testing 2022-07-01 15:34:11 +02:00
Snakes 08c2ec7223 Make pin disabling site-specific. 2022-06-28 02:27:25 -04:00
Aevann1 cbbd361197 fix rehab award 2022-06-28 03:39:55 +02:00
Aevann1 bb9d842f81 disable progressive stack too 2022-06-28 02:28:59 +02:00
Aevann1 d10a1c8693 disable pinning for 3 days 2022-06-28 02:24:16 +02:00
Aevann1 cff34fb3a4 reducing query volume, #2 2022-06-26 03:11:02 +02:00
Aevann1 bc7185b5af order awards by the time they were awarded 2022-06-25 22:33:51 +02:00
Aevann1 6f6d01c1c6 actually use the get functions 2022-06-24 15:19:53 +02:00
Aevann1 f60db1598d replace "g.db.query" on pkeys with the much more efficient "g.db.get" 2022-06-18 02:57:23 +02:00
Aevann1 3bc98f0a6b extend TLSM's badge_grant() to almost all instanes where badges are granted 2022-06-15 21:33:21 +02:00
Aevann1 f8c60e61f9 expand modaction notifications to ban, unban, and grass awards
(but only if used by JL3, since they can print awards willy nilly)
2022-06-13 19:22:30 +02:00
Aevann1 87ba1ba50e fix benefactor exploit (thx sneks my beloved) 2022-06-10 22:40:04 +02:00
Snakes 8709ca816d Add Y'all Seein' Eye award v2 for offsitementions.
Reusing the assets and design for the ill-fated YSE in a0f441a67d.
This time, the award provides access to our offsite mentions (reddit
notifs).
2022-06-10 07:12:19 -04:00
Snakes 5f7b38b477 Refactor stat timers, award timers.
Prior to this comment, the every-1d cron.py command was broken due
to lack of proper stats import. However, while refactoring this, it
was convenient to move other recurring tasks that had been stuffed in
odd places--not least `stats(...)`--into the new cron system. This
entailed a number of refactorings of other things.

1. Move stats(...) from static.py to helpers/stats.py.
2. Move hole inactivity purge task from stats(...) to routes/subs.py.
3. Move bot award timer checks from stats(...) to helpers/awards.py.
4. Unify award timer logic formerly in routes/front.py into the new
   helpers/awards.py.
2022-06-10 05:47:41 -04:00
Aevann1 d761fc27cd Revert "Make CARP_ID's flair uneditable by others."
This reverts commit c2266985b7.
2022-06-07 11:18:09 +02:00
Snakes c2266985b7 Make CARP_ID's flair uneditable by others.
This is a kludge solution that sticks special case logic in places
it shouldn't be. However, community management demands necessitate it
quickly. Of the three ways to change a flair (customtitle), this
prevents using flairlocks and admin flair editing on the user with
CARP_ID. Only the user himself may change his flair through settings.
2022-06-04 23:34:44 -04:00
Aevann1 4c112b1edb dsf 2022-05-27 23:31:02 +02:00
Aevann1 66b3efab36 award refactor 2022-05-27 01:08:23 +02:00
Aevann1 957cf5ba8f dfs 2022-05-26 20:09:44 +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 94151bf2d6 fsd 2022-05-25 21:45:03 +02:00
Aevann1 5548160912 fsd 2022-05-20 00:56:53 +02:00
Snakes c789f6923e Merge remote-tracking branch 'upstream/frost' into birthgay-staging 2022-05-19 17:59:35 -04:00
Snakes 289a00c302 Lootboxes: remove notification to Carp. 2022-05-18 17:33:40 -04:00
Snakes b51ab09b27 Lootboxes: re-enable for birthgay, improve.
Re-enable lootboxes in const.py, and update their contents in
awards.py. Additionally, improve appearance in shop.

Upon purchasing a lootbox, users now receive a message informing
them of the contents thereof.

Lootbox backend now properly uses CARP_ID (and checks for the
existence thereof correctly).

Also, minor changes to how const.py whitelists awards.
2022-05-17 22:10:04 -04:00
Aevann1 9bd8fcbd1c sf 2022-05-10 09:20:49 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 47d01ed00b vb 2022-05-03 04:15:35 +02:00
Aevann1 ac4da7516d fsdfds 2022-04-22 15:23:56 +02:00
Aevann1 9c0441aef9 fsd 2022-04-17 23:46:29 +02:00
Aevann1 2abddddc30 fsd 2022-04-15 17:05:19 +02:00
Aevann1 752c974c72 fsd 2022-04-14 19:31:45 +02:00
Aevann1 e6c0044d35 fart 2022-04-10 02:37:45 +02:00
Aevann1 15a02cf3cd fds 2022-04-10 01:07:03 +02:00
Aevann1 77175051ac gd 2022-04-07 01:50:32 +02:00
Aevann1 cc2b6eb006 fsd 2022-04-05 21:08:06 +02:00
Aevann1 f1fdeb866c fsd 2022-04-05 20:41:54 +02:00
Aevann1 8baefa2572 fsd 2022-04-03 18:08:54 +02:00
Aevann1 322e87db72 fds 2022-04-01 15:27:01 +02:00
Aevann1 79b92cf8b3 fsd 2022-03-29 20:24:09 +02:00
Aevann1 37d5003af4 bbbbbbbbbbbbb 2022-03-27 15:39:21 +02:00
Aevann1 e677dd0514 fsd 2022-03-24 02:59:54 +02:00
Aevann1 de577db8fe gf 2022-03-24 00:57:31 +02:00
Aevann1 a6a07f8143 delfector 2 2022-03-24 00:49:18 +02:00
Aevann1 6fc9de8278 deflector award 2022-03-24 00:42:33 +02:00
Aevann1 329f34a6e6 pizza 2022-03-17 18:12:59 +02:00
Aevann1 de6cebe659 aw 2022-03-17 10:59:44 +02:00
Aevann1 514d6ec126 right 2022-03-09 03:44:53 +02:00
Aevann1 94f2a69167 N 2022-03-01 01:30:44 +02:00
Aevann1 8ce15e6c61 fds 2022-02-28 02:14:53 +02:00
Aevann1 0995f70eb3 fd 2022-02-28 02:13:07 +02:00
Aevann1 18fb196922 permenantly 2022-02-25 19:25:31 +02:00
Aevann1 4f7d207260 fds 2022-02-24 15:20:48 +02:00
Aevann1 7c90b95880 fds 2022-02-23 07:32:19 +02:00
Aevann1 5871c6106e vc 2022-02-22 13:43:38 +02:00
Aevann1 13e575a6b5 fgh 2022-02-19 23:42:55 +02:00
Aevann1 90756ac07a nvb 2022-02-18 22:38:07 +02:00
Aevann1 4055fa2638 xvc 2022-02-18 10:45:36 +02:00
Aevann1 a535c7d2df v 2022-02-18 10:01:21 +02:00
Aevann1 fb9c0a23dc exiles 2022-02-16 06:33:13 +02:00
Aevann1 b46978d537 gf 2022-02-16 04:15:17 +02:00
Aevann1 f1fbb733fa f 2022-02-16 01:24:13 +02:00
Aevann1 ed3a7b9d71 df 2022-02-16 01:14:50 +02:00
Aevann1 891afa54ed fd 2022-02-15 02:18:54 +02:00
Aevann1 de4e019abc sfd 2022-02-13 23:25:09 +02:00
Aevann1 22eaa9e7f8 xvc 2022-02-13 01:10:29 +02:00
Aevann1 97febe0080 big chungus commit 2022-02-12 01:32:14 +02:00
Aevann1 b036390fea vx 2022-02-08 11:39:41 +02:00
Aevann1 ef64860c40 fsd 2022-02-04 04:25:42 +02:00
Aevann1 b70cf702b6 f 2022-02-02 02:06:29 +02:00
BuckFromRdrama eddbf6726d Shop discount QoL (#195) 2022-02-01 14:59:57 -08:00
Aevann1 f9f918dfd8 fd 2022-02-01 18:12:43 +02:00
Aevann1 492579d805 Bhm (#189)
* Update user.py

* Update awards.py

* Update comments.py

* Update const.py

* Update awards.py

* Update user.py

* Update const.py

* Update awards.py

* Update comments.py

* use bhm banners

* bhm pfps (#194)

Co-authored-by: beese_buck <16601315+geese-suck@users.noreply.github.com>
Co-authored-by: geese_suck <16601315+cant-be-blenk@users.noreply.github.com>
2022-01-31 20:20:31 -08:00
Aevann1 b0cd33dcf7 biggest money 2022-01-31 03:41:04 +02:00
Aevann1 951f873a91 fds 2022-01-29 04:48:34 +02:00
Aevann1 cabb0a49e8 vcvc 2022-01-27 22:25:48 +02:00
Aevann1 5bf6fd1e0d vcx 2022-01-25 05:16:41 +02:00
Aevann1 0a06937147 f 2022-01-25 01:49:02 +02:00
Aevann1 e493592a23 vc 2022-01-24 22:26:15 +02:00
Aevann1 8956f37bc0 cxvdf 2022-01-24 20:01:15 +02:00
Aevann1 25d9419388 vcvc 2022-01-24 19:37:37 +02:00
Aevann1 8c3066016e vcx 2022-01-24 03:20:29 +02:00
Aevann1 594fbfd41c vcxxcv 2022-01-23 18:54:57 +02:00
Aevann1 9c1c225ed9 cxzxzc 2022-01-22 12:14:15 +02:00
Aevann1 9a04ca8def vxcvxc 2022-01-22 02:02:58 +02:00
Aevann1 5f9c17754c vxccxv 2022-01-22 01:59:48 +02:00
Aevann1 7d4c959c47 xcvxvcvxc 2022-01-22 01:59:39 +02:00
Aevann1 92b0d45bec cvxxc 2022-01-22 01:58:01 +02:00
Aevann1 0f58d70cce 100000000k 2022-01-19 08:20:05 +02:00
Aevann1 7812ceb338 sfd 2022-01-19 07:09:28 +02:00
Aevann1 6df9369d60 fdsfds 2022-01-17 23:26:03 +02:00
Aevann1 a8d5522382 bvv 2022-01-17 22:29:06 +02:00
Aevann1 7b2a217830 vc 2022-01-17 20:38:15 +02:00
Aevann1 202c20a964 ggf 2022-01-17 20:20:42 +02:00
Aevann1 b617163a1c vvv 2022-01-17 13:06:12 +02:00
Aevann1 8ed146a733 bbbbbbbbbbbbbbbb 2022-01-16 03:47:21 +02:00
Aevann1 2b6418a132 testing 2022-01-15 08:31:17 +02:00
Aevann1 3ab53cad82 b 2022-01-14 14:04:35 +02:00
Aevann1 b5762b2e86 fv 2022-01-12 03:19:13 +02:00
Aevann1 d0528c0431 bbb 2022-01-11 02:11:34 +02:00
Aevann1 b69199054c under attack 2022-01-09 17:15:02 +02:00
Aevann1 d0f3ae65e5 sfd 2022-01-07 23:03:14 +02:00
Aevann1 8a0d51c4e0 cvxx 2022-01-07 21:13:01 +02:00
Aevann1 1eda3802a9 fds 2022-01-07 03:39:07 +02:00
Aevann1 b0d56b91ef fds 2022-01-07 00:28:27 +02:00
Aevann1 2c7a98e433 big one 2022-01-06 18:46:09 +02:00
Aevann1 1c8f30ec1e fds 2022-01-03 12:32:31 +02:00
Aevann1 47bd01eaa6 fdsfsd 2022-01-02 20:29:24 +02:00
Aevann1 633a7131e3 fdsfs 2022-01-02 20:25:24 +02:00
Aevann1 ab3ec6a158 fdsfds 2022-01-02 19:13:51 +02:00
Aevann1 20c3bf0185 fdsfds 2022-01-02 19:13:21 +02:00
Aevann1 e5d8c6e5ed dfs 2022-01-02 14:10:01 +02:00
Aevann1 11e4cfc5f7 fds 2022-01-02 02:26:34 +02:00
Aevann1 00e5e1c048 fsd 2022-01-02 02:06:46 +02:00
Aevann1 1a23f75d0a fdsdsf 2022-01-02 00:51:39 +02:00
Aevann1 aaee13708d fsd 2022-01-01 22:20:15 +02:00
Aevann1 29a8c604e1 big update 2022-01-01 01:45:27 +02:00
Aevann1 89798803af dfs 2021-12-30 07:27:22 +02:00
Aevann1 9222d8d8fd sfd 2021-12-28 21:32:32 +02:00
Aevann1 ed9184028d fds 2021-12-28 15:51:26 +02:00
Aevann1 852b164b3c fsd 2021-12-27 05:32:35 +02:00