Skip to content
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
ad23cad
In basic UI, bring 2-column view to the center
Hanage999 May 26, 2019
4e60d87
Fix multi-column layout that cannot scroll to the leftmost column whe…
Hanage999 May 26, 2019
ec1d0bc
fix conflict in settings.yml
Hanage999 Dec 15, 2018
14d432a
enable Japanese(kuromoji) analyzer
Hanage999 Mar 8, 2018
b86c714
Followed changes in the default variables.scss
Hanage999 Apr 13, 2018
43485d1
Increase ElasticSearch results
Hanage999 Apr 14, 2018
ca7844e
follow mastodon/app/javascript/styles/mastodon/variables.scss at master
Hanage999 Apr 21, 2018
53eb566
Revert "Increase ElasticSearch results"
Hanage999 Apr 23, 2018
f11e4c3
change background of login/sign-up screen
Hanage999 Apr 23, 2018
6a6bcfe
adjusted transparent background
Hanage999 May 13, 2018
b40912a
change background image
Hanage999 May 14, 2018
3ac9d43
adjust background image size
Hanage999 May 14, 2018
400501e
add background images
Hanage999 May 29, 2018
27ba229
Re-organize crazynewworld theme
Hanage999 Jul 16, 2018
57cf114
set background of profile boxes transparent
Hanage999 Jul 30, 2018
a491f30
made .endorsements-widget and .card__bar transparent
Hanage999 Aug 19, 2018
c3a7793
make about/more page transparent
Hanage999 Aug 23, 2018
ca9ad3a
hide 'more' at footer of public pages
Hanage999 Aug 24, 2018
a1cfe90
change color of horizontal lines in admin pages
Hanage999 Sep 30, 2018
cf86f45
add report-uri directive
Hanage999 Oct 21, 2018
233aa09
adjusted background of status-card
Hanage999 Oct 31, 2018
bb16de5
make directory page transparent
Hanage999 Dec 8, 2018
73a4628
add 'crazynewworld-blue' theme
Hanage999 Jan 4, 2019
fd51b26
adjust color of background-blue.jpg
Hanage999 Jan 4, 2019
8b3a4b4
adjust public tag timeline CSS
Hanage999 Jan 18, 2019
a816dac
make hero card in new landing page transparent
Hanage999 Mar 24, 2019
8a45c23
make new profile column design in web UI transparent
Hanage999 Mar 26, 2019
155b8d4
adjust background color of verified account header in webUI
Hanage999 Mar 27, 2019
fbdca85
make new single-column UI transparent
Hanage999 May 26, 2019
87579ac
Fix 3-columns layout
Hanage999 May 26, 2019
74b0e27
Revert "Fix 3-columns layout"
Hanage999 May 31, 2019
70dee6b
Revert "Fix multi-column layout that cannot scroll to the leftmost co…
Hanage999 May 31, 2019
6a20a35
Revert "In basic UI, bring 2-column view to the center"
Hanage999 May 31, 2019
5864975
Fix color of navigation links in simple UI
Hanage999 Jun 1, 2019
cfa0fc0
Add themes (default layout + transparency)
Hanage999 Jun 2, 2019
e338d0d
In 2-column layout, fix color of tab links on mouse hover
Hanage999 Jun 2, 2019
228b480
make tabs-bar darker
Hanage999 Jun 9, 2019
833e70a
tweak compose panel appearance
Hanage999 Jun 9, 2019
8749b12
Adjust background of trends view
Hanage999 Aug 10, 2019
65c89b9
Refactor custom scss
Hanage999 Aug 11, 2019
93ccebf
Change CSP to allow tesseract.js
Hanage999 Aug 16, 2019
724e772
Tweak color transparency in settings view and about:more
Hanage999 Oct 16, 2019
3ad557b
Modify the background of admin announcements
Hanage999 Jan 24, 2020
933362b
Adjust background of announcements panel
Hanage999 Jan 26, 2020
e0751c5
Make directory page transparent
Hanage999 Aug 14, 2020
dee8b1c
Increase MAX_ITEMS
Hanage999 Sep 11, 2020
0c5abaf
Avoid CSP error regarding the style-src-attr directive
Hanage999 Oct 27, 2022
c789db0
Change Crazynewworld theme to fit the new layout of posts
Hanage999 Oct 27, 2022
f9e1f58
Revert "Avoid CSP error regarding the style-src-attr directive"
Hanage999 Nov 5, 2022
d584e14
Avoid CSP error regarding the style-src-attr directive
Hanage999 Nov 5, 2022
8eeabf7
Disable media_proxy throttling
Hanage999 Dec 28, 2022
e1a7d99
Bump webpack-bundle-analyzer from 4.8.0 to 4.9.0
dependabot[bot] Jun 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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';
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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;
}

}

Loading