about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
AgeCommit message (Collapse)Author
2018-05-31Use history.state to decide whether we should goBack() or go to / (fixes #247)Thibaut Girka
So far, glitch-soc used history.length to decide whether to call `goBack()` or go to / in order to not leave the webUI. This made clicking the “Back” button go to the “Getting started” column instead of going back in the browser's history when such an action would leave the web UI, but also when: - The WebUI is refreshed (F5) - A tab is restored - The history length reaches its maximum (e.g., 50 in Firefox) This commit fixes these shortcomings by checking `window.history.state`. Indeed, we only want to go back in the browser's history when the current location has been reached from within the WebUI, which only happens via `pushState` as far as I know. Since browser store the serialized state in the browser history, this also survives page reload and session restoration.
2018-05-31Use props.router instead of context.router, as we are using withRouterThibaut Girka
2018-05-31Fix direct timelineThibaut Girka
2018-05-29[Glitch] Fix low-contrasted cancel button of reply indicatorThibaut Girka
Port 86efccce2a874d16aa783d989ff4824bcfac40b5 to glitch-soc
2018-05-29[Glitch] Improve load gap styling in web UIThibaut Girka
Port 45c9f16f714dd6de15391b5e2ae2bf0d30ef20fb to glitch-soc
2018-05-29[Glitch] Use randomized setTimeout when fallback-polling and re-add since_idThibaut Girka
Port dafd7afc5ef94fc9513efa341910f7e3c31b909a to glitch-soc
2018-05-29[Glitch] Do not crash in getStatusIds when there is a gap in the timelineThibaut Girka
Port b1938d7853f1d52f9bd99244c550cc609dd81202 to glitch-soc
2018-05-29[Glitch] Fix gap insertion for timeline disconnectionThibaut Girka
Port 66359ec522e687020ea853652ad36d4476f2720d to glitch-soc
2018-05-29[Glitch] Fix ID duplication in timelinesThibaut Girka
Port 306267dbd275363422f9288c91e634a92511620c to glitch-soc
2018-05-29[Glitch] Fix comparing idThibaut Girka
Port 0ba49eca8b49c6ce0ec04fd546951c95938da4e6 to glitch-soc
2018-05-29[Glitch] Fix LoadMore on account media galleryThibaut Girka
Port 3523aa440ba3f52bf28fe1e9707506d327c4431f to glitch-soc
2018-05-29[Glitch] Add missing null handling in notification reducerThibaut Girka
Port 2f3ac14a434c773577771b74292aa313d57db3c9 to glitch-soc
2018-05-29[Glitch] Allow clients to fetch notifications made while they were offlineThibaut Girka
Port cbf97c03bba35a642e6f1d1a698aad7a69ad13a3 to glitch-soc
2018-05-29[Glitch] Allow clients to fetch statuses made while they were offlineThibaut Girka
Port 9a1a55ce526c956ac6b35897d483c316b7ad4394 to glitch-soc
2018-05-29Fix error when unmuting a domain without listing muted domains firstThibaut Girka
2018-05-27[Glitch] Replace onScrollToBottom with onLoadMoreThibaut Girka
Port b0664a5e6cee9be602098fb9a2f98a9e61b2ab9b to glitch-soc
2018-05-27Do not needlessly refresh pinned tootsThibaut Girka
Port missing part of 6ae70a92c91233d4c299e679b3e04ba8e2a7002f to glitch-soc
2018-05-27[Glitch] Change icon for domain blocksThibaut Girka
Port fa04945365bc552748b9d312f936a74cfd8d35b1 to glitch-soc
2018-05-27[Glitch] Add option to show only local toots in timeline previewThibaut Girka
Port missing changes from 4e4f1b0dcb386464d653fcce765ca775e566a03c to glitch-soc
2018-05-27[Glitch] Use streaming API for standalone timelines on /about and /tag pagesThibaut Girka
Port 0128b86d3098042cdbc3a1629f74b70f665f8dfb to glitch-soc
2018-05-27Change direct message warning to match upstreamThibaut Girka
2018-05-27Implement client-size image resizing from upstreamThibaut Girka
2018-05-27Port upstream's result section headers (fixes #366)Thibaut Girka
2018-05-26Fix caret position after inserting suggestions (fixes #281)Thibaut Girka
2018-05-26Remove unneeded code now that attachment URL isn't appended to tootsThibaut Girka
2018-05-25[Glitch] Use .star-icon instead of hardcoding color in detailed statusesThibaut Girka
Port 2587fcdd27613e52d620e3c93bb089932be48db0 to glitch-soc
2018-05-23Merge pull request #505 from ↵ThibG
ThibG/glitch-soc/features/fetch-relationships-on-search [Glitch] Fetch relationships for search results in UI
2018-05-23Change notification cleaning checkbox color (fixes #511)Thibaut Girka
2018-05-22[Glitch] Fetch relationships for search results in UIThibaut Girka
Port webui changes from cba2897108dffe69d5a16befe6c6220f6eaae59f to glitch-soc
2018-05-21Fix width only being set for standalone mediaThibaut Girka
2018-05-21[Glitch] Use real container width in MediaGallery srcSetThibaut Girka
Port 22e067bf5c30a5aa7aec4b3c17dc112cacbe7873 to glitch-soc
2018-05-21[Glitch] Do not override the default push notification settingsThibaut Girka
Port 1951ff41b33b264fd8179998648c3cbbf2834cd5 to glitch-soc
2018-05-21Recover glitch-soc specific styles that were removed by accidentThibaut Girka
2018-05-20In footer, replace text "Mastodon" with logoThibaut Girka
Port SCSS changes from 93c66f0c03c27ee02b9875c3c051d9bf50b33e19 to glitch-soc
2018-05-20Add preference to hide following/followers listsThibaut Girka
Port SCSS from 1e02dc871533de78174b48a6a527f11b0f2bc7ec
2018-05-20[Glitch] Improvements to toots display in admin viewThibaut Girka
Port SCSS changes from 0f2fbf7d05825447a0f2a1e82b6137c069cb1658 (I'm sorry for the animated rainbows)
2018-05-18Prevent click on video from opening detailed tootThibaut Girka
2018-05-18Widen clickable area of tootsThibaut Girka
2018-05-18Merge pull request #487 from ThibG/glitch-soc/cleanupDavid Yip
Remove service worker code that has never been used
2018-05-18Merge pull request #488 from ThibG/glitch-soc/features/accounts-custom-emojiDavid Yip
[Glitch] Enable custom emojis in profiles
2018-05-17[Glitch] Open video modal on public UIThibaut Girka
Port d9b2f84c92f24067b12be81837240bf6c8930236 to glitch-soc
2018-05-17[Glitch] Combine similar components into one on public UIThibaut Girka
Port f9afd06221baf7f635b346dfbe350652ba6ffbd0 to glitch-soc
2018-05-17[Glitch] Show card modal on public pagesThibaut Girka
Port 16fee0335f2b10b0ce54f71965d2f2acc0e24942 to glitch-soc
2018-05-17[Glitch] Enable custom emojis in profilesThibaut Girka
Port 61a90186070395e133ad2f8e959bdf003a8615ca to glitch-soc
2018-05-17Remove service worker code that has never been usedThibaut Girka
2018-05-16Merge pull request #405 from ThibG/glitch-soc/features/dm-from-menuThibG
[Glitch] Feature: Direct message from menu
2018-05-16Merge pull request #485 from ThibG/glitch-soc/fixes/light-theme-textarea-colorThibG
Fix mastodon-light background color of the composer textarea when posting
2018-05-16[Glitch] Reword the direct message warningThibaut Girka
Port 53c2164e9c8e2538de386a526a97db187ecae470 to glitch-soc
2018-05-16[Glitch] Feature: Direct message from StatusesThibaut Girka
Port 904a2479dd2085dfc94f33746ad6f7a755e72609 to glitch-soc
2018-05-16[Glitch] Fix issues with sending direct messages from user profileThibaut Girka
Port 4fd71accd419fb79cc75e0ebf30df374d174ebf5 to glitch-soc