Remove unrequired @media sections
Merge similar CSS elements
Creation of header element for top navigation bar
Fix search bar text compress bug
Co-authored-by: Phil S <phil@git.ullarah.com>
Reviewed-on: #949
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Fixes#946
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #948
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
hi~ mills and other friends
this merge is all about Chinese translation improvement
1. adjust some inappropriate translation
2. complete almost all untranslated part except pod management
3. create a chinese transaltion guideline, see README at https://git.mills.io/jim/yarn-trans-gl or just read it here.
the things i want you to know is that my friends and i came a really cool Chinese name for yarn and yarn.social but I think yarn.social is a **trademark** and **a symbol of you and many others hardwork**, so i decide to **keep yarn.social not translated** but add the cool Chines name in parentheses after it, hope you'll happy about that!
the current guideline is below:
# 目的 Purpose
Yarn.social网站中文翻译准则,目的是确保网站翻译的一致性
Yarn.social website Chinese translation guidline, the purpose is to keep consistency for the whole translation
# 翻译原则 tranlation principles
1. 信雅达,以信为先
forgive me, it would very offensive to tranlate these principles with my low level, because these principles are set out by one of the greatest chinese translator who's name is Yan Fu(严复)
2. 以推特的用语为主,兼顾微博的用语
mainly used the twitter(which is blocked in mainland china) terms and also considering the weibo(which is more popular in china) terms
# 不翻译的词 Words NOT Translated
1. feed
2. token
3. URL
4. yarn.social 但会在末尾括号加上中文名
# 常用名词对照表 Glossary
| English | 汉语
| --- | ---
| yarn | 言,织言
| yarn.social | yarn.social(织言社交)
| pod | 节点
| instance | 节点
| link | 链接
| follower | 关注者
| following | 正在关注
| timeline | 动态
| twt | 推文
| post | 帖子
| profile | 用户资料
| magic-link-auth | 鉴权魔法链接
| mute | 屏蔽
* yarn.social是一个商标,要保持这个英文商标,把翻译放到括号里
yarn.social is a trademark, remember that, so keep this English trademark, and put in parentheses.
# 改进 Improvements
欢迎进行讨论提供改进意见
improvements are welcomed
Co-authored-by: Jim Green <jimgreen2013@qq.com>
Co-authored-by: jim <chsing@pm.me>
Reviewed-on: #938
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: jim <jim@noreply@mills.io>
Co-committed-by: jim <jim@noreply@mills.io>
Holy mackeral I think this small little change has fixed#923!
I found this by complete accident whilst working on the Trix editor.
The 'in-reply-to' shows the first item in the list however, in my opinion, this will be sufficient in displaying the context.
cc @prologic
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Co-authored-by: Phil S <phil@git.ullarah.com>
Reviewed-on: #936
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
this changeset addresses the need to rapidly deploy a yarn pod using common patterns via vps/vm, traefik, docker swarm, and cloudflare.
more guides and example will be added as time allows, but for now this has worked for @Screem@prologic and others
Reviewed-on: #933
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: m u t e f a l l <mutefall@noreply@mills.io>
Co-committed-by: m u t e f a l l <mutefall@noreply@mills.io>
Additional fix for minor issue with burger menu
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #927
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Forgot to make a PR of this branch!
cc @prologic
Co-authored-by: Phil S <phil@git.ullarah.com>
Reviewed-on: #926
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Add domain to lookup structure
Add utility for mention lookup to return domain
Fix mention list button on format toolbar
Adjust mention list to inline under post box
Resolves#838
Co-authored-by: Phil S <phil@git.ullarah.com>
Reviewed-on: #920
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Resolves#689
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #919
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Resolves#917
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #918
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Changes to the custom colour tooltip about using literal colours or hex codes.
Adds confirmation dialog about cancelling a reply.
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #916
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Reverse default yarn-data attributes
Fix link verification modals by adding index
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #915
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Fix strip tracking function with link verification
Adjust bottom of article with new PicoCSS
More incoming.
Co-authored-by: Phil S <phil@git.ullarah.com>
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #914
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
This PR will completely remove any server-side link verification endpoints and will now only be client-side using JS.
Co-authored-by: Phil S <phil@git.ullarah.com>
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: #911
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
This user preference when enabled will remove all third party queries from posted URLs.
Co-authored-by: Phil S <phil@git.ullarah.com>
Reviewed-on: #913
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #910
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
**Update PicoCSS to 1.5.0**
New PicoCSS adjustments specifically for Yarn.social.
Uploaded media now adds where the last text selector was.
Remove active and focus background colouring.
Co-authored-by: Phil S <phil@git.ullarah.com>
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #909
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #908
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
This removes all server side rewriting of link verification to client side using JS to rewrite links if specified in user preferences.
* Link verification is now set as opt-in.
* Option for poderators is no longer required.
* Only external links are handled by link verification.
* Image links are not part of link verification.
Hope this alleviates most of the issues with link verification.
Co-authored-by: Phil S <phil@git.ullarah.com>
Reviewed-on: #907
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Mobile menu can now be opened by non-JS users
Moved top navigation to partials
Add spacing on menu for floating alerts
Testing and feedback would be great @prologic@fastidious
Co-authored-by: Phil S <phil@git.ullarah.com>
Reviewed-on: #905
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
Hopefully this will alleviate any issues with text memory in the postbox.
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #906
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
This is a fix so that any links that are pointing to its own pod instance won't need to be verified.
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #904
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title. Resolves#902
This also includes an adjustment for readmore to include in-reply-to space.
Thanks @Screem!
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #903
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
Co-authored-by: Phil S <phil@git.ullarah.com>
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #901
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title to support Go 1.18
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #899
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Persistance is great, but this will *actually* remove the text upon post submission.
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #900
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
cc @prologic
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #898
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
Just some more oddities with the postbox I found. Hopefully that should be all of them.
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #896
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
Resolves#689
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #897
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
URL verification added to all links.
Users can enable/disable link verification in settings.
Verification is permanently added to all external links for guests.
Co-authored-by: Phil S <phil@git.ullarah.com>
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #891
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
Fix for #718
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #895
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
As per title.
Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: #892
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>