Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump typescript from 5.0.4 to 5.1.3 #2458

Open
wants to merge 52 commits into
base: crazynewworld
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
8b19dc3
In basic UI, bring 2-column view to the center
Hanage999 May 26, 2019
5863b37
Fix multi-column layout that cannot scroll to the leftmost column whe…
Hanage999 May 26, 2019
eb13115
fix conflict in settings.yml
Hanage999 Dec 15, 2018
13dd4d1
enable Japanese(kuromoji) analyzer
Hanage999 Mar 8, 2018
c32a3d3
Followed changes in the default variables.scss
Hanage999 Apr 13, 2018
bbe248c
Increase ElasticSearch results
Hanage999 Apr 14, 2018
f2e39e3
follow mastodon/app/javascript/styles/mastodon/variables.scss at master
Hanage999 Apr 21, 2018
748b5d5
Revert "Increase ElasticSearch results"
Hanage999 Apr 23, 2018
7abd831
change background of login/sign-up screen
Hanage999 Apr 23, 2018
7c39a9d
adjusted transparent background
Hanage999 May 13, 2018
25661f2
change background image
Hanage999 May 14, 2018
9d88c5b
adjust background image size
Hanage999 May 14, 2018
1e3f4c6
add background images
Hanage999 May 29, 2018
33f1544
Re-organize crazynewworld theme
Hanage999 Jul 16, 2018
24eee52
set background of profile boxes transparent
Hanage999 Jul 30, 2018
a7a5e58
made .endorsements-widget and .card__bar transparent
Hanage999 Aug 19, 2018
134b00e
make about/more page transparent
Hanage999 Aug 23, 2018
5dd63d1
hide 'more' at footer of public pages
Hanage999 Aug 24, 2018
ebeebcd
change color of horizontal lines in admin pages
Hanage999 Sep 30, 2018
8674214
add report-uri directive
Hanage999 Oct 21, 2018
0cd578d
adjusted background of status-card
Hanage999 Oct 31, 2018
c9a804b
make directory page transparent
Hanage999 Dec 8, 2018
73ab56b
add 'crazynewworld-blue' theme
Hanage999 Jan 4, 2019
2764bc7
adjust color of background-blue.jpg
Hanage999 Jan 4, 2019
6cec395
adjust public tag timeline CSS
Hanage999 Jan 18, 2019
36ac821
make hero card in new landing page transparent
Hanage999 Mar 24, 2019
40f5504
make new profile column design in web UI transparent
Hanage999 Mar 26, 2019
c69daa6
adjust background color of verified account header in webUI
Hanage999 Mar 27, 2019
77a0995
make new single-column UI transparent
Hanage999 May 26, 2019
f110e43
Fix 3-columns layout
Hanage999 May 26, 2019
941fe73
Revert "Fix 3-columns layout"
Hanage999 May 31, 2019
dec6435
Revert "Fix multi-column layout that cannot scroll to the leftmost co…
Hanage999 May 31, 2019
ba532fa
Revert "In basic UI, bring 2-column view to the center"
Hanage999 May 31, 2019
b7f5e2d
Fix color of navigation links in simple UI
Hanage999 Jun 1, 2019
6a86792
Add themes (default layout + transparency)
Hanage999 Jun 2, 2019
1da3bed
In 2-column layout, fix color of tab links on mouse hover
Hanage999 Jun 2, 2019
0904d2a
make tabs-bar darker
Hanage999 Jun 9, 2019
f7a7eaf
tweak compose panel appearance
Hanage999 Jun 9, 2019
1eba8d7
Adjust background of trends view
Hanage999 Aug 10, 2019
2489f79
Refactor custom scss
Hanage999 Aug 11, 2019
4738190
Change CSP to allow tesseract.js
Hanage999 Aug 16, 2019
e030cd1
Tweak color transparency in settings view and about:more
Hanage999 Oct 16, 2019
817d89d
Modify the background of admin announcements
Hanage999 Jan 24, 2020
ffcae1c
Adjust background of announcements panel
Hanage999 Jan 26, 2020
8cbed99
Make directory page transparent
Hanage999 Aug 14, 2020
8b10fb3
Increase MAX_ITEMS
Hanage999 Sep 11, 2020
f6c596f
Avoid CSP error regarding the style-src-attr directive
Hanage999 Oct 27, 2022
6f1b52d
Change Crazynewworld theme to fit the new layout of posts
Hanage999 Oct 27, 2022
80bf8ca
Revert "Avoid CSP error regarding the style-src-attr directive"
Hanage999 Nov 5, 2022
3381f13
Avoid CSP error regarding the style-src-attr directive
Hanage999 Nov 5, 2022
124a069
Disable media_proxy throttling
Hanage999 Dec 28, 2022
fae941c
Bump typescript from 5.0.4 to 5.1.3
dependabot[bot] Jun 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
57 changes: 39 additions & 18 deletions app/chewy/statuses_index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,52 @@
class StatusesIndex < Chewy::Index
include FormattingHelper

# settings index: { refresh_interval: '30s' }, analysis: {
# filter: {
# english_stop: {
# type: 'stop',
# stopwords: '_english_',
# },
# english_stemmer: {
# type: 'stemmer',
# language: 'english',
# },
# english_possessive_stemmer: {
# type: 'stemmer',
# language: 'possessive_english',
# },
# },
# analyzer: {
# content: {
# tokenizer: 'uax_url_email',
# filter: %w(
# english_possessive_stemmer
# lowercase
# asciifolding
# cjk_width
# english_stop
# english_stemmer
# ),
# },
# },
# }

settings index: { refresh_interval: '30s' }, analysis: {
filter: {
english_stop: {
type: 'stop',
stopwords: '_english_',
},
english_stemmer: {
type: 'stemmer',
language: 'english',
},
english_possessive_stemmer: {
type: 'stemmer',
language: 'possessive_english',
tokenizer: {
kuromoji_user_dict: {
type: 'kuromoji_tokenizer',
user_dictionary: 'userdic.txt',
},
},
analyzer: {
content: {
tokenizer: 'uax_url_email',
type: 'custom',
tokenizer: 'kuromoji_user_dict',
filter: %w(
english_possessive_stemmer
lowercase
asciifolding
kuromoji_baseform
kuromoji_stemmer
cjk_width
english_stop
english_stemmer
lowercase
),
},
},
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/api/v2/search_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class Api::V2::SearchController < Api::BaseController
include Authorization

RESULTS_LIMIT = 20
RESULTS_LIMIT = 50

before_action -> { authorize_if_got_token! :read, :'read:search' }
before_action :validate_search_params!
Expand Down
5 changes: 5 additions & 0 deletions app/javascript/styles/crazynewworld-blue.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import 'crazynewworld/variables-blue';
@import 'application';
@import 'crazynewworld/compact';
@import 'crazynewworld/transparent_background';

4 changes: 4 additions & 0 deletions app/javascript/styles/crazynewworld.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@import 'crazynewworld/variables';
@import 'application';
@import 'crazynewworld/compact';
@import 'crazynewworld/transparent_background';
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions app/javascript/styles/crazynewworld/compact.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/* 通知を一番左の列に組み込み */

@media screen and (min-width:741px) {

.drawer {
width: 25% !important;
height: 510px !important;
overflow: visible !important;
}

.column {
flex: auto !important;
}

.column:nth-child(3) {
position: fixed !important;
margin-top: 500px !important;
padding-left: 10px !important;
height: calc(100% - 500px) !important;
left: 0px !important;
width: 25% !important;
}

.column:nth-child(3) + div .mastodon-column-container {
height: auto !important;
}

div.column-icon.collapsable + div {
overflow: scroll !important;
}

}