Commit graph

1196 commits

Author SHA1 Message Date
Meow
c401695513
Merge pull request #180 from philomena-dev/mod-note-display
Make mod notes show the tag name instead of the requesting user
2023-05-18 11:27:51 +02:00
Floorb
9956ce2cb6 fix: requested changes 2023-05-04 23:05:36 -04:00
Floorb
fe8395da99 feat: add ability for staff to delete tag changes from tag change history
This used to be a thing in Booru on Rails but wasn't added to Philomena
for some reason.
2023-05-02 19:58:06 -04:00
byte[]
a82664720f Make mod notes show the tag name instead of the requesting user 2023-04-24 14:38:05 -04:00
byte[]
913b05b6fc Increase report limit to 5 2023-04-20 14:37:58 -04:00
byte[]
5e908e40f6 Fix markdown embed displays for small images 2023-04-10 21:33:44 -04:00
byte[]
3366182557 Clean up poll validation 2023-04-09 19:30:18 -04:00
byte[]
3ff083f157 Use only hostname check in tor plug 2023-03-30 12:44:12 -04:00
byte[]
b579cc1c8d Fix opengraph meta for small images 2023-03-29 11:12:06 -04:00
byte[]
145ee74c69 Fix embedded image views for small images 2023-03-29 10:59:28 -04:00
byte[]
c218e50c1f Completely remove channel_url_root 2023-03-28 21:51:18 -04:00
Liam
ffe07cce3d Check for absence of thumbnails_generated instead of presence 2023-03-28 18:13:04 -04:00
Luna D
c38b50aafa
more accurate user statistics 2023-03-28 22:09:24 +02:00
Luna D
8c7f633b18
stringify boolean values in js datastore 2023-03-21 17:22:51 +01:00
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
916b2331cb
Merge branch 'master' into s3 2022-12-04 13:17:47 +01:00
Luna D
47c15a38d8
update all dependencies, elixir and postgres 2022-11-20 13:54:57 +01:00
byte[]
255a8526e9 Correct RSS endpoint content type (fixes #169) 2022-10-31 08:44:35 -04:00
Jordan R AW
217106e5ae
Add the timeline for the user statistics page (#168)
Currently, the user statistics is hardcoded to display only
stats from the last 90 days. This isn't clear from the
display. We can easily fit this content in the existing
chart header.
2022-09-25 21:25:36 -04:00
byte[]
6cdcfb2dcd Spawn for upload persistence 2022-07-18 11:33:45 -04:00
byte[]
dd85badae4 Faster uploads, fix replacement of existing files 2022-05-26 20:35:45 -04:00
byte[]
cbcceeaaca Fix previous 2022-05-11 16:41:53 -04:00
byte[]
ea1bae56ed Enable bulk reversion of bulk tag vandalism 2022-05-03 21:24:23 -04:00
Luna D
b346ffcd5c
update to FA6, move npm depends 2022-04-02 14:41:15 +02:00
Luna D
a23886c924
fix reports not paginating 2022-03-26 13:38:25 +01:00
Luna D
75464e4088
i have no clue how the heck this worked before but okay 2022-03-25 18:28:59 +01:00
Luna D
317a568521
fix navigation between images being borked 2022-03-25 17:02:19 +01:00
Luna D
59498f8d2a
report for approval on edit as well 2022-03-24 19:19:50 +01:00
Luna D
4c2c611891
mix format 2022-03-24 19:04:25 +01:00
Luna D
884b5d4972
fix derps 2022-03-24 19:01:38 +01:00
Luna D
b655654acb
prefix unused vars 2022-03-24 18:44:39 +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
Luna D
a3db6f6eed
initial user verification stuff 2022-03-24 18:44:38 +01:00
Eliot Partridge
c726c79a6a Sort image favoriters' names case-insensitively 2022-03-03 15:07:05 -06:00
byte[]
ce5405c670 Allow disabling of tag suggestion filtering 2022-01-20 17:37:05 -05:00
byte[]
c07fbec0e6 Format 2021-12-26 19:16:38 -05:00
liamwhite
dadc2f1585
Local autocomplete (#151) 2021-12-26 19:16:21 -05:00
byte[]
715506352c Filter images and home pages to images with thumbnails 2021-12-26 19:00:47 -05:00
byte[]
7ebba8b368 Fix propagation of hidden parameter in searches 2021-12-22 21:30:28 -05:00
byte[]
3315eada3b Fix warning 2021-12-20 22:39:50 -05:00
liamwhite
bcf295b1fa
Search fields (#100) 2021-12-20 14:44:52 -05:00
byte[]
14cfb3b06e Fix error on user update form 2021-12-19 11:54:21 -05:00
byte[]
4bb2e3078c More visible errors for parse errors (fixes philomena-dev/philomena#149) 2021-12-12 12:39:39 -05:00
Luna D
87ecd1009f
fix cell sizes 2021-11-30 23:09:04 +01:00
Luna D
b6cd7d3cb0
redesign staff list 2021-11-30 22:17:47 +01:00
Luna D
0f1b5644c1
fix unmatches clause 2021-11-12 19:51:24 +01:00
Meow
4f561b9c16
Merge pull request #146 from philomena-dev/modlogs
basic moderation logs
2021-11-08 20:22:19 +01:00
Luna D
a92d7378dd
format 2021-11-08 17:21:49 +01:00
Luna D
57eab20972
dupe logs 2021-11-08 15:04:17 +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[]
bf568745dc Allow password resets and account unlocks on banned accounts (fixes derpibooru/philomena#259) 2021-11-07 09:33:22 -05:00
byte[]
cafba455cd Don't halt idempotent requests 2021-11-06 08:09:32 -04:00
byte[]
67ffb5cf13 Fix layout_class on related 2021-10-27 20:03:24 -04:00
byte[]
fee0d030a8 format 2021-10-24 16:19:01 -04:00
byte[]
6b2e46c9e8 Fix distance inclusion on reverse search form 2021-10-24 16:18:50 -04:00
Luna D
2ad2a4347f
account for cases when body may be nil 2021-10-11 19:36:29 +02:00
liamwhite
10fc962da6
Video upload previews (#141) 2021-10-05 21:31:50 -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
53b087b576
add icon in front of markdown page link and make it bold 2021-09-30 21:11:48 +02:00
SeinopSys
78c3db8f65
replace syntax quick reference expansion with markdown page link 2021-09-30 21:11:48 +02:00
SeinopSys
27efab9f8f
update syntax quick reference for subscript 2021-09-30 21:11:48 +02:00
SeinopSys
f61cc6d0be
revert split editor styling, update markdown toolbar buttons' behavior 2021-09-30 21:11:48 +02:00
SeinopSys
b8aa9b2c9c
eliminate obsolete workarounds from markdown toolbar, update escape regex 2021-09-30 21:11:48 +02:00
SeinopSys
71fa95e462
initial implementation of markdown-based text editor 2021-09-30 21:11:48 +02:00
byte[]
983d606013 Add some specs and documentation, format 2021-09-29 22:09:21 -04:00
Luna D
fd17684882
render collections correctly in markdownrenderer 2021-09-29 22:24:38 +02:00
Luna D
1739373bf7
preliminary removal of textile and big migration 2021-09-29 22:05:16 +02:00
byte[]
fe07a6b5ea Phoenix implemented Param for float (phoenixframework/phoenix#4322) 2021-09-27 19:21:04 -04: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
2dd8c44691
artist links can go without being code 2021-09-23 18:41:34 +02:00
Luna D
c86e449f42
render static pages with unsafe markdown 2021-09-23 17:02:21 +02:00
Luna D
625c0e4556
Merge branch 'markdown' 2021-09-21 18:25:24 +02:00
Luna D
4e9cde610a
mix format 2021-09-19 23:22:48 +02:00
Luna D
e864a99a43
implement >>image syntax 2021-09-19 23:17:50 +02:00
Luna D
ae3411b7a2
add user flag to bypass rate limits 2021-09-17 21:14:23 +02:00
Luna D
ece485b367
fix bq 2021-09-14 23:41:46 +02:00
Luna D
8f6f56b0e7
your mom's instrument 2021-09-14 01:08:47 +02:00
Luna D
14db174c26
add *_md versions of all columns, textile/md glue 2021-09-12 21:03:59 +02:00
Luna D
cb0ac0a9f5
finalize textile-md converter 2021-09-12 18:59:44 +02:00
Luna D
4b46ca803f
preliminary textile-markdown converter 2021-09-12 16:33:05 +02:00
Luna D
c259494c13
markdown test 2021-09-11 23:03:40 +02:00
Giorgio Productions
b2fe90ba88
Add the option to open footer links in a new tab (#136) 2021-09-10 19:17:13 -04:00
Luna D
73cb4f46cc
reduce certain rate limits by half 2021-09-10 20:37:52 +02:00
TheGlitchedWolf
b475ebdb2c
Fixes typo on DNP page (#135) 2021-09-09 16:59:55 -04:00
Erhannis
a20d42c38e
Added 'Create Gallery' button to Galleries page. Dunno if it's in the right spot or whatever, and the 'Create Gallery' page isn't really helpful if you don't already know what image to use as a cover, but at least this gets their foot in the door. (#133) 2021-09-05 14:58:04 -04:00
byte[]
8d533c9d43 add missing eol 2021-08-24 12:26:03 -04:00
byte[]
83319cab1b Add better error pages 2021-08-20 21:07:48 -04:00
byte[]
a82caedddf Fix copypaste error 2021-07-22 16:15:30 -04:00
byte[]
4c03bc5c62 Allow textile linking to non-visible images (fixes philomena-dev/philomena#122) 2021-07-15 20:29:34 -04:00
byte[]
66c758cb13 Finally put tag_list_cache to rest (fixes philomena-dev/philomena#128) 2021-07-15 20:14:41 -04:00
byte[]
38c134668a Add missing deleted filter on featured lookup (fixes philomena-dev/philomena#124) 2021-07-15 20:02:54 -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
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[]
c6b20c4f00 remove outdated text for tag search (fixes philomena-dev/philomena#116) 2021-05-01 23:19:10 -04:00
byte[]
de8001a1ff obj storage prep: skip generating urls for symlink version targets 2021-04-17 22:28:03 -04:00
byte[]
e99527a525 missing linebreak 2021-04-08 10:40:00 -04:00
byte[]
192cb727a0 fix off-by-one error in user stat rendering 2021-04-04 13:02:58 -04:00
byte[]
838b449193 update mix deps 2021-04-01 13:09:56 -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
byte[]
8c881da01c whoops 2021-03-17 19:17:59 -04:00
byte[]
fd064b3a79 add conversation options to template (fixes philomena-dev/philomena#106) 2021-03-16 20:33:06 -04:00
byte[]
35e12420af strongly segregate domains of main site and ugc in security policy 2021-03-16 20:24:58 -04:00
byte[]
9fa1734239 wrong entity name, fixes philomena-dev/philomena#103 2021-03-06 22:36:28 -05:00
byte[]
7fa9cd56f6 add mass selection to tag changes reversion (derpibooru/philomena#239) 2021-03-01 12:09:41 -05:00
liamwhite
f112f7928b
Tag locking (#102) 2021-03-01 12:01:27 -05:00
byte[]
7030b02183 add missing minlength attribute on "new password" inputs 2021-02-26 00:47:45 -05:00
byte[]
58d8d24812 format 2021-02-25 14:57:31 -05:00
byte[]
351cb282bf fix random results unintentionally hitting hidden images 2021-02-25 01:45:23 -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[]
f6c8d57bdf fix autocomplete and fetch controller paths 2021-02-09 17:37:54 -05:00
byte[]
f56ce27780 ignore explicit activity routing 2021-02-09 17:28:24 -05:00
byte[]
62143a3910 format 2021-02-09 17:24:41 -05:00
byte[]
702d096ecf unused variable, remove referrer redirect 2021-02-09 17:24:21 -05:00
VcSaJen
767a2ba949
User settings (#96)
Resolves derpibooru/philomena#121
Resolves derpibooru/philomena#122
2021-02-09 17:21:30 -05:00
byte[]
4be6e23400 fix escaping error in image filenames 2021-02-09 17:14:34 -05:00
Luna D
1dfc9d5eb6
prevent ban box from overflowing mobile screen (ugly) 2021-02-02 20:03:54 +01:00
Luna D
4eac58c380
prevent invalid bans 2021-01-21 21:24:22 +01:00
Luna D
4921ee13a8
shorten various staff titles 2021-01-20 22:47:06 +01:00
Luna D
f94c390207
reword reporting tips a bit 2021-01-18 23:26:31 +01:00
liamwhite
0f6a773286
Expunge improper schema use of NaiveDateTime (#91) 2021-01-18 13:01:03 -05:00
VcSaJen
24b22f78be
Public filter search (#88) 2021-01-18 13:00:35 -05:00
byte[]
bc5f1af22e totp: default to remember, remove google authenticator anti-recommendation, add dark theme media query to 2FA layout 2020-12-19 16:08:22 -05:00
byte[]
89d3eccef3 set lower limit on user pagination to 1 2020-12-16 18:02:23 -05:00
liamwhite
57427079f1
Cache purging callbacks (#87) 2020-12-16 10:53:26 -05:00
byte[]
2e8a5e92c9 add score-hiding snip per request 2020-12-16 09:35:58 -05:00
byte[]
0206c410de format 2020-12-16 09:27:44 -05:00
byte[]
c1992d272b exclude unused and once-off tags from automatic completion 2020-12-13 11:10:36 -05:00
byte[]
75be0794c0 remove controller reindex from posts, tags, reports 2020-12-12 17:06:26 -05:00
byte[]
d567d5ffc0 gallery reindexing to context 2020-12-12 16:51:11 -05:00
byte[]
dd535b5af2 hide commission entries after two inactive weeks (fixes philomena-dev/philomena#31) 2020-12-12 16:38:56 -05:00
byte[]
07778d1680 restore image pagination options in mobile layout 2020-12-11 23:55:46 -05:00
byte[]
358691711b fix up user-facing pagination widgets 2020-12-11 11:53:40 -05:00
byte[]
0faa10bd12 these stylesheets are an absolute travesty 2020-12-10 16:02:01 -05:00
byte[]
4c289510a7 tighten tolerance for paginator widget, add dropdown with missing quick page navigation 2020-12-10 01:26:13 -05:00
byte[]
0cf48f0eab preserve vote/fave status on navigation (fixes philomena-dev/philomena#82) 2020-12-09 00:04:37 -05:00
byte[]
c1ec2b3df2 collapse image list pagination in low width 2020-12-08 21:30:13 -05:00
byte[]
92ade8e543 pass on empty scraper url (fixes philomena-dev/philomena#81) 2020-12-08 15:12:31 -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[]
1f57d0041c propagate filename through scraper (fixes derpibooru/philomena#226) 2020-12-06 12:40:38 -05:00
liamwhite
6ebf080826
Remove spawn calls (#80) 2020-12-06 11:42:14 -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
byte[]
d8f04fe922 format 2020-12-02 14:18:25 -05:00
Luna D
95727d274c
fix minor phrasing issues 2020-12-02 20:00:32 +01:00
Meow
685159587c
Merge pull request #73 from parasprite/Artist-links-code
Makes user links artist links
2020-12-02 19:30:07 +01:00
Parasprite
7be6b35f54 Style cleanup 2020-12-02 12:27:53 -06:00
parasprite
b79f07b86d
Fixes email validation (#74)
Co-authored-by: Parasprite <foalspeedahead@gmail.com>
2020-11-27 20:14:26 -05:00
Parasprite
0dc6eb5b65 Adds check for user links for commission text 2020-11-26 15:30:17 -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[]
3a5b95312f reorder TOTP redirect (fixes philomena-dev/philomena#62) 2020-11-15 21:07:55 -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[]
495396206e remove config server (philomena-dev/philomena#56) 2020-10-26 23:03:08 -04:00
byte[]
c766ac9d3f change topic notification to post notification (derpibooru/philomena#191, derpibooru/philomena#39) 2020-10-26 22:30:14 -04:00
byte[]
a075576740 add edit link to streams on tag page (derpibooru/philomena#204) 2020-10-26 22:17:29 -04:00
byte[]
9f9a4c1967 match correct format in badge image update (derpibooru/philomena#217) 2020-10-26 21:45:51 -04:00
liamwhite
c7ace12132
Elixir 1.11 (#55) 2020-10-26 17:01:29 -04:00
byte[]
c6e0110f72 remove stray bullet 2020-10-23 00:46:19 -04:00
parasprite
13ce241396
Minor cleanup related to staff perms (#48) 2020-10-23 00:44:07 -04:00
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
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[]
cb11ba082b quickly reject user links from profile page 2020-09-28 10:36:27 -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[]
76a1cf8b3a redirect to admin path when transitioning user link 2020-09-27 22:54:04 -04:00
byte[]
f01a9cf20b add missing session-related links (philomena-dev/philomena#23) 2020-09-27 00:03:34 -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