Commit Graph

25 Commits (1681319d111006007846257c549dc8656ece2e00)

Author SHA1 Message Date
Eugen Rochko e682d3aa9e
Fix active user count for different number of weeks using same cache ()
Fix 
Eugen Rochko 5f69eb89e2
Add a nodeinfo endpoint ()
* Add nodeinfo endpoint

* dont commit stuff from my local dev

* consistant naming since we implimented 2.1 schema

* Add some additional node info stuff

* Add nodeinfo endpoint

* dont commit stuff from my local dev

* consistant naming since we implimented 2.1 schema

* expanding this to include federation info

* codeclimate feedback

* CC feedback

* using activeserializers seems like a good idea...

* get rid of draft 2.1 version

* Reimplement 2.1, also fix metaData -> metadata

* Fix metaData -> metadata here too

* Fix nodeinfo 2.1 tests

* Implement cache for monthly user aggregate

* Useless

* Remove ostatus from the list of supported protocols

* Fix nodeinfo's open_registration reading obsolete setting variable

* Only serialize domain blocks with user-facing limitations

* Do not needlessly list noop severity in nodeinfo

* Only serialize domain blocks info in nodeinfo when they are set to be displayed to everyone

* Enable caching for nodeinfo endpoints

* Fix rendering nodeinfo

* CodeClimate fixes

* Please CodeClimate

* Change InstancePresenter#active_user_count_months for clarity

* Refactor NodeInfoSerializer#metadata

* Remove nodeinfo 2.1 support as the schema doesn't exist

* Clean-up
mayaeh 0e5b9e3ba0 Fix the sample account icon of Profile directory to local only ()
Eugen Rochko 2c63e0292a
Fix admin validation being too strict about usernames ()
* Fix admin validation being too strict about usernames

Fix 

* Strip Setting.site_contact_username consistently throughout the codebase
Eugen Rochko 55a9658ad8
Add custom closed registrations message to landing page when set ()
Eugen Rochko 51e154f5e8
Admission-based registrations mode ()
Fix 
Fix 
mayaeh d4ef90eae3 Fix to limit to discoverable accounts. ()
Eugen Rochko 65fffeac3f
Redesign landing page ()
Eugen Rochko 81f96c973a
Don't count suspended users in user count ()
Fix 
Eugen Rochko 0c666ae5e6
Cast status_count to integer ()
It is returned as a double because the sum is now over bigint columns

Fix 
Eugen Rochko d6b9a62e0a
Extract counters from accounts table to account_stats table ()
ashleyhull-versent 2dba313100 Replace SVG asset with Custom mascot ()
Eugen Rochko a2cabf3f4a
Add admin custom CSS setting ()
Fix 
Eugen Rochko cc56f2230a
Add separate setting for sidebar text (site_short_description) ()
* Add separate setting for sidebar text (site_short_description)

* Fix tests
Eugen Rochko c71aa468b5
Redesign landing page (again) ()
* Redesign landing page (again)

* Move login form in small version to the right column

* Display closed registrations message

* Add site setting for the hero image

* Fix test

* Increase spacing, maximum width, change call to action section
Akihiko Odaki 9619b7f727 Use Account.local.sum(statuses_count) instead of Status.local.count ()
It is faster.
Eugen Rochko 9239e4ce4d Uploads for admin site settings ()
* Improve OpenGraph tags for about pages

* Add thumbnail admin setting

* Fix error

* Fix up
Daigo 3 Dango 696c2c6f2f Add Mastodon::Source.url ()
* Add Mastodon::Source.url

* Update spec

* Refactor

Move things frmo Mastodon::Source to Mastodon::Version
Eugen Rochko e19eefe219 Redesign the landing page, mount public timeline on it ()
* Redesign the landing page, mount public timeline on it

* Adjust the standalone mounted component to the lacking of router

* Adjust auth layout pages to new design

* Fix tests

* Standalone public timeline polling every 5 seconds

* Remove now obsolete translations

* Add responsive design for new landing page

* Address reviews

* Add floating clouds behind frontpage form

* Use access token from public page when available

* Fix mentions and hashtags links, cursor on status content in standalone mode

* Add footer link to source code

* Fix errors on pages that don't embed the component, use classnames

* Fix tests

* Change anonymous autoPlayGif default to false

* When gif autoplay is disabled, hover to play

* Add option to hide the timeline preview

* Slightly improve alt layout

* Add elephant friend to new frontpage

* Display "back to mastodon" in place of "login" when logged in on frontpage

* Change polling time to 3s
Yamagishi Kazutoshi 275c5b51ed Customizable privacy policy from admin interface ()
Eugen Rochko b48c9013aa Bump version, improve how version is stored for better commit history ()
Ash Furrow a0ed88a99b Adds version to about/more and API ()
* Adds version.

* Cleans up code.

* Removes standalone endpoint and adds version to instance endpoint.

* Addresses feedback from .
alpaca-tc 5ce8a1811a Replace User.count -> User.confirmed.count ()
Matt Jankowski 3b8908c114 About page contact email ()
* Correct site_contact_email typo

* Separate about more page into partials, add specs
Matt Jankowski e5282e4ec0 Clean up about page ()
* Add InstancePresenter to expose site details

* Clean up about controller, use instance presenter