All emojis work now,fixed nginx config,fixed design bug,performance improvements
This commit is contained in:
parent
cec871631e
commit
fde3eefada
|
@ -10,10 +10,10 @@ Follow our Mastodon account and never miss an important update: [@halcyon@social
|
||||||
|
|
||||||
## Instances
|
## Instances
|
||||||
These instances are publicly accessible and usable by everyone, no matter which Mastodon instance you use.
|
These instances are publicly accessible and usable by everyone, no matter which Mastodon instance you use.
|
||||||
- https://itter.photog.social - 1.2.2
|
- https://itter.photog.social - 1.2.3
|
||||||
|
- https://social.dev-wiki.de - 1.2.2
|
||||||
|
- https://halcyon.toromino.de - 1.2.2
|
||||||
- https://halcyon.distsn.org - 1.2.1
|
- https://halcyon.distsn.org - 1.2.1
|
||||||
- https://social.dev-wiki.de - 1.2.0
|
|
||||||
- https://halcyon.toromino.de - 1.2.0
|
|
||||||
- https://halcyon.bka.li - 1.1.7
|
- https://halcyon.bka.li - 1.1.7
|
||||||
- https://halcyon.tilde.team - 1.1.7
|
- https://halcyon.tilde.team - 1.1.7
|
||||||
- https://halcyon.cybre.space - Outdated
|
- https://halcyon.cybre.space - Outdated
|
||||||
|
@ -21,6 +21,7 @@ These instances are publicly accessible and usable by everyone, no matter which
|
||||||
You have your own Halcyon instance and want it to be listed here? Create an issue with the link and we will add it to the list.
|
You have your own Halcyon instance and want it to be listed here? Create an issue with the link and we will add it to the list.
|
||||||
|
|
||||||
## Blog
|
## Blog
|
||||||
|
- Release of Version 1.2.3 - All emojis do now work,fixed some bugs in the Nginx example config,fixed Windows-only design bug,improved text field performance
|
||||||
- Release of Version 1.2.2 - Added an emoji picker,improved performance (emoji rendering),desktop notifications on notifications page work now
|
- Release of Version 1.2.2 - Added an emoji picker,improved performance (emoji rendering),desktop notifications on notifications page work now
|
||||||
- Release of Version 1.2.1 - New who to follow page with more recommendations,bugfix at search,profiles now ignore "show replies" setting,small login page changes
|
- Release of Version 1.2.1 - New who to follow page with more recommendations,bugfix at search,profiles now ignore "show replies" setting,small login page changes
|
||||||
- [Release of Version 1.2.0 - The next big step and a view into future](https://nikisoft.myblog.de/nikisoft/art/11626391/Halcyon-1-2-0-The-next-big-step-and-a-view-into-future)
|
- [Release of Version 1.2.0 - The next big step and a view into future](https://nikisoft.myblog.de/nikisoft/art/11626391/Halcyon-1-2-0-The-next-big-step-and-a-view-into-future)
|
||||||
|
|
|
@ -50,7 +50,6 @@ cursor: pointer;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
.lsx-emojipicker-emoji span img.emoji {
|
.lsx-emojipicker-emoji span img.emoji {
|
||||||
width: 25px;
|
|
||||||
margin: 5px 4px;
|
margin: 5px 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.1s ease-in-out;
|
transition: all 0.1s ease-in-out;
|
||||||
|
|
|
@ -54,7 +54,7 @@ white-space: nowrap;
|
||||||
}
|
}
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 1;
|
line-height: normal;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -102,9 +102,9 @@ margin: auto;
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
}
|
}
|
||||||
html {
|
html {
|
||||||
font-family : "Helvetica Neue",Helvetica,Arial,sans-serif;
|
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||||
font-size : 100%;
|
font-size: 100%;
|
||||||
line-height : 1;
|
line-height: normal;
|
||||||
color: #333;
|
color: #333;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
@ -683,7 +683,7 @@ font-size: 14px;
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
}
|
}
|
||||||
.toot_entry .toot_entry_body .toot_content .toot_header .text_ellipsis a {
|
.toot_entry .toot_entry_body .toot_content .toot_header .text_ellipsis a {
|
||||||
line-height: 1;
|
line-height: normal;
|
||||||
height: 16.5px;
|
height: 16.5px;
|
||||||
margin-bottom: -4.5px;
|
margin-bottom: -4.5px;
|
||||||
}
|
}
|
||||||
|
@ -1947,7 +1947,7 @@ word-break: break-all;
|
||||||
#main .article_wrap .left_column .profile_section_wrap > .profile_displayname {
|
#main .article_wrap .left_column .profile_section_wrap > .profile_displayname {
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: 1;
|
line-height: normal;
|
||||||
color: rgb(20, 23, 26);
|
color: rgb(20, 23, 26);
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -681,7 +681,7 @@ closeOnSelect:true,
|
||||||
twemoji:!checkEmojiSupport(),
|
twemoji:!checkEmojiSupport(),
|
||||||
onSelect:function(emoji) {
|
onSelect:function(emoji) {
|
||||||
$('#overlay_status_form .status_textarea textarea').val($('#overlay_status_form .status_textarea textarea').val()+":"+emoji.name+": ");
|
$('#overlay_status_form .status_textarea textarea').val($('#overlay_status_form .status_textarea textarea').val()+":"+emoji.name+": ");
|
||||||
$('#overlay_status_form .status_textarea textarea').trigger("change");
|
$('#overlay_status_form .status_textarea textarea').trigger({"type":"keyup","key":":"});
|
||||||
$('#overlay_status_form .status_textarea textarea').focus();
|
$('#overlay_status_form .status_textarea textarea').focus();
|
||||||
var textLen = $('#overlay_status_form .status_textarea textarea').val().length * 2;
|
var textLen = $('#overlay_status_form .status_textarea textarea').val().length * 2;
|
||||||
$('#overlay_status_form .status_textarea textarea')[0].setSelectionRange(textLen,textLen);
|
$('#overlay_status_form .status_textarea textarea')[0].setSelectionRange(textLen,textLen);
|
||||||
|
@ -705,7 +705,9 @@ $('#overlay_status_form').addClass('ready');
|
||||||
$('#overlay_status_form .character_count').removeClass('red');
|
$('#overlay_status_form .character_count').removeClass('red');
|
||||||
$('#overlay_status_form').removeClass('ready');
|
$('#overlay_status_form').removeClass('ready');
|
||||||
}
|
}
|
||||||
|
if(e.key == ":") {
|
||||||
$(this).val(replaced_emoji_return($(this).val()));
|
$(this).val(replaced_emoji_return($(this).val()));
|
||||||
|
}
|
||||||
$('#overlay_status_form .character_count').text(textLen);
|
$('#overlay_status_form .character_count').text(textLen);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -824,13 +826,15 @@ $('#header_status_emoji').lsxEmojiPicker("destroy");
|
||||||
});
|
});
|
||||||
$(document).on('change keyup','#header_status_form textarea, #header_status_form .status_spoiler', function(e) {
|
$(document).on('change keyup','#header_status_form textarea, #header_status_form .status_spoiler', function(e) {
|
||||||
if(e.keyCode !== 224 & e.keyCode !== 17) {
|
if(e.keyCode !== 224 & e.keyCode !== 17) {
|
||||||
|
if(e.key == ":") {
|
||||||
$(this).val(replaced_emoji_return($(this).val()));
|
$(this).val(replaced_emoji_return($(this).val()));
|
||||||
|
}
|
||||||
const textCount = $('#header_status_form textarea').val().length + $('#header_status_form .status_spoiler').val().length;
|
const textCount = $('#header_status_form textarea').val().length + $('#header_status_form .status_spoiler').val().length;
|
||||||
let textLen = ( current_instance_charlimit - textCount );
|
let textLen = ( current_instance_charlimit - textCount );
|
||||||
if ( textLen <= -1 ) {
|
if(textLen <= -1) {
|
||||||
$('#header_status_form .character_count').addClass('red');
|
$('#header_status_form .character_count').addClass('red');
|
||||||
$('#header_status_form').addClass('ready');
|
$('#header_status_form').addClass('ready');
|
||||||
} else if ( textLen === current_instance_charlimit ) {
|
} else if(textLen === current_instance_charlimit) {
|
||||||
$('#header_status_form').addClass('ready');
|
$('#header_status_form').addClass('ready');
|
||||||
} else {
|
} else {
|
||||||
$('#header_status_form .character_count').removeClass('red');
|
$('#header_status_form .character_count').removeClass('red');
|
||||||
|
@ -870,7 +874,7 @@ closeOnSelect:true,
|
||||||
twemoji:!checkEmojiSupport(),
|
twemoji:!checkEmojiSupport(),
|
||||||
onSelect:function(emoji) {
|
onSelect:function(emoji) {
|
||||||
$('#header_status_form .status_textarea textarea').val($('#header_status_form .status_textarea textarea').val()+":"+emoji.name+": ");
|
$('#header_status_form .status_textarea textarea').val($('#header_status_form .status_textarea textarea').val()+":"+emoji.name+": ");
|
||||||
$('#header_status_form .status_textarea textarea').trigger("change");
|
$('#header_status_form .status_textarea textarea').trigger({"type":"keyup","key":":"});
|
||||||
$('#header_status_form .status_textarea textarea').focus();
|
$('#header_status_form .status_textarea textarea').focus();
|
||||||
var textLen = $('#header_status_form .status_textarea textarea').val().length * 2;
|
var textLen = $('#header_status_form .status_textarea textarea').val().length * 2;
|
||||||
$('#header_status_form .status_textarea textarea')[0].setSelectionRange(textLen,textLen);
|
$('#header_status_form .status_textarea textarea')[0].setSelectionRange(textLen,textLen);
|
||||||
|
@ -985,7 +989,7 @@ closeOnSelect:true,
|
||||||
twemoji:!checkEmojiSupport(),
|
twemoji:!checkEmojiSupport(),
|
||||||
onSelect:function(emoji) {
|
onSelect:function(emoji) {
|
||||||
$('#reply_status_form .status_textarea textarea').val($('#reply_status_form .status_textarea textarea').val()+":"+emoji.name+": ");
|
$('#reply_status_form .status_textarea textarea').val($('#reply_status_form .status_textarea textarea').val()+":"+emoji.name+": ");
|
||||||
$('#reply_status_form .status_textarea textarea').trigger("change");
|
$('#reply_status_form .status_textarea textarea').trigger({"type":"keyup","key":":"});
|
||||||
$('#reply_status_form .status_textarea textarea').focus();
|
$('#reply_status_form .status_textarea textarea').focus();
|
||||||
var textLen = $('#reply_status_form .status_textarea textarea').val().length * 2;
|
var textLen = $('#reply_status_form .status_textarea textarea').val().length * 2;
|
||||||
$('#reply_status_form .status_textarea textarea')[0].setSelectionRange(textLen,textLen);
|
$('#reply_status_form .status_textarea textarea')[0].setSelectionRange(textLen,textLen);
|
||||||
|
@ -1010,7 +1014,9 @@ $('#reply_status_form').addClass('ready');
|
||||||
$('#reply_status_form .character_count').removeClass('red');
|
$('#reply_status_form .character_count').removeClass('red');
|
||||||
$('#reply_status_form').removeClass('ready');
|
$('#reply_status_form').removeClass('ready');
|
||||||
}
|
}
|
||||||
|
if(e.key == ":") {
|
||||||
$(this).val(replaced_emoji_return($(this).val()));
|
$(this).val(replaced_emoji_return($(this).val()));
|
||||||
|
}
|
||||||
$('#reply_status_form .character_count').text(textLen);
|
$('#reply_status_form .character_count').text(textLen);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -1155,7 +1161,7 @@ closeOnSelect:true,
|
||||||
twemoji:!checkEmojiSupport(),
|
twemoji:!checkEmojiSupport(),
|
||||||
onSelect:function(emoji) {
|
onSelect:function(emoji) {
|
||||||
$('#single_reply_status_form .status_textarea textarea').val($('#single_reply_status_form .status_textarea textarea').val()+":"+emoji.name+": ");
|
$('#single_reply_status_form .status_textarea textarea').val($('#single_reply_status_form .status_textarea textarea').val()+":"+emoji.name+": ");
|
||||||
$('#single_reply_status_form .status_textarea textarea').trigger("change");
|
$('#single_reply_status_form .status_textarea textarea').trigger({"type":"keyup","key":":"});
|
||||||
$('#single_reply_status_form .status_textarea textarea').focus();
|
$('#single_reply_status_form .status_textarea textarea').focus();
|
||||||
var textLen = $('#single_reply_status_form .status_textarea textarea').val().length * 2;
|
var textLen = $('#single_reply_status_form .status_textarea textarea').val().length * 2;
|
||||||
$('#single_reply_status_form .status_textarea textarea')[0].setSelectionRange(textLen,textLen);
|
$('#single_reply_status_form .status_textarea textarea')[0].setSelectionRange(textLen,textLen);
|
||||||
|
@ -1184,7 +1190,9 @@ $('#single_reply_status_form').addClass('ready');
|
||||||
$('#single_reply_status_form .character_count').removeClass('red');
|
$('#single_reply_status_form .character_count').removeClass('red');
|
||||||
$('#single_reply_status_form').removeClass('ready');
|
$('#single_reply_status_form').removeClass('ready');
|
||||||
}
|
}
|
||||||
|
if(e.key == ":") {
|
||||||
$(this).val(replaced_emoji_return($(this).val()));
|
$(this).val(replaced_emoji_return($(this).val()));
|
||||||
|
}
|
||||||
$('#single_reply_status_form .character_count').text(textLen);
|
$('#single_reply_status_form .character_count').text(textLen);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
67
nginx.conf
67
nginx.conf
|
@ -23,30 +23,51 @@ return 302 /;
|
||||||
location ~* \.(?:bat|git|ini|sh|svn[^.]*|txt|tpl|xml)$ {
|
location ~* \.(?:bat|git|ini|sh|svn[^.]*|txt|tpl|xml)$ {
|
||||||
return 404;
|
return 404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Main
|
||||||
rewrite ^/home/?$ / permanent;
|
rewrite ^/home/?$ / permanent;
|
||||||
rewrite ^/login/?$ /login/login.php last;
|
rewrite ^/login/?$ /login/login.php break;
|
||||||
rewrite ^/auth/?$ /login/auth.php last;
|
rewrite ^/auth/?$ /login/auth.php break;
|
||||||
rewrite ^/logout/?$ /login/logout.php last;
|
rewrite ^/logout/?$ /login/logout.php break;
|
||||||
rewrite ^/terms/?$ /login/terms.php last;
|
rewrite ^/terms/?$ /login/terms.php break;
|
||||||
rewrite ^/local/?$ /local.php last;
|
|
||||||
rewrite ^/federated/?$ /federated.php last;
|
# LTL
|
||||||
rewrite ^/notifications/?$ /notifications.php last;
|
rewrite ^/local/?$ /local.php break;
|
||||||
rewrite ^/whotofollow/?$ /who_to_follow.php last;
|
|
||||||
rewrite ^/search/?$ /search_hash_tag.php last;
|
# FTL
|
||||||
rewrite ^/search/users/?$ /search_user.php last;
|
rewrite ^/federated/?$ /federated.php break;
|
||||||
rewrite ^/settings/?$ /settings_general.php last;
|
|
||||||
rewrite ^/settings/profile/?$ /settings_profile.php last;
|
# Notice
|
||||||
rewrite ^/settings/appearance/?$ /settings_appearance.php last;
|
rewrite ^/notifications/?$ /notifications.php break;
|
||||||
rewrite ^/@(.+)@(.+).([a-z]+)/?$ /user.php?user=@$1@$2.$3 last;
|
|
||||||
rewrite ^/@(.+)@(.+).([a-z]+)/status/(.+?)?$ /user.php?user=@$1@$2.$3&status=$4 last;
|
# Who to follow
|
||||||
rewrite ^/@(.+)@(.+).([a-z]+)/media/?$ /user_only_media.php?user=@$1@$2.$3 last;
|
rewrite ^/whotofollow/?$ /who_to_follow.php break;
|
||||||
rewrite ^/@(.+)@(.+).([a-z]+)/with_replies/?$ /user_include_replies.php?user=@$1@$2.$3 last;
|
|
||||||
rewrite ^/@(.+)@(.+).([a-z]+)/followers/?$ /user_followers.php?user=@$1@$2.$3 last;
|
# Search
|
||||||
rewrite ^/@(.+)@(.+).([a-z]+)/following/?$ /user_following.php?user=@$1@$2.$3 last;
|
rewrite ^/search/?$ /search_hash_tag.php break;
|
||||||
rewrite ^/@(.+)@(.+).([a-z]+)/favourites/?$ /user_favorite.php?user=@$1@$2.$3 last;
|
rewrite ^/search/users/?$ /search_user.php break;
|
||||||
rewrite ^/avatars/original/missing.png$ /assets/images/missing.png last;
|
|
||||||
rewrite ^/headers/original/missing.png$ /assets/images/missing_header.png last;
|
# Settings
|
||||||
rewrite ^/404/?$ /404.php last;
|
rewrite ^/settings/?$ /settings_general.php break;
|
||||||
|
rewrite ^/settings/profile/?$ /settings_profile.php break;
|
||||||
|
rewrite ^/settings/appearance/?$ /settings_appearance.php break;
|
||||||
|
|
||||||
|
# User
|
||||||
|
rewrite ^/@(.+)@(.+)\.([a-z]+)/?$ /user.php?user=@$1@$2\.$3 break;
|
||||||
|
rewrite ^/@(.+)@(.+)\.([a-z]+)/status/(.+?)?$ /user.php?user=@$1@$2\.$3&status=$4 break;
|
||||||
|
rewrite ^/@(.+)@(.+)\.([a-z]+)/media/?$ /user_only_media.php?user=@$1@$2\.$3 break;
|
||||||
|
rewrite ^/@(.+)@(.+)\.([a-z]+)/with_replies/?$ /user_include_replies.php?user=@$1@$2\.$3 break;
|
||||||
|
rewrite ^/@(.+)@(.+)\.([a-z]+)/followers/?$ /user_followers.php?user=@$1@$2\.$3 break;
|
||||||
|
rewrite ^/@(.+)@(.+)\.([a-z]+)/following/?$ /user_following.php?user=@$1@$2\.$3 break;
|
||||||
|
rewrite ^/@(.+)@(.+)\.([a-z]+)/favourites/?$ /user_favorite.php?user=@$1@$2\.$3 break;
|
||||||
|
|
||||||
|
# Image
|
||||||
|
rewrite ^/avatars/original/missing.png$ /assets/images/missing.png break;
|
||||||
|
rewrite ^/headers/original/missing.png$ /assets/images/missing_header.png break;
|
||||||
|
|
||||||
|
# 404
|
||||||
|
rewrite ^/404/?$ /404.php break;
|
||||||
|
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
if (!-f $document_root$fastcgi_script_name) {
|
if (!-f $document_root$fastcgi_script_name) {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.2.2
|
1.2.3
|
||||||
|
|
Loading…
Reference in New Issue