Kyle Drake
8fdc30a88c
missing atom mime type
2024-03-27 10:17:29 -05:00
Kyle Drake
f731466317
increase max follows to 2000
2024-03-27 14:01:28 +00:00
Kyle Drake
2831d2fd77
fixes for mime type changes
2024-03-27 02:03:59 +00:00
parkedhampster
26b6f6f6c8
undo auto-lint changes from my editor
2024-03-26 11:41:06 -04:00
parkedhampster
25ca2a879b
Increase filename limit to ext4 character limit
...
Purpose of this PR:
- ext4 filesystems permit a filename limit of 255 characters
- changes arbitrary 100-character limit to the above limit
- many site builders will create minified files with names over 100 characters in length
- adds the limit as part of the error return as well
- this is hard-coded currently (I am not intimately familiar with ruby)
2024-03-26 11:21:50 -04:00
Kyle Drake
8f6a85d81d
add img/vnd.microsoft.icon to mime type list, sort list
2024-03-22 16:58:53 -05:00
Kyle Drake
d0ab40f750
add json mime type, changed after site file upload change
2024-03-22 16:50:22 -05:00
Kyle Drake
88ad085ac8
dont allow directories to end with .htm or .html. Breaks the dashboard UI, also breaks the cdn
2024-03-13 16:57:54 -05:00
Kyle Drake
9bc93a8d15
whitelist emails capability
2024-03-13 16:20:32 -05:00
Kyle Drake
a91041ae61
got drag n drop to work with firefox -and- chrome and checking in before I manage to break it again
2024-03-10 16:22:12 -05:00
Kyle Drake
01aab733bb
remove extra purge cache for html file create
2024-02-22 13:31:09 -06:00
Kyle Drake
b0bb40fe23
fix for cache purge rename
2024-02-22 12:30:41 -06:00
Kyle Drake
29619d51ee
remove surf code, clean up purge cache and better define purge cache tests for expected behavior
2024-02-21 13:51:41 -06:00
Kyle Drake
c686dd026f
catch already deleted entries
2024-02-18 14:38:48 -06:00
Kyle Drake
3fcbb116fe
force utf encoding for saved title
2024-02-17 14:29:46 -06:00
Kyle Drake
9800a4ad4b
check tag input
2024-02-17 10:55:51 -06:00
Kyle Drake
f7e65ec61b
more strict integer checks
2024-02-17 10:27:02 -06:00
Kyle Drake
e551aeb342
check for empty username/email for identifier
2024-02-16 14:11:46 -06:00
Kyle Drake
59dbc1b2e1
allow api use via current_site, better check for current_site
2024-02-16 10:50:40 -06:00
Kyle Drake
b89ffc2bad
catch error if follow is missing
2024-02-16 10:44:14 -06:00
Kyle Drake
682f450561
better card decline copy - catch renames with too long filenames/paths
2024-02-03 13:05:50 -06:00
Kiril Misnikov
96c2c4059b
Update site.rb
...
get yo ass out sussy wigglin' fucker (swf) you aren't supposed to be here
2024-01-22 16:57:07 +02:00
Kiril Misnikov
f110dc6fb4
Merge branch 'neocities:master' into master
2024-01-22 16:55:49 +02:00
Kyle Drake
c70b6cef0f
path limit to 1200
2024-01-21 09:40:54 -06:00
Kyle Drake
29dfe755fa
more w3c rss validator madness
2024-01-21 09:19:49 -06:00
Kyle Drake
b25c8d1353
continuing the war with w3c's terrible rss validator
2024-01-21 09:16:41 -06:00
Kiril Misnikov
632deabfe7
Update site.rb
2024-01-21 16:43:15 +02:00
Kiril Misnikov
4dadb018ba
Merge branch 'neocities:master' into master
2024-01-21 16:38:08 +02:00
Kyle Drake
fd15fd6856
use nokogiri for rss, return better results, index for speed
2024-01-20 18:32:18 -06:00
Kiril Misnikov
28928b2591
Update site.rb
...
Added .osdx (Open Search Discovery) extension to the white list
2024-01-19 20:41:02 +02:00
Kyle Drake
37cac9d1bd
add yml/yaml/toml to whitelist
2024-01-15 22:22:53 -06:00
Kyle Drake
13969fef50
raise limit for path
2024-01-15 17:38:54 -06:00
Kyle Drake
a1cb3c6a11
add defined file and path length limits
2024-01-15 08:59:57 -06:00
Kyle Drake
0888c9e2df
default freeze string literals where present
2024-01-09 12:49:17 -06:00
Kyle Drake
19dadfd6d2
add threshold for jerk blocker for reducing change of false positive for more followed sites
2024-01-09 12:39:55 -06:00
Winterhuman
a1d32b67a3
Merge branch 'master' into apng
2024-01-08 16:55:35 +00:00
Kyle Drake
f261db16b0
refactor RSS from Atom to 2.0 and hopefully get it working without guids
2024-01-07 13:35:41 -06:00
Kyle Drake
837b0ea2d0
no hyphens at start or end of username
2024-01-05 16:37:14 -06:00
Kyle Drake
c7764d3ed5
unfollow sites when blocked
2024-01-03 17:03:29 -06:00
Kyle Drake
ed02178289
working to get the tests back online. deprecated zipruby to make selenium work, need to refactor zip code
2023-12-31 00:58:53 -06:00
Kyle Drake
dde5225752
deprecate ipfs
2023-12-28 15:36:20 -06:00
Kyle Drake
d394b2601e
move proxy delete logic to other conditional
2023-12-27 18:00:39 +00:00
Kyle Drake
36765afb5c
only try to delete redis entries if they're set from domain
2023-12-27 11:18:32 -06:00
Kyle Drake
7b9107393b
use purge_all_cache instread of delete_all_cache
2023-11-21 16:57:49 -06:00
Kyle Drake
4c3daea4a8
delete_all_cache for destroy and not just ban
2023-11-18 10:59:17 -06:00
Kyle Drake
0f860cfdcc
move order of delete_all_cache on undelete to bottom
2023-11-18 10:53:48 -06:00
Kyle Drake
aad6546631
merge phonevalidation with master
2023-11-10 13:34:33 -06:00
Kyle Drake
40e848e2c0
phone validation: bugfixes, tweaks and refinements
2023-11-10 11:53:43 -06:00
Kyle Drake
143704215f
first pass at phone validation
2023-11-09 14:55:48 -06:00
Kyle Drake
5dfbc7a91a
increase jerk block threshold
2023-10-01 18:36:31 +00:00