Commit graph

320 commits

Author SHA1 Message Date
byte[]
edcd4ebfde automatically apply system-wide theme preference for anonymous users (fixes philomena-dev/philomena#36) 2020-12-06 13:04:54 -05:00
byte[]
7f348ff5b5 format 2020-12-06 10:08:13 -05:00
parasprite
39fe2cbd55
Fixes batch tagging messing with complex spoilers (#49) 2020-12-03 14:23:32 -05:00
byte[]
015fbb98ea undo incorrectly applied timezone offset in clientside scripts (fixes philomena-dev/philomena#75) 2020-12-02 19:03:35 -05:00
byte[]
aaf04544b6 add tag_count to supported clientside fields (fixes philomena-dev/philomena#78) 2020-12-02 18:31:15 -05:00
Parasprite
6944cf0054 Improves text for artist link creation 2020-11-26 15:30:17 -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
Parasprite
04e5a4e26d Updates user link to artist link (user side) 2020-11-26 15:30:17 -05:00
byte[]
495396206e remove config server (philomena-dev/philomena#56) 2020-10-26 23:03:08 -04:00
byte[]
b5bc7d2d6b use :cdn_host from env (fixes philomena-dev/philomena#54) 2020-10-23 00:29:56 -04:00
byte[]
c30c8e3136 missing link to restore conversation (fixes philomena-dev/philomena#42) 2020-10-23 00:15:42 -04: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
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
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[]
504b1d5b82 prefill award label (#5) 2020-09-14 20:12:27 -04:00
byte[]
218607b208 prevent params drop on admin user pagination (derpibooru/philomena#153) 2020-09-14 19:44:47 -04:00
liamwhite
653fd0a4af
hCaptcha (#19) 2020-09-12 13:43:16 -04:00
byte[]
9a9d000c74 remove hostname from serving info 2020-09-06 16:51:53 -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[]
dbfdd22ea9 default to centered (can still be set to left if desired) 2020-09-05 17:46:02 -04:00
Luna D
b5637e9afb user link stuff (untested) 2020-08-28 13:23:17 -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
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