Matt Jankowski
eea027c5c2
Update Rails to version 5.1.1 ( #3121 )
...
* Update rails to version 5.1.1
* Run `rails app:update`
* Remove the override of polymorphic activity relationship
* Silence warning about otp_secret attribute being unknown to rails
* We will only introduce form_with where we want to use remote data
2017-06-01 20:53:37 +02:00
Matt Jankowski
2212dc4aaa
Update Rails to version 5.1.1 ( #3121 )
...
* Update rails to version 5.1.1
* Run `rails app:update`
* Remove the override of polymorphic activity relationship
* Silence warning about otp_secret attribute being unknown to rails
* We will only introduce form_with where we want to use remote data
2017-06-01 20:53:37 +02:00
Daniel Hunsaker
7162cf86d0
[nanobox] Add python for node-gyp ( #3491 )
...
Needed since merge of #3067 .
2017-06-01 17:33:57 +02:00
Daniel Hunsaker
e1fdac3e9a
[nanobox] Add python for node-gyp ( #3491 )
...
Needed since merge of #3067 .
2017-06-01 17:33:57 +02:00
Yamagishi Kazutoshi
59ff072fcf
Remove unused loaders of webpack ( #3495 )
2017-06-01 17:27:35 +02:00
Yamagishi Kazutoshi
1162f61ca3
Remove unused loaders of webpack ( #3495 )
2017-06-01 17:27:35 +02:00
Yamagishi Kazutoshi
ae7f6beef1
Improve tests for JavaScript ( #3496 )
...
- Upgrade dependencies
- chai (3.5.0 -> 4.0.1)
- chai-enzyme (0.6.1 -> 0.7.1)
- sinon (2.2.0 -> 2.3.2)
- Change extensions from .jsx to .js
- Don't assign `React` to `global`
- Check code format using ESLint
2017-06-01 17:27:15 +02:00
Yamagishi Kazutoshi
39ea5c0e2e
Improve tests for JavaScript ( #3496 )
...
- Upgrade dependencies
- chai (3.5.0 -> 4.0.1)
- chai-enzyme (0.6.1 -> 0.7.1)
- sinon (2.2.0 -> 2.3.2)
- Change extensions from .jsx to .js
- Don't assign `React` to `global`
- Check code format using ESLint
2017-06-01 17:27:15 +02:00
Yamagishi Kazutoshi
339d73541b
Add scenarios for log in ( #3497 )
2017-06-01 17:25:59 +02:00
Yamagishi Kazutoshi
509b0cfafc
Add scenarios for log in ( #3497 )
2017-06-01 17:25:59 +02:00
Yamagishi Kazutoshi
c7be992701
Add ESLint rule (object-curly-spacing) ( #3498 )
2017-06-01 17:25:10 +02:00
Yamagishi Kazutoshi
fda5c699c2
Add ESLint rule (object-curly-spacing) ( #3498 )
2017-06-01 17:25:10 +02:00
Matt Jankowski
1387c8e847
Rubocop changes ( #3501 )
...
* Update renamed rubocop configuration options
* Remove duplicate rubocop configuration, sort options
2017-06-01 17:24:30 +02:00
Matt Jankowski
cb7ee4698f
Rubocop changes ( #3501 )
...
* Update renamed rubocop configuration options
* Remove duplicate rubocop configuration, sort options
2017-06-01 17:24:30 +02:00
Matt Jankowski
d327e1d105
Remove usernames and hashtags from language detection ( #3503 )
...
* Add failing specs for hashtag and username extraction in language detector
* Remove usernames and hashtags from text before language detection
* Handle multiple instances of special case, and reduce whitespace
2017-06-01 09:29:14 -04:00
Matt Jankowski
d010e270e6
Remove usernames and hashtags from language detection ( #3503 )
...
* Add failing specs for hashtag and username extraction in language detector
* Remove usernames and hashtags from text before language detection
* Handle multiple instances of special case, and reduce whitespace
2017-06-01 09:29:14 -04:00
Matt Jankowski
25990c77c0
Handle nil and blank cases in Account finders ( #3500 )
2017-06-01 08:20:36 -04:00
Matt Jankowski
d1e08bd38c
Handle nil and blank cases in Account finders ( #3500 )
2017-06-01 08:20:36 -04:00
unarist
158d6c85da
Focus the submit button on the boost modal ( #3494 )
...
Focus the submit button when boost modal is opened.
2017-06-01 04:20:10 +02:00
unarist
dbccdcc1b1
Focus the submit button on the boost modal ( #3494 )
...
Focus the submit button when boost modal is opened.
2017-06-01 04:20:10 +02:00
Matt Jankowski
1066fd1ab5
Spec coverage and refactor for the api/v1/accounts controllers ( #3451 )
2017-05-31 21:36:24 +02:00
Matt Jankowski
5c63523972
Spec coverage and refactor for the api/v1/accounts controllers ( #3451 )
2017-05-31 21:36:24 +02:00
Matt Jankowski
81ce4e4318
Move admin/pubsubhubbub controller to admin/subscriptions ( #3442 )
2017-05-31 20:39:35 +02:00
Matt Jankowski
de4681b2be
Move admin/pubsubhubbub controller to admin/subscriptions ( #3442 )
2017-05-31 20:39:35 +02:00
Matt Jankowski
deb4ae7392
Add Instance class to list admin records ( #3443 )
2017-05-31 20:38:44 +02:00
Matt Jankowski
a132332b86
Add Instance class to list admin records ( #3443 )
2017-05-31 20:38:44 +02:00
Matt Jankowski
533a8cc68b
Misc tidying and clean ups ( #3445 )
...
* Remove trailing whitespace in i18n mailers
* Use query methods instead of #present? on AR attributes
* Delegate Status#account_domain method
* Delegate Mention #account_username and #account_acct methods
2017-05-31 20:38:17 +02:00
Matt Jankowski
b25e42a77f
Misc tidying and clean ups ( #3445 )
...
* Remove trailing whitespace in i18n mailers
* Use query methods instead of #present? on AR attributes
* Delegate Status#account_domain method
* Delegate Mention #account_username and #account_acct methods
2017-05-31 20:38:17 +02:00
Matt Jankowski
0985a9ff7d
Improve spec coverage and clean up api/v1/blocks controller ( #3464 )
2017-05-31 20:34:51 +02:00
Matt Jankowski
5236a62861
Improve spec coverage and clean up api/v1/blocks controller ( #3464 )
2017-05-31 20:34:51 +02:00
Matt Jankowski
ae721f376a
Improve spec coverage and clean up api/v1/follow_requests controller ( #3465 )
2017-05-31 20:32:11 +02:00
Matt Jankowski
0f155829b7
Improve spec coverage and clean up api/v1/follow_requests controller ( #3465 )
2017-05-31 20:32:11 +02:00
Matt Jankowski
e32b9ecbf6
Improve spec coverage and clean up api/v1/domain_blocks controller ( #3466 )
2017-05-31 20:31:14 +02:00
Matt Jankowski
84dda45df9
Improve spec coverage and clean up api/v1/domain_blocks controller ( #3466 )
2017-05-31 20:31:14 +02:00
Matt Jankowski
7b8b5b9f1e
Refactor api/v1/notifications controller ( #3470 )
2017-05-31 20:30:55 +02:00
Matt Jankowski
9c7505489f
Refactor api/v1/notifications controller ( #3470 )
2017-05-31 20:30:55 +02:00
Matt Jankowski
6237abaaa3
Improve spec coverage and clean up api/v1/favourites controller ( #3472 )
2017-05-31 20:30:39 +02:00
Matt Jankowski
75cad1d9d6
Improve spec coverage and clean up api/v1/favourites controller ( #3472 )
2017-05-31 20:30:39 +02:00
Matt Jankowski
ff4d3f11b5
Expand spec coverage and refactor the Account.find_
methods ( #3485 )
...
* Move specs for account finder methods to concern spec
* Move account finder methods to concern
* Improve spec wording
* Use more explicit comparison to ensure correct return value
* Add coverage for .find_local! and .find_remote!
* Add some methods to the finder
* Use arel on matching_username method
* Avoid ternary in matching domain method
* Simplify finder methods
* Use an AccountFinder class to simplify lookup
2017-05-31 20:28:45 +02:00
Matt Jankowski
2cc3111a77
Expand spec coverage and refactor the Account.find_
methods ( #3485 )
...
* Move specs for account finder methods to concern spec
* Move account finder methods to concern
* Improve spec wording
* Use more explicit comparison to ensure correct return value
* Add coverage for .find_local! and .find_remote!
* Add some methods to the finder
* Use arel on matching_username method
* Avoid ternary in matching domain method
* Simplify finder methods
* Use an AccountFinder class to simplify lookup
2017-05-31 20:28:45 +02:00
Matt Jankowski
3e95a6c9b7
Improve spec coverage and clean up api/v1/mutes controller ( #3481 )
2017-05-31 20:27:34 +02:00
Matt Jankowski
bf811e4d4a
Improve spec coverage and clean up api/v1/mutes controller ( #3481 )
2017-05-31 20:27:34 +02:00
Matt Jankowski
b89dbac199
Refactor and spec coverage for api/v1/timelines actions ( #3482 )
2017-05-31 20:27:17 +02:00
Matt Jankowski
d6774d2ca3
Refactor and spec coverage for api/v1/timelines actions ( #3482 )
2017-05-31 20:27:17 +02:00
caasi Huang
741d7a71fc
Update zh-TW.json ( #3480 )
...
* Update zh-TW.json
* Update `search_results.total`
2017-05-31 18:46:57 +02:00
caasi Huang
bd669e3907
Update zh-TW.json ( #3480 )
...
* Update zh-TW.json
* Update `search_results.total`
2017-05-31 18:46:57 +02:00
Yamagishi Kazutoshi
024a0dc704
Hold value of I18n.locale with ApplicationHelperSpec ( #3474 )
2017-05-31 17:09:28 +02:00
Yamagishi Kazutoshi
1a4860a57a
Hold value of I18n.locale with ApplicationHelperSpec ( #3474 )
2017-05-31 17:09:28 +02:00
Yamagishi Kazutoshi
b652c52992
Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) ( #3479 )
...
* Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail)
* use climate_control
2017-05-31 17:09:17 +02:00
Yamagishi Kazutoshi
41fa53253c
Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) ( #3479 )
...
* Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail)
* use climate_control
2017-05-31 17:09:17 +02:00