Commit Graph

2040 Commits (d19ed183884690199a5890a409978a1204e3bf77)
 

Author SHA1 Message Date
Florian Maunier 12f1cdeed1
Fix npm/yarn cache cleaning 8 years ago
Eugen e2f024147c Merge pull request #1172 from mjankowski/mj-heroku-docs
Update heroku instructions
8 years ago
Eugen 1961825ff9 Merge pull request #1183 from thoughtbot/cp-post-status-service-specs
Add specs for PostStatusService
8 years ago
Eugen 32748c0f71 Merge pull request #1184 from thoughtbot/extract-proper-status
DRY up reblog vs original status check
8 years ago
Eugen 37a36b0bec Merge pull request #1192 from seekr/patch-2
typo
8 years ago
Eugen c7d9b81d41 Merge pull request #1193 from thoughtbot/status-specs
Implement pending specs on Status
8 years ago
Joël Quenneville 4fdeac21f4 Implement pending specs on Status
Implement the two pending specs on `Status`: `reblogs_count` and
`favourites_count`.
8 years ago
seekr 131f505fd0 typo 8 years ago
Ed Knutson 27012aaeb6 change suggested cipher for nginx 8 years ago
Aguay-val 4c751d25e5 Add mastodon.fun 8 years ago
Chad Pytel ad5ddd5e95 Use I18n for media attachment validation errors
These are currently user facing errors, but are not localized. This adds the
ability for these messages to be localized.
8 years ago
Chad Pytel 13c0077003 Add specs for PostStatusService
This implements all pending specs, and adds additional coverage for the
following functionality:

* Normal status creation
* Creating a reply status
* Creating a sensitive status
* Creating a status with spoiler text
* A status with no spoiler text gets an empty string for spoiler text
* Creating a status with custom visibility
* Creating a status for an application
* Processing mentions
* Processing Hashtags
* Pinging PuSH hubs
* Crawling links
* Attaching media
8 years ago
Joël Quenneville d4c94fa004 DRY up reblog vs original status check
Checking reblog vs original status was happening in multiple places
across the app. For views, this logic was encapsulated in a helper
method named `proper_status` but in the other layers of the app, the
logic was duplicated.

Because the logic is used at all layers of the app, we extracted it into
a `Status#proper` method on the model and changed all uses of the logic
to use this method. There is now a single source of truth for this
condition.

We added test coverage to untested methods that got refactored.
8 years ago
Chad Pytel 38bec79811 Add specs for media attachment validations
There are currently not specs for the two media validations that are performed
by `PostStatusService`. This adds specs for the validations that ensure that you
cannot attach more than four files, and that a status cannot have both image and
video attachments.
8 years ago
Matt Jankowski 0f4fa59812 Update heroku instructions 8 years ago
foxiehkins 41396de7a9 Merge branch 'master' into master 8 years ago
Jason Rhodes 2ac8a590cd Moved into a comment per feedback 8 years ago
Eugen 4e41cd9ab8 Merge pull request #1146 from tootsuite/fix-object-type-nil-exception
Fix nil#object_type error
8 years ago
Eugen 10459241a8 Merge pull request #1145 from tootsuite/feature-customized-default-locale
Allow setting of default language through config
8 years ago
Eugen c9b23a93c7 Merge branch 'master' into fix-object-type-nil-exception 8 years ago
Eugen 0adee18d73 Merge branch 'master' into feature-customized-default-locale 8 years ago
Eugen Rochko 8a6d8de60a Fix nil#object_type error 8 years ago
Jantso Porali 786e6f94b9 Update Finnish translations, add sample Minio config (#954) 8 years ago
Erwan Leboucher 0c4e9fdda0 Merge branch 'master' into patch-4 8 years ago
Eugen Rochko e3a3422a65 Allow setting of default language through config
Setting of locale in controller extracted to Localized concern,
the doorkeeper authorized applications controller moved under
custom namespace with inclusion of Localized, which resolves the
"it sometimes appears in a different random language" bug
8 years ago
Eugen Rochko 624a9a7136 Re-add forgotten <author> element on standalone <entry> 8 years ago
Eugen 1c351709bc Force UTF8 encoding on generated XML (#1140) 8 years ago
Sergei Č 8e7d0bda40 Update List-of-Mastodon-instances.md 8 years ago
Eugen 6d6a429af8 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124)
* Rewrite Atom generation from stream entries to use Ox instead of Nokogiri::Builder

StreamEntry is now limited to only statuses, which allows some optimization. Removed
extra queries on AccountsController#show. AtomSerializer instead of AtomBuilderHelper
used in AccountsController#show, StreamEntriesController#show, StreamEntryRenderer
and PubSubHubbub::DistributionWorker

PubSubHubbub::DistributionWorker moves n+1 DomainBlock query to PubSubHubbub::DeliveryWorker
instead.

All Salmon slaps that aren't based on StreamEntry still use AtomBuilderHelper and Nokogiri

* All Salmon slaps now use Ox instead of Nokogiri. No touch from status on account
8 years ago
Jason Rhodes 5d43a9cae2 Email service options :P
Small addition in case people want email service options, sparkpost.com gives you 100k/mo free
8 years ago
Tristan Mahé 8a4ff30ceb updated instance hostname 8 years ago
Vladimir Mincev 56f4a94e7b Update Production-guide.md
Under ## General dependencies:
apt-get needs sudo and install was typed wrongly.
8 years ago
Eugen Rochko 31597fd377 Low-hanging fruit of query optimization, these indices were missing 8 years ago
YDrogen 4b08b7c502 Added masto.razrnet.fr 8 years ago
Eugen 8cb7d157bd Merge pull request #1100 from mjankowski/mj-reduce-image-size
Reduce size of background-photo.jpeg
8 years ago
Eugen acf10a2c87 Merge pull request #1103 from alimony/vagrant-tweaks-01
Add a couple of network performance tweaks to Vagrantfile.
8 years ago
Markus Amalthea Magnuson 7596de1aec Add a couple of network performance tweaks to Vagrantfile. 8 years ago
Matt Jankowski 97ae53daa8 Reduce size of background-photo.jpeg
Reduced by running through `guetzli` image optimizer.
8 years ago
Eugen cd77c75d6c Merge pull request #1088 from Wonderfall/master
Add metadata to Dockerfile
8 years ago
Tristan Mahé cfbd90cf44 Added pericles.world in the list of instances 8 years ago
Wonderfall ed2bfdee67
add Docker microbadger to README.md 8 years ago
Wonderfall a3318814e1
add metadata to Dockerfile 8 years ago
isati acf6436a99 Add manx.social instance 8 years ago
Erwan Leboucher a0f1f9c664 Update List-of-Mastodon-instances.md 8 years ago
kadiix f0d1107c53 Merge branch 'master' into patch-1 8 years ago
kadiix 02c1ad5347 Update List-of-Mastodon-instances.md 8 years ago
Eugen fa494dbb1d Merge pull request #1038 from wade-r/optimize-dockerfile
Optimize Dockerfile
8 years ago
kadiix a736b28646 Merge branch 'master' into patch-1 8 years ago
Eugen c392c54271 Merge pull request #1042 from johnsudaar/feature/scalingo_one_click
Cosmetic changes to the scalingo deployment
8 years ago
kadiix 0d5d3c7abe Add an instance. 8 years ago