Commit graph

344 commits

Author SHA1 Message Date
byte[]
3fce31b658 separate search definition building from search execution 2020-08-23 15:47:42 -04:00
Luna D
017890642f senior staff 2020-08-18 10:04:17 -04:00
byte[]
3609f69562 fix posting 2020-08-13 17:58:52 -04:00
byte[]
539eb223ff Fix all but one dialyzer warning 2020-08-11 19:15:32 -04:00
liamwhite
98f4166ea8
Replace Pow with generated Phoenix auth (#10) 2020-07-28 16:56:26 -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[]
e581bc2d4e ensure animation info is present in api 2020-07-06 14:42:10 -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[]
be10ad4663 add computed duration field 2020-07-06 14:00:02 -04:00
byte[]
49f0476ad8 allow uploading larger files 2020-07-06 08:56:23 -04:00
byte[]
8ef94e912b add firehose API 2020-06-12 12:59:19 -04:00
byte[]
9294e54771 Filter updates 2020-06-06 21:03:17 -04:00
byte[]
41f144b32b use stronger hash function for anonymous names 2020-05-10 06:20:21 -04:00
byte[]
a1b8ed9d33 move search, textile, date parser to app namespace 2020-05-07 22:43:40 -04:00
byte[]
00415b062c hoist ImageNavigator, ImageScope, ImageSorter to web namespace 2020-05-07 22:10:54 -04:00
liamwhite
af9e779c59
Renaming (#112)
* First (not-yet-working) attempt at self-renaming

* Actually working renames

* last_renamed_at

* Prevent renaming while banned

* Move username changing from controller to model

* Username change logging

* Rate limiting for username changes

* username -> name and format

* add UBQ

* modify interval

Co-authored-by: Joey <joeyponi@gmail.com>
2020-05-02 18:17:55 -04:00
byte[]
8f59092082 fixes #77: restore cross-page gallery organization 2020-05-01 15:51:28 -04:00
SomewhatDamaged
3e7ee76fe2
Api create image (#105)
* added new method (POST) to /api/v1/json/images

* Cleaned up debug

* added require_authorization plug, fixed up issues with image_controller

* make user do work

* Fixed inefficient function use

* added api fingerprinting

* more robust

* corrected holdover from merging files
2020-05-01 00:40:57 -04:00
byte[]
4abd5acd53 prevent page gaps from appearing where they are not supposed to, fixes #98 2020-04-29 23:49:19 -04:00
byte[]
3bb4a4ce56 whoops 2020-03-31 11:45:51 -04:00
byte[]
1c12c010fa mix format 2020-03-31 11:39:11 -04:00
byte[]
c8b0d9ca3d add avatars to post and comment json views 2020-03-31 11:38:01 -04:00
byte[]
724b3a97b1 add edit timestamp, edit reason to post and comment json 2020-03-31 11:09:44 -04:00
Neil McAlister
051a819c9c
Add timestamps to the API's comment view (#67)
* Add timestamps to the API's comment view

* Change property name to created_at
2020-03-31 11:04:06 -04:00
byte[]
0b0a5b1b42 fix markup errors 2020-03-30 20:12:25 -04:00
liamwhite
723bfa213f
Use JSON views for API (#64)
* AwardJson, LinkJson, UserJson to views

* FilterJson -> view

* ForumJson -> view

* TopicJson -> view

* PostJson -> view

* TagJson -> view

* CommentJson -> view

* GalleryJson -> view
2020-03-29 21:11:38 -04:00
SomewhatDamaged
196c5e14b6
API additions for user interactions on single images (#63)
* API additions for user interactions on single images

* removed ability to render without supplying interactions
2020-03-29 20:51:35 -04:00
liamwhite
b1de5389eb
Change ImageJson to view (#62) 2020-03-29 19:39:36 -04:00
byte[]
21df6bc307 fixes #52 and #53 2020-03-29 18:36:24 -04:00
Luna D
1983a736f3 reverse badge sorting order 2020-03-13 10:17:43 +01:00
Luna D
bd768088c2
static pages permission 2020-03-03 14:29:14 -05:00
byte[]
f8e5feb24c fix dnp editing 2020-02-01 10:45:44 -05:00
byte[]
ed44160603 run formatter 2020-01-10 23:20:19 -05:00
byte[]
a98e268195 use iolist 2020-01-05 13:12:01 -05:00
byte[]
816e54fa12 use the range appropriately 2020-01-05 13:05:39 -05:00
byte[]
af97bd1717 fix graph height calculation 2020-01-05 13:03:43 -05:00
byte[]
75b15a59b7 add upload graph to stats page 2020-01-05 12:55:10 -05:00
byte[]
4c82c90cea discard old parser 2019-12-31 14:56:38 -05:00
byte[]
a5966ae287 allow admins to create dnp entries on arbitrary tags 2019-12-30 19:04:19 -05:00
byte[]
7503e48591 show hidden links on tag page, hidden status on profile page 2019-12-30 18:56:29 -05:00
byte[]
0c7f13932b add deleted toggle to main search form 2019-12-30 18:32:24 -05:00
byte[]
bf5158b60e poll votes admin 2019-12-30 08:32:41 -05:00
byte[]
38c4e35bb7 bans view changes 2019-12-30 07:30:39 -05:00
byte[]
f443aa5386 fix a bunch of navigation weirdness 2019-12-26 17:43:32 -05:00
byte[]
689ce5cd5a change rules for bracketed links 2019-12-26 00:39:57 -05:00
byte[]
567459bf48 avatars 2019-12-25 13:32:24 -05:00
byte[]
0981a1ba0b dynamic config 2019-12-25 11:56:19 -05:00
byte[]
620f316db8 break compile time dependencies for elasticsearch index usage 2019-12-24 16:14:42 -05:00
byte[]
c76f28dc0b add tags to image target 2019-12-23 09:50:39 -05:00
byte[]
1435149d32 admin badge user list 2019-12-23 09:23:25 -05:00
byte[]
25d867a213 fix svg download link showing as png 2019-12-22 19:10:25 -05:00
Luna D
7caafd976e
re-add mod scratchpad by blatantly copy-pasting 2019-12-22 17:17:20 -05:00
byte[]
81b5a58fab tag change mass reversion 2019-12-22 00:09:01 -05:00
byte[]
4332ca76c5 more constraint validation, allow anonymous users to edit settings 2019-12-21 14:56:54 -05:00
byte[]
0dab6a76e5 remove superfluous jason encode 2019-12-21 14:51:43 -05:00
byte[]
e1be291698 Merge remote-tracking branch 'origin/hide-staff-tools' 2019-12-21 14:48:50 -05:00
byte[]
6677e318b8 add admin option to edit user links directly from profile page 2019-12-21 09:54:13 -05:00
byte[]
3cd51526d9 add related endpoint and controller 2019-12-20 18:02:03 -05:00
Luna D
7b5fd947f9
hide staff tools 2019-12-20 17:35:46 -05:00
byte[]
a7d9386af8 mod faves page 2019-12-20 12:26:38 -05:00
byte[]
8d5aad56f6 forum titles, better tag disjunction 2019-12-20 10:33:39 -05:00
byte[]
40debb9634 add viewport meta hook 2019-12-20 09:19:43 -05:00
byte[]
48eda4ff5d poll votes 2019-12-19 22:41:19 -05:00
byte[]
ad849e8bb8 readd ignored tag list 2019-12-19 20:23:44 -05:00
Luna D
85f70f88af
do more permissions 2019-12-19 19:00:09 -05:00
byte[]
eeacf9ee14 untangle compile time dependencies in views 2019-12-19 14:32:12 -05:00
byte[]
2a6976c184 Fix warnings 2019-12-17 19:44:26 -05:00
byte[]
8cb3e33714 allow users to reveal hidden images, moderators to index deleted images 2019-12-17 19:42:50 -05:00
byte[]
6d105ffc53 image uploader tampering 2019-12-17 13:53:41 -05:00
byte[]
d8b425bdf6 tag detail page 2019-12-17 13:12:58 -05:00
byte[]
e2496cd43b mod profiles tag/source changes 2019-12-17 12:56:03 -05:00
byte[]
0fa10103f8 display mod notes on profiles and such 2019-12-17 12:29:18 -05:00
byte[]
8b220775bb more admin tools 2019-12-17 00:44:24 -05:00
byte[]
c45a2a16d9 admin donations 2019-12-16 22:24:40 -05:00
byte[]
598f46215e profile details 2019-12-16 21:26:43 -05:00
byte[]
8f445e49f9 batch tagging 2019-12-16 17:11:16 -05:00
byte[]
dafb048302 don't error if no tag is given 2019-12-16 15:56:13 -05:00
byte[]
a74e7e9170 image mod tools 2019-12-16 00:25:06 -05:00
byte[]
d5a7653393 data-theme should follow the theme 2019-12-15 21:35:07 -05:00
byte[]
af1781dcd0 fix warnings 2019-12-15 21:24:23 -05:00
byte[]
f8431cb1c2 admin users and roles 2019-12-15 21:21:14 -05:00
byte[]
f5996dc084 fix order 2019-12-15 18:35:56 -05:00
byte[]
299e0cf923 admin mod notes 2019-12-15 17:52:51 -05:00
byte[]
e37ab2849e badges and awards 2019-12-15 15:02:13 -05:00
byte[]
2a6b596765 admin forums 2019-12-15 12:54:27 -05:00
byte[]
b1828ff68a adverts 2019-12-14 21:54:16 -05:00
byte[]
482f1dfe5e tag aliasing and image editing 2019-12-14 18:07:29 -05:00
byte[]
4f3390f728 tag description and implication editing 2019-12-14 16:18:49 -05:00
byte[]
2eb39b43aa fix staff buttons 2019-12-14 15:15:35 -05:00
byte[]
56ce4c74bc site notices 2019-12-14 13:28:04 -05:00
byte[]
5871920c14 ban id and time field refactor 2019-12-14 12:50:30 -05:00
byte[]
8196271976 show error tags first; signifiy staff metadata updates; remove pagination from watched images section 2019-12-13 14:56:52 -05:00
byte[]
6337b23dbe misc additions, 'ban this sucker' buttons 2019-12-13 14:26:43 -05:00
byte[]
fefb91644b fingerprint bans 2019-12-13 14:06:08 -05:00
byte[]
642ded69a5 misc fixes 2019-12-13 13:52:57 -05:00
byte[]
304d5486d6 subnet bans 2019-12-13 13:50:35 -05:00
byte[]
4063f84b6b user bans + ban messages for users 2019-12-13 12:14:34 -05:00
byte[]
aa4af5a2e6 admin dnp queue 2019-12-12 16:44:50 -05:00
byte[]
d851e8cf62 various fixes:
line-heights
ability to edit filters
fix tag parameter decoding again
better error_tag message
2019-12-12 10:51:44 -05:00
byte[]
54be9dfa5d routing, control flow and whitespace fixes 2019-12-11 23:41:33 -05:00
Luna D
4e5a29e6fb
post hiding, destroying, and a few fixes 2019-12-11 18:58:00 -05:00
Luna D
5101bd31f2
comment destroying (css wip) 2019-12-11 17:21:14 -05:00
Luna D
2d9d32af81
reveal anon 2019-12-10 11:57:01 -05:00
Luna D
64d789c357
icons on ip/fp info 2019-12-10 11:29:54 -05:00
byte[]
0d1ae1e436 respect scale settings 2019-12-09 20:28:00 -05:00
byte[]
7d247b777f admin user links 2019-12-09 20:21:49 -05:00
byte[]
687db1b98d duplicate reports 2019-12-08 23:41:35 -05:00
byte[]
c63c4cb0c1 same here 2019-12-08 18:15:17 -05:00
byte[]
bbee17320a convert incorrectly set format to string 2019-12-08 18:13:44 -05:00
byte[]
38a491e6b9 wrong directory 2019-12-08 15:34:49 -05:00
byte[]
1dfb6f877c show ban list on profiles 2019-12-08 15:32:54 -05:00
byte[]
84eef46c78 fallback for images without a tag cache 2019-12-08 14:30:17 -05:00
byte[]
179d8a27d9 images in report queue 2019-12-08 13:22:38 -05:00
byte[]
ddc3ee61a1 fix user_abbrv 2019-12-08 13:18:10 -05:00
byte[]
0c9a31eeda skip keyword merge 2019-12-08 12:55:55 -05:00
byte[]
9f6ac9753d fix warnings 2019-12-08 12:48:39 -05:00
byte[]
181931cf67 admin reports 2019-12-08 12:45:37 -05:00
byte[]
ecd0a91025 fix templates 2019-12-08 10:14:19 -05:00
byte[]
b51249b4ce oops 2019-12-08 01:24:15 -05:00
byte[]
63503c5735 correct date sort 2019-12-08 01:23:03 -05:00
byte[]
f645869d28 use awarded_on for sort 2019-12-08 01:11:16 -05:00
byte[]
756d2c91a6 don't try to parse a nil uri 2019-12-07 22:25:47 -05:00
byte[]
c79dfd5b21 more comprehensive blankness check for personal titles and secondary roles 2019-12-07 21:30:47 -05:00
byte[]
0d48fc59b2 staff tools for ips 2019-12-07 20:49:28 -05:00
byte[]
16d9282246 don't show extra tag info if there is no extra info 2019-12-07 18:53:24 -05:00
byte[]
cf28d6e915 fixes for private messages 2019-12-07 18:24:37 -05:00
byte[]
823e44495d add recent artwork to profile page 2019-12-07 17:07:53 -05:00
byte[]
54c6085ddf sort awards by created_at 2019-12-07 16:46:32 -05:00
byte[]
13ad9e964d add duplicate and deleted handling 2019-12-07 11:48:39 -05:00
byte[]
ae189bafce avatar uploading 2019-12-07 11:26:45 -05:00
byte[]
0e13a7e6a0 fix warnings 2019-12-06 18:08:37 -05:00
byte[]
2a9cbb0ff0 Merge remote-tracking branch 'origin/staff-tools' 2019-12-06 17:57:26 -05:00
byte[]
b56485f13a static page versions 2019-12-06 12:59:17 -05:00
byte[]
76de12d69d post versions 2019-12-06 08:58:34 -05:00
byte[]
0c976851ed fix various things 2019-12-05 22:05:21 -05:00
byte[]
9fc04b9b71 primitive history viewing 2019-12-05 21:46:51 -05:00
byte[]
2a338d86c7 allow users to edit their profile description 2019-12-05 19:36:45 -05:00
byte[]
463d86af5c commission section on profile page 2019-12-05 18:11:15 -05:00
byte[]
0adfe58ab2 fix tags with descriptions 2019-12-05 17:01:09 -05:00
byte[]
8b6fef83e2 better tag info row 2019-12-05 16:57:59 -05:00
Luna D
621c6587d8
ip/fp info on images 2019-12-05 15:25:37 -05:00
Luna D
76dce674ea
ip/fp info on posts 2019-12-05 15:06:18 -05:00
Luna D
2b0e65e85e
truncate FP and use helpers 2019-12-05 14:59:40 -05:00
byte[]
3ab695cd3f profile pages fixes 2019-12-05 13:32:53 -05:00
byte[]
6882dd00e3 generate statistics sparklines 2019-12-05 08:55:49 -05:00
byte[]
c070b515c0 channel subscriptions 2019-12-04 23:27:40 -05:00
byte[]
885488d40e galleries 2019-12-04 23:12:49 -05:00
byte[]
c918e4f7ab gallery show page 2019-12-04 19:53:31 -05:00
byte[]
022b1008ab add profile source changes 2019-12-04 17:56:13 -05:00