Skip to content

Commit

Permalink
Release 2.0.0 for Mastodon 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Oct 8, 2024
1 parent 1c6ca5d commit b98f0bc
Show file tree
Hide file tree
Showing 5 changed files with 346 additions and 210 deletions.
144 changes: 144 additions & 0 deletions .live-css.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
/*
This configuration file is used for running "live-css" server (https://www.npmjs.com/package/@webextensions/live-css)
It is meant to be used along with browser extension "Live editor for CSS, Less & Sass - Magic CSS":
https://github.com/webextensions/live-css-editor
To generate this file, download and install Node JS from https://nodejs.org/en/download/
After that:
$ npm install -g @webextensions/live-css
$ cd <project-folder>
$ live-css --init
--------OR--------
Copy the default configuration file from:
https://github.com/webextensions/live-css-editor/tree/master/live-css/default.live-css.config.js
and save it as a file with name ".live-css.config.js" (note that the file name begins with a dot character)
For further guidance, visit the following links:
https://www.npmjs.com/package/@webextensions/live-css
https://github.com/webextensions/live-css-editor/tree/master/live-css
https://github.com/webextensions/live-css-editor
https://github.com/webextensions/live-css-editor/issues
*/

/* eslint-env node */ // https://eslint.org/docs/rules/no-undef#nodejs

module.exports = { // Learn more about "module.exports":
// https://www.sitepoint.com/understanding-module-exports-exports-node-js/
// http://www.tutorialsteacher.com/nodejs/nodejs-module-exports
// http://stackabuse.com/how-to-use-module-exports-in-node-js/
// https://nodejs.org/api/modules.html#modules_module_exports


// The "port" configuration option is used as a suggested port number when the live-css server needs to run
// on a separate port of its own. If the specified port is busy, the next available port may be used.
// It will be used when:
// - you run live-css from command-line
// - you run live-css in a Node JS project using require() syntax, but do not pass the "httpServer" option
"port": 4567, // Recommended value: A number between 1024 and 49151
// The "live-css" server would start at this port number
// Learn more about ports:
// https://computer.howstuffworks.com/web-server8.htm
// https://en.wikipedia.org/wiki/Registered_port

"edit-file-patterns": [
"**/*.css",
"**/*.less",
"**/*.sass",
"**/*.scss",
"**/*.styl",
"**/*.stylus"
],


"edit-file-ignore-patterns": [
// Some of the common folders in various projects which you may wish to exclude
/(^|[/\\])\../, // This regular expression ignores the files/directories having name beginning with "." character
// Learn more about regular expressions:
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
"node_modules",
".npm",
"logs",
"temp",
"tmp",

"!node_modules/package/do-not-ignore.css"
],


// IMPORTANT NOTE: Setting "root" to an incorrect value may result in failure to auto-refresh styles in the browser.
// If you are in doubt, don't use the "root" configuration option, live-css would still work fine.
// Keeping "root" configuration option as commented out by default
// "root": ".", // <relative-or-absolute-path>
// This path should point to the root ("/") of your web server for which you are using live-css.
// For example,
// If http://localhost/ points to /path/to/project/http-pub/
// And this configuration file is placed at /path/to/project/
// Then, you may use "root": "http-pub" <OR> "root": "/path/to/project/http-pub"
// This is the root folder which contains the files you wish to watch for changes
// This folder would be scanned recursively for files matching the "watch-patterns"
// while skipping the files matching the "watch-ignore-patterns"
// If you are setting "root" with a relative path value, then keep that path value
// as relative to this configuration file.
// Learn more:
// https://en.wikipedia.org/wiki/Path_(computing)


"watch-patterns": [ // <Array/String/RegExp/Function>
// Glob patterns or paths of files and directories to be watched recursively
// Learn more:
// https://www.npmjs.com/package/anymatch
// https://github.com/paulmillr/chokidar#api ("paths" property)
// https://en.wikipedia.org/wiki/Path_(computing)

"**/*.css" // Include all the ".css" files to watch for changes
],


"watch-ignore-patterns": [ // <Array/String/RegExp/Function>
// Glob patterns or paths of files and directories to be ignored from being watched
// Learn more:
// https://www.npmjs.com/package/anymatch
// https://github.com/paulmillr/chokidar#path-filtering ("ignored" property)

// Some of the common folders in various projects which you may wish to exclude
/(^|[/\\])\../, // This regular expression ignores the files/directories having name beginning with "." character
// Learn more about regular expressions:
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
"node_modules",
".npm",
"logs",
"temp",
"tmp",

// "Negate" pattern (by using "!" symbol) to cancel ignore rule
// An example path which is required to be watched, but its parent folder is ignored
// **** IMPORTANT NOTE:
// **** For watching, this path would also need to be included in the "watch-patterns" section (without the "!" symbol)
"!node_modules/package/do-not-ignore.css" // The "!" symbol in the beginning negates the matching pattern from the "watch-ignore-patterns". It means that
// the file matching this pattern would not be ignored even though "node_modules" is marked to be ignored.
// Learn more:
// https://github.com/isaacs/minimatch/blob/master/README.md#properties ("negate" property)
],


"allow-symlinks": false, // <true/false>
// Learn more about symlinks / symbolic-links:
// https://en.wikipedia.org/wiki/Symbolic_link
// https://github.com/paulmillr/chokidar#path-filtering ("followSymlinks")


"list-files": false, // <true/false>
// true: List the paths of the files being watched
// false: Print a "." (dot) character on the terminal screen for each file being watched
// This setting is applicable only during the initial launch of the "live-css" server. When a file matching the
// "watch-pattern" is newly created while the "live-css" server is already running, the path is listed anyways


"debug": false, // <true/false>
// true: Logs some extra information which is helpful in debugging
// false: Does not log the extra debugging related information


"version": "8.0.3" // This represents the version of the live-css server which was used for generating this configuration file
// This may be helpful while debugging some issues and informing users about new features
};
102 changes: 102 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,105 @@
### 2.0.0: 2024-10-08

* Fixes to heart animation
* Fixes to cws in advanced view
* Disable retweet micro animation
* Fix broken media gallery in compose form
* Fix double outline in media items
* Improve more icon in mobile when logged out, fix alignment
* Make list nav an overlay menu instead of block nav to keep it tight
* Fix list item style in mobile
* Fix regressions caused by 2.0.0rc52 and the new nav structure in Mastodon 4.3.0-beta.2-2024-09-29
* Add support for Mastodon v4.3.0-beta.2-2024-09-29
* Fix desktop navigation for new v4.3.0-beta.2.-mementomods-2024-09-29
* Fix mobile navigation with the new structure, Fixes #132 (thanks @cadusilva!)
* Fix version information not visible on lower height screens, Fixes #133 (thanks @rsholmes!)
* Wrap version information
* Fix dark square behind rounded avatar, Fixes #131 (thanks @cadusilva!)
* Fix overflow in mobile nav
* Fix ungrouped unread notification not having a highlight background color
* Fix private message indicator not sticking
* Add new icons for Administration and Moderation column links in 4.3.0-beta.1 (2024-09-07)
* Fix indicator for private mentions when grouped notifications are enabled in 4.3.0
* Add support for Administration and Moderation column-links in 4.3.0-beta.1 (2024-09-07)
* Add the same consistent content warning styles to the compose form
* Show full content warning instead of hiding the overlapping part
* Fix close icon overlapping inside compose form
* Fix load more icon dimensions
* Fix unread notification group styles for v4.3.0-beta.1
* Support for v4.3.0-beta.1+mementomods-2024-08-23
* Support for new content warnings presented in v4.3.0-beta.1 (thanks @shleeable!), Fixes #128
* Fix Create account button not clickable on mobile
* Support for grouped notifications [#30440](https://github.com/mastodon/mastodon/pull/30440)
* Finalize styles for custom icons in grouped notifications
* Fixes for grouped and ungrouped layout in notifications
* Fix bottomless card and add styles for more-from-author
* Remove outdated links from the README #121 (thanks @mackuba!)
* Fix: Consistent border-radius for buttons #123
* Fix: Search item in sidebar misplaced when disabling trends #118
* Prepare for 4.3.0 release with SVG icons
* Add icon support for new SVG icons, replace icons for Home, Notifications, Explore, Live feeds, Private mentions, bookmarks, Favorites, Preferences and Lists
* Replace filter bar icons with new SVG versions
* Remove deprecated Local icon
* Remove deprecated Share icon
* Remove deprecated follow/unfollow hashtag icon
* Prepare for [changing the heart as default](https://github.com/mastodon/mastodon/pull/27385#issuecomment-1773117170)
* Add icons for more ellipsis and close x
* Add --size-icon variable for easier icon sizing
* Change default fav action icon to heart
* Advanced web view support for 4.3.0
* Make boost animation smoother
* Fix icon size for private mention
* Add search icon and fix alignments for search for 4.3.0
* Make status icons the same size
* Better accessibility outlines for column links in single column mode
* Fix a corner case bug where advanced UI in mobile mode has wrong order in column links
* Add profile link icons for Nostr, Bluesky and Threads
* Truncate too long links in the profile, like Nostr
* Remove font-size definitions from icon fonts that are no longer in use
* Add proportions for the new copy icon
* Fix alignment for textual label links
* Add styles for the new /start onboarding on 4.3.0
* Improve modal icon size and accessibility
* Profile lock icon alignment fix, show it on the same level
* Experimental Threads-like media proportions, if the height is tall, show smaller media: https://mementomori.social/@rolle/111715197571142727
* Fix picture in picture footer visibility
* Fix picture in picture media border radius and margin
* New compose form styles for 4.3.0 (2024-01-27)
* New search input styles for 4.3.0 (2024-01-27)
* Add profile link icons for Facebook and Bandcamp
* Fix a regression with reply-indicator, remove style no longer needed in 4.3.0 (2024-01-27)
* Fix follow requests icon for 4.3.0 (2024-01-27)
* Reset emoji picker location from the corner to the bottom row for 4.3.0 (2024-01-27)
* Offset fixes for especially multiple column view for 4.3.0 (2024-01-27)
* Styles for Follow recommendations, "Who to follow" since Mastodon v4.3.0-alpha.1 (2024-02-01)
* Add Bluesky icon according to the new brand #106 (thanks @dhelonious!)
* Fix Carriage Return after a custom emoji in the bio's Extra fields, Fixes #105 (thanks @manuviens!)
* Add WordPress profile icon
* Add Friendica profile icon #101 (thanks @expertmanofficial!)
* Add an icon for genderless pronouns #101
* Fix video aspect-ratio for embeds
* Fixes to boost and heart animations in single and multiple columns
* Fix explore icon for the new class (PR #29395)
* Remove borders around account header fields on v4.3.0-alpha.3-2024-03-22
* Change server icon for account__domain-pill__popout__parts on v4.3.0-alpha.3-2024-03-22
* Add styles for the new popout on v4.3.0-alpha.3-2024-03-22
* Fix: Theme footer sits on top of other elements #114
* Fix reply indicator not truncating properly
* Fix borders in some part of the layout on v4.3.0-alpha.3-2024-03-22
* Fix list item center alignment
* Fade in list panel
* More compact compose button on mobile
* More compact header bar on mobile (thanks @nileane!)
* Replace column settings icon for both single and advanced column views
* Fix compose form styles on mobile
* Change compose form resizability to follow core
* Remove Safari PWA top bar fix replacing by compact header on mobile
* Change column-link preferences icon
* Fix post button running away if compose form message is too long
* Fix star icon misalignment for numbered items, Fixes #116
* Fix boost icon misalignment when clicked the detailed view boost icon on advanced web interface, Fixes #112
* Fix a regression for 4.3.0-alpha.3-2024-04-06 caused by https://github.com/mastodon/mastodon/commit/4f068d4fcc4d134fcbd56faa8f39c608dd343417

### 2.0.0rc55: 2024-10-05

* Fix broken media gallery in compose form
Expand Down
Loading

0 comments on commit b98f0bc

Please sign in to comment.