nanaya
3afef796c5
Update minimagick syntax
2025-01-04 16:34:48 +09:00
nanaya
7b3e1a859c
Use native multipart handling
2024-12-16 02:11:52 +09:00
nanaya
b5fd63dcb2
Remove translate class
...
Nothing is using it and google api isn't available anymore anyway.
2024-12-16 01:54:08 +09:00
nanaya
be7bb55b97
Add rails version of rubocop
2024-01-08 19:39:01 +09:00
nanaya
a5720c813b
Remove custom npm handler
2024-01-07 19:43:14 +09:00
nanaya
63f618fda1
Move temp file to different directory
...
It doesn't need to be publicly accessible. Also cleaned up some logic
while at it.
2024-01-07 15:56:14 +09:00
nanaya
49201c5de4
Fix digest assets sprocket extension to work with ruby 3.2
2023-01-15 18:42:10 +09:00
nanaya
76fbbfc51b
Fix error on local service having empty string
2022-06-11 05:01:50 +09:00
nanaya
7c24699c06
Assetify favicons and set correct url scheme
2022-06-11 03:43:53 +09:00
nanaya
0ef16b2661
Use npm instead of yarn
...
More in line with classic package manager. Yarn 2+ is just weird.
2022-02-12 07:01:56 +09:00
nanaya
ac08c4e650
Use less instead of scss
...
Sass C library is deprecated and dart-sass has limited platform support.
less ruby library unfortunately isn't quite maintained so use native js.
2022-02-12 06:05:38 +09:00
nanaya
98654da28a
Remove coffee-rails
2022-02-04 07:03:00 +09:00
nanaya
d7a39ae75c
Prepare to remove coffee-rails
...
The gem is quite outdated now.
2022-02-04 07:02:18 +09:00
nanaya
8761293468
Move overrides out from autoload directory
2022-01-15 02:44:18 +09:00
nanaya
87fd840035
Update to rails 7.1 and ruby 3.1
2022-01-15 02:44:18 +09:00
nanaya
909e941e25
Lint fix
2021-01-22 08:19:32 +09:00
nanaya
e267ff5d5b
SimilarImages passes raw data
2021-01-22 08:18:46 +09:00
nanaya
267d68d06f
Fix wrong module method call
2021-01-22 07:33:17 +09:00
nanaya
9770461bb1
Fix one more place using incorrect width/height
2021-01-22 07:13:02 +09:00
nanaya
518d29312e
Properly handle exif orientation
...
- always use oriented height/width
- reorient image when resizing
2021-01-22 06:50:35 +09:00
nanaya
8dc5282d4b
Save images in progressive mode
2020-12-19 18:28:47 +09:00
nanaya
69c8917d69
Update new defaults
2020-12-11 01:30:54 +09:00
nanaya
ea0b013233
Correctly return blank zip file on empty pools
2020-09-24 10:03:23 +09:00
nanaya
7ccb64c273
Lowercase usernames app-side
...
Database may have different ctype when being migrated around.
2020-09-12 19:33:54 +09:00
nanaya
b3a54ab4ac
Don't send cookie for pool zip
2020-09-10 00:40:44 +09:00
nanaya
cd8b9fe33d
Move all file hasher functions to a module
2020-05-05 06:09:58 +09:00
nanaya
d649868eec
Update comments to use delegate
2020-04-22 05:15:23 +09:00
nanaya
47a1485d9f
Remove prototypejs-based Cropper
2020-04-12 04:24:01 +09:00
nanaya
093d455784
camelCase filename
2020-04-05 15:35:48 +09:00
nanaya
28a8435ab8
Remove application legacy imports from vendor
2020-04-04 02:54:09 +09:00
nanaya
58f9f601b2
Now only contains vendor (or soon to be)
2020-04-04 02:52:53 +09:00
nanaya
1aa710e253
Move files around
2020-04-04 02:52:11 +09:00
nanaya
55011ceb9a
Use window.
instead of @
...
In later version @ will be undefined.
2020-04-04 02:24:05 +09:00
nanaya
97ae834010
Adjust import paths for application-legacy
2020-04-04 02:01:38 +09:00
nanaya
f208826224
Move legacy application file
2020-04-04 01:58:20 +09:00
nanaya
446def0930
Move cropper outside of app dir
2020-04-04 01:54:59 +09:00
nanaya
8e2396da11
Fix incorrect .value call
2020-04-01 03:48:39 +09:00
nanaya
171e2d1d58
Fix conversion error
2020-04-01 03:20:00 +09:00
nanaya
cc2adafaab
Convert remaining js files to coffee
2020-04-01 03:19:14 +09:00
nanaya
8582ad5fde
Prepare for coffee conversion
2020-04-01 03:09:48 +09:00
nanaya
d1bc0f7174
Remove extended appendChild function
...
It extends nothing.
2020-04-01 03:01:15 +09:00
nanaya
abbd6c9981
Cleanup Vote class and fix browser view mobile favorite switch
2020-03-29 06:42:48 +09:00
nanaya
56b5cf37a3
Remove AndroidDetectWindowSize
...
Don't bother hiding the address bar:
- it doesn't work reliably,
- breaks user expectation (and annoys them if works),
- and you will still need address bar anyway to switch tab etc.
As mentioned in similar thelounge issue [1], just add to home screen to get "app" feel.
[1] https://github.com/thelounge/thelounge/issues/189
2020-03-29 05:01:18 +09:00
nanaya
7fdac3c6e8
Prepare for coffeescript conversion
2020-03-26 03:48:48 +09:00
nanaya
83a9144611
Fix mobile screen detection
2020-03-26 02:34:56 +09:00
nanaya
b64b5a464e
Cleanup browser-view and use jquery ajax
2020-03-26 02:24:18 +09:00
nanaya
43a4801e21
Missed global variable update
2020-03-25 00:50:47 +09:00
nanaya
03f19a4976
Fix common.js
...
- stricted comparison
- remove unused function
- remove variable shadowing
- fix variable name
- localStorage only stores strings
- explicit global variables (using window.)
- add missing "var"
2020-03-25 00:50:44 +09:00
nanaya
614288d635
Better scrub logic?
2020-03-20 03:10:37 +09:00
nanaya
3211d26990
Don't do anything for empty string
2020-03-18 02:27:06 +09:00