Commit graph

4685 commits

Author SHA1 Message Date
Eugen Rochko
0c666ae5e6
Cast status_count to integer ()
It is returned as a double because the sum is now over bigint columns

Fix 
2018-11-20 02:52:52 +01:00
James Kiesel
6a65d87f4d Simplify hashtag query service, perf increase for 'any' tags () 2018-11-19 12:49:50 +01:00
Eugen Rochko
1d38c9750a
Fix filter ID not being a string in REST API () 2018-11-19 10:37:57 +01:00
Eugen Rochko
d6b9a62e0a
Extract counters from accounts table to account_stats table () 2018-11-19 00:43:52 +01:00
James Kiesel
4fdefffb99 Deep compare tags for hashtag column reload ()
* Deep compare tags for hashtag column reload

* Don't use global lodash
2018-11-17 11:07:48 +01:00
Eugen Rochko
9311430ed7
Prevent multiple handlers for Delete of Actor from running () 2018-11-16 19:46:23 +01:00
Eugen Rochko
074960bb0f
Sort self-replies to the top of the thread ()
Fix 
2018-11-16 19:34:10 +01:00
Eugen Rochko
8069fd636b
Remove intermediary arrays when creating hash maps from results () 2018-11-16 15:02:18 +01:00
mayaeh
bdd3c8c255 Change the password form order ()
* Change order of password.

* Update Japanese translation for "Show thread".

* Separate the translation PR.
2018-11-16 11:18:43 +01:00
mayaeh
560acf171e Update Japanese translation for "Show thread". () 2018-11-16 11:16:10 +09:00
ThibG
c875f19673 Fix race condition causing shallow status with only a "favourited" attribute ()
Fixes 
2018-11-13 14:58:14 +01:00
Eugen Rochko
bb69d154c4
Fix null error introduced in () 2018-11-12 22:07:31 +01:00
ThibG
bbd8fdd185 Perform deep comparison for card data when receiving new props ()
Fixes 
2018-11-12 18:17:50 +01:00
Les Orchard
cc1f13dfd0 Only consider mouse move in scrolling on item insertion ()
Fixes 
2018-11-11 23:20:20 +01:00
mayaeh
208d278cbc i18n: Add ja translations ()
* Run yarn manage:translations

* Add Japanese translations.
2018-11-11 18:57:16 +01:00
ThibG
7f5a4be580 Fix emoji update date processing () 2018-11-10 23:59:51 +01:00
ThibG
9b89c62d43 Check that twitter:player is valid before using it ()
Fixes 
2018-11-10 20:42:04 +01:00
Eugen Rochko
3cecf3e5b9
Fix loading indicator inconsistency ()
* Use global loading indicator when loading more items

* Use local loading indicator for notifications

And remove global loading indicator for initial custom emojis load
2018-11-10 15:04:13 +01:00
Les Orchard
2f86fc5e0a Identify manual scrolling to cancel scroll to top reset on mouse idle () 2018-11-09 18:06:43 +01:00
ThibG
08b3de4d5e Remove unused computation of reblog references from updateTimeline () 2018-11-09 17:43:25 +01:00
Eugen Rochko
4615512285
Reduce connect timeout limit and limit signature failures by source IP ()
* Reduce connect timeout from 10s to 1s

* Limit failing signature verifications per source IP
2018-11-08 21:35:58 +01:00
Eugen Rochko
dd00cd19d2
Use local instead of global loading indicator for timelines, account timelines ()
So that opening a profile feels faster. Also, pinned toots are not
shown before other toots have loaded. Also, if no toots are loaded,
added empty message
2018-11-08 21:35:06 +01:00
Eugen Rochko
5cbf6cf3ec
Add "Show thread" link to self-replies ()
Fix 
2018-11-08 21:08:57 +01:00
Eugen Rochko
ccbdf689e8
Fix form validation flash message color and input borders ()
* Fix form validation flash message color and input borders

* Fix typo
2018-11-08 21:06:14 +01:00
Eugen Rochko
7f4adfaf77
Fix follow limit validator reporting lower number past threshold ()
* Fix follow limit validator reporting lower number past threshold

* Avoid floating point follow limit
2018-11-08 21:06:01 +01:00
Eugen Rochko
6d59dfa15d
Optimize the process of following someone ()
* Eliminate extra accounts select query from FollowService

* Optimistically update follow state in web UI and hide loading bar

Fix 

* Asynchronize NotifyService in FollowService

And fix failing test

* Skip Webfinger resolve routine when called from FollowService if possible

If an account is ActivityPub, then webfinger re-resolving is not necessary
when called from FollowService. Improve options of ResolveAccountService
2018-11-08 21:05:42 +01:00
Les Orchard
9cfd610484 Cancel list scroll reset after mouse move on wheel scroll ()
- Use object properties rather than component state for
  mouseMovedRecently and scrollToTopOnMouseIdle flags

- Remove redundant scrollToTop prop call, also fixing an attempt to call
  an undefined prop.

Fixes 
2018-11-08 18:45:20 +01:00
Eugen Rochko
b22db8162a
Increase default column width from 330px to 350px () 2018-11-08 07:42:17 +01:00
Les Orchard
6a1216d2cd Temporarily hold timeline if mouse moved recently (fixes ) ()
- On recent mouse movement, hold timeline position so statuses remain in
  place for interactions in progress.

- If the timeline had been scrolled to the top before mouse movement,
  restore scroll on mouse idle.
2018-11-05 18:59:41 +01:00
m.b
cd41c2c6ad Update resolve_url_service.rb () 2018-11-05 18:54:07 +01:00
James Kiesel
4c03e05a4e Allow joining several hashtags in a single column ()
* Nascent tag menu on frontend

* Hook up frontend to search

* Tag intersection backend first pass

* Update yarnlock

* WIP

* Fix for tags not searching correctly

* Make radio buttons function

* Simplify radio buttons with modeOption

* Better naming

* Rearrange options

* Add all/any/none functionality on backend

* Small PR cleanup

* Move to service from scope

* Small cleanup, add proper service tests

* Don't use send with user input :D

* Set appropriate column header

* Handle auto updating timeline

* Fix up toggle function

* Use tag value correctly

* A bit more correct to use 'self' rather than 'all' in status scope

* Fix some style issues

* Fix more code style issues

* Style select dropdown more better

* Only use to_id'ed value to ensure no SQL injection

* Revamp frontend to allow for multiple selects

* Update backend / col header to account for more flexible tagging

* Update brakeman ignore

* Codeclimate suggestions

* Fix presenter tag_url

* Implement initial PR feedback

* Handle additional tag streaming

* CodeClimate tweak
2018-11-05 18:53:25 +01:00
namelessGonbai
bb5558de62 Implement adding a user to a list from their profile ()
* Add add user to list from thier profile

* Fix listAdderCss
2018-11-05 18:52:38 +01:00
Steven Tappert
a7e3bd0300 Check for empty "last_status" before sorting DM column ()
* Check for empty "last_status" before sorting

* Small touchups for codeclimate
2018-11-05 18:51:43 +01:00
Sorin Davidoi
d6c7b01d08 fix(reset): Property name for styled scrollbars ()
https://webplatform.news/issues/2018-10-26
2018-11-05 18:51:26 +01:00
Eugen Rochko
b9d0d209cd
Fix reducer error when conversation has no last status in web UI ()
Fix 
2018-10-31 00:55:20 +01:00
Eugen Rochko
ce2ee68b64
Revert "Fix FetchAtomService content type handling ()" ()
This reverts commit c36a4a1617.
2018-10-31 00:43:34 +01:00
Quentí
804586172e [i18n] Update for Occitan ()
* Update oc.json

* Update oc.yml

* Update simple_form.oc.yml

* Update simple_form.oc.yml

* Update oc.json
2018-10-30 22:06:31 +01:00
Eugen Rochko
f59b840549
Fix empty display name precedence over username in web UI ()
Fix 
2018-10-30 17:06:12 +01:00
Eugen Rochko
cc45a8f9f7
Fix td instead of th in sessions table header ()
Fix 
2018-10-30 17:00:34 +01:00
Eugen Rochko
5c8e7f0e1d
Revert "feat(auth/session_controller): Send Clear-Site-Data when logging out (8627)" ()
This reverts commit 10680f93e7.
2018-10-30 16:25:54 +01:00
valerauko
c36a4a1617 Fix FetchAtomService content type handling ()
* Add profile to json+ld in Accept

It's required by the ActivityPub spec

* Use headers['Content-type'] instead of mime_type

mime_type strips the profile from the content type, but it's still available raw in the headers hash

* Add test for ld+json with profile
2018-10-30 15:07:57 +01:00
Quentí
a3d40ba53b [i18n] Update for Occitan ()
* Update oc.json

* Update devise.oc.yml

* Update oc.yml

* Update oc.json
2018-10-30 15:05:01 +01:00
Eugen Rochko
be202f9377
Accept the same payload in multiple inboxes and deliver () 2018-10-30 15:03:55 +01:00
Eugen Rochko
47b8d195e6
Always let through notifications from staff ()
* Always let through notifications from staff

Follow-up to 

* Let messages from staff through, but no other notifications
2018-10-30 15:02:55 +01:00
ThibG
a03d506626 Fix Pleroma mentions being fetched as preview cards () 2018-10-30 15:02:24 +01:00
trwnh
2cc099c70f Make detailed-status__wrapper actually wrap detailed status ()
* Remove class from scrollable div

.detailed-status__wrapper does not actually wrap the detailed status here

* Re-add class to focusable div

.detailed-status__wrapper now wraps the detailed status instead of the entire scrollable area
2018-10-30 06:33:02 +01:00
Masoud Abkenar
e961a763a2 RTL: fix toot privacy preferences radio buttonss () 2018-10-30 00:49:29 +01:00
Masoud Abkenar
5ee0b51ac8 RTL: fix preferences page checkbox margins ()
* RTL: fix preferences page checkbox margins

* Update rtl.scss
2018-10-30 00:47:43 +01:00
ThibG
33a71e8f7c Do not hide boost notifications from followed people with hidden boosts ()
* Do not hide boost notifications from followed people with hidden boosts

Not displaying boosts from a followed user in the Home timeline and not
having notifications when they reblog your own content are two very
separate concerns, tying them together seem counter-intuitive and unwanted.

* Update specs accordingly
2018-10-30 00:47:31 +01:00
m.b
2b18f5f85d Add Page AP type support () 2018-10-29 13:23:29 +01:00