This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app
DJ Sundog 74eff5456c First lame pass at adding optional git commit hash display on /about/… (#67)
* First lame pass at adding optional git commit hash display on /about/more page.

Currently, this is implemented by checking for the existence of a file called CURRENT_RELEASE in the home directory of the user running Mastodon. If the file exists, its contents are added.

I've modified my update process to include the following before precompiling assets:

git log -1 | head -n 1 | cut -d " " -f2 > ~/CURRENT_RELEASE

That puts the current commit hash into the file ~/CURRENT_RELEASE, but you figured that out because you're a smart cookie.

As I am quite sure this is a horrible methodology for implementing this, I look forward to any improvements you have to offer!

* Updated to handle instances that share a user - the CURRENT_RELEASE file now lives in the instance's base directory.

This also requires modifying the update hook to `git log -1 | head -n 1 | cut -d " " -f2 > CURRENT_RELEASE`
2017-07-11 20:32:16 -04:00
..
controllers Fix #1624 - Send e-mail notifications to admins about new reports (#3949) 2017-06-27 00:04:00 +02:00
helpers Add overview of active sessions (#3929) 2017-06-25 16:54:30 +02:00
javascript Fixed #66 disabling collapse collapses all toots 2017-07-11 20:48:31 +02:00
lib createBio function added 2017-06-30 15:03:31 -07:00
mailers Fix #1624 - Send e-mail notifications to admins about new reports (#3949) 2017-06-27 00:04:00 +02:00
models Merge remote-tracking branch 'upstream/master' 2017-06-27 20:46:13 +00:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters First lame pass at adding optional git commit hash display on /about/… (#67) 2017-07-11 20:32:16 -04:00
services replies to local-only toots default to local-only, and fix some regex bugs 2017-07-06 22:30:51 -05:00
validators All cybrespace changes through 5/28 2017-06-23 21:45:14 +00:00
views First lame pass at adding optional git commit hash display on /about/… (#67) 2017-07-11 20:32:16 -04:00
workers Bind web UI access tokens to sessions (#3940) 2017-06-25 23:51:32 +02:00