tootlab-mastodon/app/views
Sundog Jones 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
..
about First lame pass at adding optional git commit hash display on /about/… (#67) 2017-07-11 20:32:16 -04:00
accounts Improvements to static metadata styling, especially for mobile 2017-06-28 00:57:32 -07:00
activitypub Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847) 2017-06-19 01:51:04 +02:00
admin Refactor views/admin/reports/show.html.haml (#3656) 2017-06-09 15:08:06 +02:00
admin_mailer Fix #1624 - Send e-mail notifications to admins about new reports (#3949) 2017-06-27 00:04:00 +02:00
api Add streaming_api_base_url to /api/v1/instance (#3556) 2017-06-05 16:37:44 +02:00
application Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
auth Add overview of active sessions (#3929) 2017-06-25 16:54:30 +02:00
authorize_follows Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
errors Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
follower_accounts Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
following_accounts Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
home fix: Warn if JavaScript is disabled (#3634) 2017-06-08 00:52:56 +02:00
kaminari Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
layouts cybre cleanup 2017-06-23 21:45:14 +00:00
manifests Fix #3063 - Add dynamic app manifest (#3563) 2017-06-06 19:29:42 +02:00
notification_mailer Localize date in digest and cover NotificationMailer more (#3694) 2017-06-11 12:04:35 +02:00
oauth Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
remote_follow Fix remote follow (#2547) 2017-04-28 00:16:44 +02:00
settings Merge remote-tracking branch 'upstream/master' 2017-06-27 20:46:13 +00:00
shared Fix locale regression from #3055 (#3231) 2017-05-22 16:26:54 +02:00
stream_entries Images now behind CWs on static pages 2017-06-29 22:59:28 -07:00
tags Added haml-lint and fix warnings (#2773) 2017-05-08 03:35:25 +02:00
user_mailer Use instance name in email notifications instead of "Mastodon" (#3763) 2017-06-27 14:22:36 +02:00
well_known Add ActivityPub Actor id to WebFinger JSON. (#2522) 2017-04-27 12:02:41 +02:00