Commit graph

357 commits

Author SHA1 Message Date
Luna D
59029c24e2
phoenix_html doesn't like booleans in data tags 2023-02-20 17:26:00 +01:00
Luna D
d03375c604
mailer now returns a tuple 2023-02-19 17:26:09 +01:00
Luna D
18cd73704b
bump depends 2023-02-18 22:26:26 +01:00
Luna D
47c15a38d8
update all dependencies, elixir and postgres 2022-11-20 13:54:57 +01:00
Luna D
962af4d29b
happy little changes 2022-03-24 18:44:39 +01:00
Luna D
26deaaf588
approval queue stuff 2022-03-24 18:44:39 +01:00
Luna D
eeb2f851e0
post and comment approval 2022-03-24 18:44:38 +01:00
byte[]
14cfb3b06e Fix error on user update form 2021-12-19 11:54:21 -05:00
Luna D
b6cd7d3cb0
redesign staff list 2021-11-30 22:17:47 +01:00
Luna D
f555c337ea
basic moderation logs 2021-11-07 19:51:55 +01:00
byte[]
fee0d030a8 format 2021-10-24 16:19:01 -04:00
byte[]
c4b67ba30d Fix errors on stat page for empty site 2021-10-03 17:58:14 -04:00
SeinopSys
a1e848514e
fix issues with the image upload description markdown input 2021-10-01 02:31:25 +02:00
SeinopSys
27af96fe3a
unrequire editor fields that weren't previously required 2021-10-01 00:55:39 +02:00
SeinopSys
71fa95e462
initial implementation of markdown-based text editor 2021-09-30 21:11:48 +02:00
Luna D
1739373bf7
preliminary removal of textile and big migration 2021-09-29 22:05:16 +02:00
byte[]
b1da5afac0 Fix JSON error pages 2021-09-27 19:18:14 -04:00
Erhannis
f8382b055f
Image scale setting (#134) 2021-09-26 21:54:47 -04:00
Luna D
4e9cde610a
mix format 2021-09-19 23:22:48 +02:00
byte[]
83319cab1b Add better error pages 2021-08-20 21:07:48 -04:00
byte[]
66c758cb13 Finally put tag_list_cache to rest (fixes philomena-dev/philomena#128) 2021-07-15 20:14:41 -04:00
liamwhite
283ec72743
Elixir 1.12 (#120)
* update docker deps

* dep updates and warning fixes

* update npm deps
2021-05-22 16:18:24 -04:00
byte[]
952d7bca4f additional pagination fixes (fixes philomena-dev/philomena#117) 2021-05-15 13:50:26 -04:00
byte[]
80d3cb5cd1 assume minimum for sparklines is always zero 2021-05-09 19:51:17 -04:00
byte[]
de8001a1ff obj storage prep: skip generating urls for symlink version targets 2021-04-17 22:28:03 -04:00
byte[]
79427af142 add and configure sobelow 2021-04-01 12:49:41 -04:00
byte[]
4ce962ef57 fix unintentionally long abbreviations 2021-03-31 21:30:16 -04:00
liamwhite
f112f7928b
Tag locking (#102) 2021-03-01 12:01:27 -05:00
byte[]
58d8d24812 format 2021-02-25 14:57:31 -05:00
byte[]
4f040da3fa expand oembed to a proper view 2021-02-10 20:01:05 -05:00
byte[]
19c126a7a6 more complete fix 2021-02-10 19:40:19 -05:00
byte[]
ec7ed8d780 generate pretty file name on demand (fixes philomena-dev/philomena#97) 2021-02-10 19:30:31 -05:00
byte[]
4be6e23400 fix escaping error in image filenames 2021-02-09 17:14:34 -05:00
Luna D
4921ee13a8
shorten various staff titles 2021-01-20 22:47:06 +01:00
liamwhite
0f6a773286
Expunge improper schema use of NaiveDateTime (#91) 2021-01-18 13:01:03 -05:00
byte[]
5b49eb0b9d automatically apply system-wide theme preference for anonymous users 2020-12-08 00:24:32 -05:00
byte[]
5c51775f94 Revert "automatically apply system-wide theme preference for anonymous users (fixes philomena-dev/philomena#36)"
This reverts commit edcd4ebfde.
2020-12-08 00:21:44 -05:00
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