Commit graph

1293 commits

Author SHA1 Message Date
byte[]
b5bc7d2d6b use :cdn_host from env (fixes philomena-dev/philomena#54) 2020-10-23 00:29:56 -04:00
byte[]
1e2c57d8e8 only update usage counters on valid TOTP (fixes philomena-dev/philomena#50) 2020-10-23 00:27:14 -04:00
byte[]
c30c8e3136 missing link to restore conversation (fixes philomena-dev/philomena#42) 2020-10-23 00:15:42 -04:00
Luna D
4cf02da8e6
stupidity 2: episode 2 2020-10-21 19:02:34 +02:00
Luna D
3090bf7adc
stupidity 2: episode 1 2020-10-21 20:44:20 +02:00
Luna D
f4b7cc5f5f
fix error when changing name to existing one (fixes philomena-dev/philomena#45) 2020-10-21 20:39:16 +02:00
Luna D
cc571a38c2
bump app upload limit to 125MB 2020-10-21 20:10:11 +02:00
Luna D
87eee9b332
preserve hidden param in tag navigation (fixes philomena-dev/philomena#40) 2020-10-21 20:03:59 +02:00
Luna D
7bc51f9b46
I am SPECIAL 2020-10-20 23:19:44 +02:00
Luna D
49547108a3
unscrew quick tags (fixes philomena-dev/philomena#51) 2020-10-20 23:18:53 +02:00
Luna D
d96b45f32e
rename sort by upload date to id (closes #32) 2020-10-19 21:23:36 +02:00
Luna D
91c6b1f659
hide emails from unauthorized mods (fix #34) 2020-10-19 21:10:48 +02:00
byte[]
1436c7ff06 update connecting ip in session 2020-10-12 03:01:20 -04:00
byte[]
d1093a80b0 fix twitter scraper again 2020-09-28 17:47:45 -04:00
byte[]
cb11ba082b quickly reject user links from profile page 2020-09-28 10:36:27 -04:00
byte[]
014cb025fd keep old slug when title is changed 2020-09-28 00:16:19 -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
byte[]
c7cd7f3af3 propagate aliases to non-image tag list entries 2020-09-27 23:03:53 -04:00
byte[]
76a1cf8b3a redirect to admin path when transitioning user link 2020-09-27 22:54:04 -04:00
byte[]
de8622b470 fix twitter scraper 2020-09-27 11:08:43 -04:00
byte[]
a955a67b24 recalculate size on processing (derpibooru/philomena#206) 2020-09-27 00:46:38 -04:00
byte[]
02cbecb193 remove comment edit time limit (philomena-dev/philomena#26) 2020-09-27 00:09:39 -04:00
byte[]
f01a9cf20b add missing session-related links (philomena-dev/philomena#23) 2020-09-27 00:03:34 -04:00
byte[]
9fbff24bd7 fix alias replacement (philomena-dev/philomena#22) 2020-09-26 23:52:25 -04:00
Raptorshy
18a571e7d1 assistants can now see deleteds in comments/forum search
Fixes #207
2020-09-26 23:46:25 -04:00
SomewhatDamaged
1a6c3731e0
Adds full DNP info to tags (#21)
* Adds full DNP info to tags

* Add dnp view

* Changed DNP to Dnp
2020-09-24 09:46:05 -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[]
9ad3330161 careful with reserved characters 2020-09-20 10:04:36 -04:00
byte[]
54e775a6c6 fix tag slug double encoding (derpibooru/philomena#203) 2020-09-20 10:00:20 -04:00
byte[]
0f69ae6fcf sort tag changes by id instead of creation date (derpibooru/philomena#200) 2020-09-18 10:07:46 -04:00
Luna D
f5229654e7 make ban deletions admin-only 2020-09-17 16:01:50 -04:00
byte[]
f98aa22bda don't think anyone is uploading hourlong animations 2020-09-16 13:50:19 -04:00
Raptorshy
9d0d622fbd Allow moderators to edit commissions
Fixes #194
2020-09-15 16:27:50 -04:00
byte[]
5734deee85 use exchange icon instead of arrows 2020-09-14 23:39:31 -04:00
byte[]
50da6c7f3c add quick tag button to toggle all 2020-09-14 23:30:48 -04:00
byte[]
074453ddf1 allow removing existing tag with -tag, ctrl+enter for form submission, disable autocomplete on tag editor 2020-09-14 22:00:44 -04:00
byte[]
35d80bcf9c don't lex closing bbcode as part of a link (furbooru/philomena#36) 2020-09-14 21:20:17 -04:00
byte[]
6a045ce88e don't bump ratelimit after unsuccessful attempts 2020-09-14 20:52:02 -04:00
byte[]
aefc79eb8e add explicit list of underscore-safe namespaces (furbooru/philomena#28) 2020-09-14 20:25:40 -04:00
byte[]
7736cb041f don't automatically tag 'featured image' (furbooru/philomena#33) 2020-09-14 20:20:10 -04:00
byte[]
504b1d5b82 prefill award label (#5) 2020-09-14 20:12:27 -04:00
byte[]
6deab827ac store filter_id in a long-lived cookie (derpibooru/philomena#139) 2020-09-14 20:02:43 -04:00
byte[]
218607b208 prevent params drop on admin user pagination (derpibooru/philomena#153) 2020-09-14 19:44:47 -04:00
byte[]
ff5c01ce07 adjust counters during wipes (derpibooru/philomena#197) 2020-09-14 19:25:31 -04:00
byte[]
96f1005255 fix gallery page ordering bug (derpibooru/philomena#195) 2020-09-14 19:19:14 -04:00
liamwhite
653fd0a4af
hCaptcha (#19) 2020-09-12 13:43:16 -04:00
Luna D
c806b08f0f redirect to profile path upon user edit instead 2020-09-12 11:45:42 -04:00
byte[]
45402bd44f add body type tag category 2020-09-12 11:45:35 -04:00
byte[]
5287cf0430 forum pages without polls have no active poll 2020-09-10 13:05:37 -04:00
byte[]
5c87e62179 fix changeset error on commission item creation 2020-09-10 12:54:19 -04:00
byte[]
cc0077d78f prevent double deletions 2020-09-10 12:02:01 -04:00
byte[]
24994d2fa2 invoke query compiler to determine if name should be escaped 2020-09-10 11:25:00 -04:00
byte[]
ecfe60bcaa don't recode tag slugs, fixes #18 2020-09-10 11:20:25 -04:00
byte[]
fd4843a39b use tags instead of tag_list_cache, fixes #17 2020-09-10 01:19:06 -04:00
byte[]
993265d2bc unused 2020-09-10 01:15:42 -04:00
byte[]
39ce0ae4fd require http clients to handle errors 2020-09-09 23:12:54 -04:00
byte[]
11276b2339 re-add merge notification 2020-09-09 22:47:35 -04:00
byte[]
ea424ac83b remove textile toolbar buttons from tab indexing 2020-09-09 22:40:50 -04:00
byte[]
659f694fae mix format 2020-09-09 22:37:07 -04:00
David Joseph Guzsik
9a8b5a7ea7 Fix being able to vote on polls past their end date (#13) 2020-09-09 22:36:40 -04:00
byte[]
75e07bfb13 disable report limit for staff 2020-09-09 22:33:57 -04:00
byte[]
389100dae2 require tampering permission to see votes 2020-09-08 19:03:18 -04:00
byte[]
4e227f1252 consider all translucent values to be transparent for palette generation 2020-09-08 01:49:07 -04:00
byte[]
bd2e9b4171 fix invalid mime error on reverse search 2020-09-08 00:02:24 -04:00
byte[]
f2c1dbab0b correctly return error on gallery unique constraint 2020-09-07 23:47:19 -04:00
byte[]
c1d54de22a fix changeset error when uploading avatar 2020-09-07 23:39:30 -04:00
byte[]
c9331f61b4 require page number to be positive 2020-09-07 23:19:32 -04:00
byte[]
ea0c9a8650 copy subscriptions on merge instead of moving 2020-09-07 19:35:19 -04:00
byte[]
a079eac912 no more than *3 open reports 2020-09-07 14:52:52 -04:00
byte[]
90830d361b propagate hiding user on reports 2020-09-07 14:52:52 -04:00
byte[]
a2e524b535 remove unnecessary referrer redirects 2020-09-07 00:28:24 -04:00
byte[]
04b893eaaf allow assistants to change image hide reasons 2020-09-06 23:59:50 -04:00
byte[]
9a9d000c74 remove hostname from serving info 2020-09-06 16:51:53 -04:00
byte[]
cdc142592a require tag to exist on user link creation 2020-09-06 16:23:24 -04:00
byte[]
93902a19d0 mix format 2020-09-06 16:03:35 -04:00
byte[]
aa8da0103f hide merge buttons when either image is hidden 2020-09-06 14:24:32 -04:00
byte[]
0d359ee81e add tag alias validations 2020-09-06 14:19:21 -04:00
byte[]
6670b050a1 ensure comments are reindexed after image changes state 2020-09-06 13:38:30 -04:00
byte[]
ccc788a9da ensure subscriptions are carried over on merge 2020-09-06 13:30:28 -04:00
byte[]
2ae0ef2a83 fix column default 2020-09-06 13:07:27 -04:00
byte[]
2913da2692 remove Repo.isolated_transaction/2 2020-09-06 12:39:53 -04:00
byte[]
da1e6a145d properly transactionalize image hiding and merging 2020-09-06 12:37:31 -04:00
byte[]
4dcb2958d3 Squashed commit of the following:
commit 8ea9cff4af46e24c38020652cedeff72957354fb
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:29:24 2020 -0400

    remove remaining serializable aside hiding related

commit 99ccf06264db6319ece2a896a104031447447a5f
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:20:40 2020 -0400

    interactions: remove serializable

commit a63bef06a6962368f69cf83afbc3c44f2467618c
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:16:27 2020 -0400

    users: remove serializable

commit 8053229f6fab507c29a40f0e22dd9cab7971e34f
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:11:14 2020 -0400

    user_links: remove serializable

commit 9b058add825b0a876a91a1cf2b1b22dc34066e42
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:09:33 2020 -0400

    topics: remove serializable

commit cd9ea908c34f72c0120fca1c4d581540db60db98
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:05:23 2020 -0400

    tags: remove serializable

commit c7563fef8fc905c32a0727a4b104222227a6bafa
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:02:22 2020 -0400

    static_pages: remove serializable

commit 3da661bdd1aec74e4ac5b69ec21124bc1ebc6fb4
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:00:15 2020 -0400

    posts: remove serializable

commit 18a50a4e5bed1ab6e4e6c13c3051a21ae7e8fbb0
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:55:55 2020 -0400

    poll_votes: remove serializable

commit 7d946ef23d7b27877d4bf0fb6a4db4ae64a9ffab
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:51:49 2020 -0400

    galleries: remove serializable

commit d8c35a0934e5394b092b050e071abdada4bdb640
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:42:43 2020 -0400

    conversations: remove serializable

commit 079e6dca6c8064867f2c0f90f351ea83c0f12b75
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:38:28 2020 -0400

    comments: remove serializable

commit 00ae38bad566fb6badeccceac2e394e65ec9428e
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:37:15 2020 -0400

    commissions: remove serializable

commit b3c4a4b13671ca73c58080b090dd6165552c87d6
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:17:12 2020 -0400

    bans: remove serializable

commit 8be9fe913ff1f6264b899e96ee38fa52032b8bda
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:02:44 2020 -0400

    badges: remove serializable

commit 162adda185f705b9749774c4af8c7d8db0d89790
Author: byte[] <byteslice@airmail.cc>
Date:   Sat Sep 5 23:56:51 2020 -0400

    adverts: remove serializable
2020-09-06 01:30:53 -04:00
byte[]
93e6979202 add controls to show pages for dnp and user link (derpibooru/philomena#181) 2020-09-05 23:26:44 -04:00
byte[]
56487e3933 allow assistants to edit user links (derpibooru/philomena#176) 2020-09-05 23:14:29 -04:00
byte[]
f0ccdea54c allow moderators to add new streams 2020-09-05 23:04:04 -04:00
byte[]
6915d2ed45 add button for mods to unlock account (derpibooru/philomena#173) 2020-09-05 22:53:55 -04:00
byte[]
dbfdd22ea9 default to centered (can still be set to left if desired) 2020-09-05 17:46:02 -04:00
byte[]
fefd73f3bd remove unused columns from wipe 2020-08-31 20:51:22 -04:00
byte[]
2347d018ca fix tumblr scrapes for text posts 2020-08-28 13:51:26 -04:00
Luna D
b5637e9afb user link stuff (untested) 2020-08-28 13:23:17 -04:00
byte[]
113908f820 allow CSP customization on a per-controller basis 2020-08-23 18:30:58 -04:00
byte[]
75de5f867d use elastic multi search API for specific pages 2020-08-23 16:53:25 -04:00
byte[]
3fce31b658 separate search definition building from search execution 2020-08-23 15:47:42 -04:00
byte[]
42d03ef548 count safe tag correctly in set intersection 2020-08-22 23:58:18 -04:00
byte[]
a97f8d23ad fix discord embed cards 2020-08-22 22:53:21 -04:00
SomewhatDamaged
dec3615da5
Modify limit_plug for use by API (#15) 2020-08-22 12:11:50 -04:00
Luna D
a5c53894d6 display unconfirmed users in list 2020-08-18 10:04:17 -04:00
Luna D
235a77ac8b consistent spelling of "two factor" 2020-08-18 10:04:17 -04:00
Luna D
6816ea44d4 add missing 2fa icon to admin thing 2020-08-18 10:04:17 -04:00
Luna D
017890642f senior staff 2020-08-18 10:04:17 -04:00
byte[]
23bd821838 add release conf for performing migrations 2020-08-17 18:49:44 -04:00
byte[]
aef3cd399b fix multiple counting bug on tag batch update (derpibooru/philomena#158) 2020-08-14 21:04:12 -04:00
byte[]
1a76cc484c flatten gallery fields; preparation for removal of nested documents from index 2020-08-14 01:24:14 -04:00
byte[]
cf72729ae7 fix twitter scraper 2020-08-13 18:46:42 -04:00
byte[]
3609f69562 fix posting 2020-08-13 17:58:52 -04:00
byte[]
4bfb7d8dd3 always assign advert, even if nil 2020-08-13 17:55:36 -04:00
liamwhite
d1c893248d
Search navigation (#14)
* return hits from elasticsearch and add in sort param to templates

* use returned hits from elasticsearch for navigation

* mix format

* fix gallery pagination

* add missing fields to search help dropdown

* unused variable
2020-08-13 11:32:35 -04:00
byte[]
539eb223ff Fix all but one dialyzer warning 2020-08-11 19:15:32 -04:00
byte[]
02bbf5e2f1 fixes invisible error message for comment rate limit, weird nesting error for tag updates, e.g. derpibooru/philomena#169 2020-08-11 01:14:00 -04:00
byte[]
5249deb47f more idiomatic 2020-08-08 15:13:41 -04:00
SeinopSys
2c121c80c8 Fix handling of the added query parameter everywhere 2020-08-08 15:06:41 -04:00
SeinopSys
39ff35c089 Fix tag changes pagination not preserving added query param
Closes #9
2020-08-08 15:06:31 -04:00
Nebbie Zebbie
9a9ce118c5 Tags on deleted image pages for non-staff. 2020-08-08 15:05:36 -04:00
byte[]
5b760436a1 ensure CSP plug config happens at runtime, not compile time 2020-08-06 13:27:56 -04:00
byte[]
3ba38edf0b add irreversible admin-only action to permanently delete an image file 2020-08-05 14:23:11 -04:00
byte[]
90a16b3317 fix twitter scraper 2020-08-05 13:59:22 -04:00
byte[]
a81464f189 fix link to sign in page 2020-08-01 19:04:48 -04:00
byte[]
5532ea4dec more complete fix for commission and gallery pagination error 2020-08-01 12:42:29 -04:00
byte[]
d303d02d2c fix double render on totp auth 2020-07-31 17:06:53 -04:00
byte[]
78dac4df70 re-add usage tracker 2020-07-30 20:00:44 -04:00
liamwhite
98f4166ea8
Replace Pow with generated Phoenix auth (#10) 2020-07-28 16:56:26 -04:00
Byron Mulvogue
c2fd8289c3 Revert "mix format"
This reverts commit c7291b8117.
2020-07-24 13:03:20 +00:00
Byron Mulvogue
c7291b8117 mix format 2020-07-24 12:54:13 +00:00
Byron Mulvogue
b48a07f517 Allow staff to bypass rate limits 2020-07-24 12:51:23 +00:00
byte[]
f4b9a0902d also forbid directional marks 2020-07-23 16:29:08 -04:00
byte[]
2535be8a81 forbid all unicode spaces in tag names 2020-07-23 16:26:16 -04:00
byte[]
656059541d unbreak twitter scraper 2020-07-22 20:24:50 -04:00
byte[]
296912f866 remove more zero width characters from tag names 2020-07-22 10:39:16 -04:00
byte[]
abd6185f68 add new search and sort fields to UI 2020-07-21 19:31:55 -04:00
byte[]
ad6e055aff add missing rate limit 2020-07-21 10:50:33 -04:00
byte[]
799edcb50f add missing source url validation 2020-07-13 23:51:50 -04:00
byte[]
b97073ee18 reintroduce transaction and add impossible condition to first element of reduce step 2020-07-13 23:44:45 -04:00
byte[]
b58bb87d71 fix staff tag showing for staff hiding a role 2020-07-13 13:09:30 -04:00
byte[]
03897624fe fix resolution pick error 2020-07-12 16:36:51 -04:00
byte[]
0ecfa6c6c0 add fast reindexer 2020-07-12 14:04:14 -04:00
byte[]
4e70124f36 fix twitter scraper 2020-07-08 00:26:58 -04:00
byte[]
e581bc2d4e ensure animation info is present in api 2020-07-06 14:42:10 -04:00
byte[]
70e70254ed mix format 2020-07-06 14:20:50 -04:00
Christine Dodrill
4cdc362237 philomena_web: hack in forum posts to the firehose (#2)
* philomena_web: hack in forum posts to the firehose

(cherry-picked from commit c5ff6f38f3c1274cd0c6160b798d6f74549735ef)
2020-07-06 14:20:07 -04:00
byte[]
c65f27a1ff mix format 2020-07-06 14:12:18 -04:00
byte[]
41b3078da8 fix apng encoding 2020-07-06 14:10:35 -04:00
byte[]
be10ad4663 add computed duration field 2020-07-06 14:00:02 -04:00
byte[]
78d94dfe84 also allow large scrapes 2020-07-06 09:04:24 -04:00
byte[]
49f0476ad8 allow uploading larger files 2020-07-06 08:56:23 -04:00
Nebbie Zebbie
6e4bd79843 Make forced filters visible to affected users if used 2020-07-06 07:43:12 +00:00
Nebbie Zebbie
ef55b8c4ae Fix tag hover dropdown being offset 2020-07-06 07:06:24 +00:00
David Joseph Guzsik
4f85936437
Link avatar on user's own profile to the avatar change page (#151) 2020-06-28 15:49:34 -04:00
byte[]
a1f2ac5083 change max open reports to 3 2020-06-25 11:12:05 -04:00