Commit graph

151 commits

Author SHA1 Message Date
Liam
1b020a4fe9 Fix some credo issues 2024-06-24 23:23:43 -04:00
liamwhite
1a7fbb29eb
Merge pull request #300 from philomena-dev/ad-extraction
Ads logic cleanup
2024-06-24 16:25:46 -04:00
Liam
2e5b0678cd Remove obsolete block-all-mixed-content
This was removed in all major browsers with no replacement.
See https://www.w3.org/TR/mixed-content/#strict-checking for details on the obsolescence.
2024-06-23 11:52:20 -04:00
Luna D
6f0a2698f1 Remove conn from details_func invocation 2024-06-23 10:45:37 -04:00
Liam
003ebed59a Move advert update server to app namespace and convert to GenServer 2024-06-22 13:59:59 -04:00
Liam
180aa23478 Extract ad restriction application to new module 2024-06-22 12:35:19 -04:00
Liam
a344062d53 Update response header usages for list format 2024-06-20 19:49:19 -04:00
Liam
6170e0b5dd Replace Tesla with Req 2024-06-19 23:35:44 -04:00
Luna D
97feb0ac00 Add version 4 TypeScript-based FP calculation 2024-06-13 10:24:39 -04:00
Liam
566ba9d4c1 Split out query features to PhilomenaQuery namespace 2024-06-03 21:08:33 -04:00
Liam
c63bc41d8b Split out HTTP client interaction into PhilomenaProxy namespace 2024-06-02 19:26:00 -04:00
Liam
d9b3fe4fc8 Remove old route helpers 2024-06-01 22:28:32 -04:00
Liam
e84d451c2b mix convert_to_verified_routes && mix format 2024-06-01 22:28:32 -04:00
Liam
f232f38d91 Add verified routes to web 2024-06-01 22:28:32 -04:00
liamwhite
b235f545f2
Truncate incoming referrer string (#260) 2024-05-18 16:29:27 -04:00
Liam
852f870ccf USe compile-time environment checks 2024-05-03 21:06:15 -04:00
Nighty
dd8c2c81d9
Vite HMR for JS/TS (and jankily for CSS) (#242)
* prelim work on vite reload

* the best solution to a problem is usually the easiest one
2024-04-30 13:13:46 -04:00
liamwhite
77548057e8
Relax CSP on development error pages (#238) 2024-04-28 14:09:08 -04:00
Eliot Partridge
217621a9e1
Hide Queue staff link if user can't approve images (#200) 2023-12-03 20:56:32 -05:00
byte[]
3ff083f157 Use only hostname check in tor plug 2023-03-30 12:44:12 -04:00
byte[]
6cdcfb2dcd Spawn for upload persistence 2022-07-18 11:33:45 -04:00
Luna D
26deaaf588
approval queue stuff 2022-03-24 18:44:39 +01:00
Luna D
9f4b8c3556
import helper instead of calling plug directly 2021-11-08 14:45:19 +01:00
Luna D
f555c337ea
basic moderation logs 2021-11-07 19:51:55 +01:00
byte[]
cafba455cd Don't halt idempotent requests 2021-11-06 08:09:32 -04:00
liamwhite
10fc962da6
Video upload previews (#141) 2021-10-05 21:31:50 -04:00
Luna D
1739373bf7
preliminary removal of textile and big migration 2021-09-29 22:05:16 +02:00
Luna D
ae3411b7a2
add user flag to bypass rate limits 2021-09-17 21:14:23 +02:00
VcSaJen
269caabd5e
Return some BoR functionality to forums (#115)
* return some BoR functionality to forums

- Added searching by forum slug
- Display forum/topic/post-num in search results for each post
- Display who locked topic for moderators

* fix topic position bug (Fixes philomena-dev/philomena#110)
2021-05-09 13:21:45 -04:00
byte[]
79427af142 add and configure sobelow 2021-04-01 12:49:41 -04:00
byte[]
8c881da01c whoops 2021-03-17 19:17:59 -04:00
byte[]
35e12420af strongly segregate domains of main site and ugc in security policy 2021-03-16 20:24:58 -04:00
byte[]
92ade8e543 pass on empty scraper url (fixes philomena-dev/philomena#81) 2020-12-08 15:12:31 -05:00
byte[]
1f57d0041c propagate filename through scraper (fixes derpibooru/philomena#226) 2020-12-06 12:40:38 -05:00
Parasprite
a244b8d322 Updates user link to artist link (code side)
make user link


Update structure for artist links


bap
2020-11-26 15:30:17 -05:00
byte[]
37adb661fb display bans in sorted order (fixes philomena-dev/philomena#66) 2020-11-15 21:00:05 -05:00
parasprite
e058a212e7
Removes discourage bans (#65)
Co-authored-by: Parasprite <foalspeedahead@gmail.com>
2020-11-07 00:22:41 -05:00
byte[]
1436c7ff06 update connecting ip in session 2020-10-12 03:01:20 -04:00
byte[]
a00cdab739 improve ajax error messages 2020-09-27 23:53:14 -04:00
byte[]
fc159c3782 centralize ajax determination 2020-09-27 23:47:32 -04:00
SomewhatDamaged
70959e9094
Damaged limit staff skip (#20)
* Adds ability to enforce limits on staff

* Fix space
2020-09-24 09:36:39 -04:00
byte[]
6a045ce88e don't bump ratelimit after unsuccessful attempts 2020-09-14 20:52:02 -04:00
byte[]
6deab827ac store filter_id in a long-lived cookie (derpibooru/philomena#139) 2020-09-14 20:02:43 -04:00
liamwhite
653fd0a4af
hCaptcha (#19) 2020-09-12 13:43:16 -04:00
byte[]
ecfe60bcaa don't recode tag slugs, fixes #18 2020-09-10 11:20:25 -04:00
byte[]
39ce0ae4fd require http clients to handle errors 2020-09-09 23:12:54 -04:00
byte[]
c9331f61b4 require page number to be positive 2020-09-07 23:19:32 -04:00
byte[]
a2e524b535 remove unnecessary referrer redirects 2020-09-07 00:28:24 -04:00
byte[]
113908f820 allow CSP customization on a per-controller basis 2020-08-23 18:30:58 -04:00
SomewhatDamaged
dec3615da5
Modify limit_plug for use by API (#15) 2020-08-22 12:11:50 -04:00