about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2019-03-11Merge pull request #953 from ThibG/glitch-soc/merge-upstreamThibG
Merge upstream changes
2019-03-11[Glitch] Add support for poll ending notificationsThibaut Girka
Port front-end parts of 3a92885a860df12b12d8356faf179a3fc63be6f2 to glitch-soc
2019-03-11Do not leak instance-local polls to remote followersThibaut Girka
2019-03-11add local setting to auto reveal media behind cwash lea
2019-03-11fix poll fotter layoutKirishima21
画面の幅が充分でないときに 表示外にまでボタンが拡大されてしまわないように修正。
2019-03-11Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - app/services/post_status_service.rb Small conflict due to handling of instance-local toots. A subsequent change is required to ensure instance-local polls are not leaked through Update.
2019-03-11Avoid race conditions when creating backups (#10234)ThibG
Under load, multiple backups for a single user could be planned, which is very expensive.
2019-03-11Support pushing and receiving updates to poll tallies (#10209)ThibG
* Process incoming poll tallies update * Send Update on poll vote * Do not send Updates for a poll more often than once every 3 minutes * Include voters in people to notify of results update * Schedule closing poll worker on poll creation * Add new notification type for ending polls * Add front-end support for ended poll notifications * Fix UpdatePollSerializer * Fix Updates not being triggered by local votes * Fix tests failure * Fix web push notifications for closing polls * Minor cleanup * Notify voters of both remote and local polls when those close * Fix delivery of poll updates to mentioned accounts and voters
2019-03-10Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-03-10Reject existing Follows when suspending a remote account (#10230)ThibG
* Reject existing Follows when suspending a remote account Partial fix to #10229 * Add tests
2019-03-09Change joinmastodon.org to joinmastodon.org/#getting-started for sign up on ↵Aditoo17
another server (#10224)
2019-03-08Merge pull request #947 from ThibG/glitch-soc/merge-upstreamThibG
Merge upstream changes
2019-03-08Fix min/max duration poll limits being invertedThibaut Girka
2019-03-08Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-03-08Fix setting up fields of a previously suspended account (#10222)ThibG
Fix #10177 for real
2019-03-08[Glitch] Fix NaN in Poll componentEugen Rochko
Port 75cb93676b1dd41d3e47f62466c0c6430691a990 to glitch-soc
2019-03-08[Glitch] Fix public timelines being broken by new toots when they are not ↵Eugen Rochko
mounted Port be1c634b2b4372a525d304d2ff830392f04c5cc5 to glitch-soc
2019-03-08Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-03-08Do not allow adding votes to expired polls (#10214)ThibG
* Do not allow adding votes to expired polls * Only validate expires_at on create
2019-03-07Immediately display poll results to poll author (#10187)Eugen Rochko
* Immediately display poll results to poll author * Refactor Poll#loaded_options and add Poll#voted? to improve DRYness
2019-03-07Fix NaN in Poll component (#10213)Eugen Rochko
2019-03-07Fix public timelines being broken by new toots when they are not mounted ↵Eugen Rochko
(#10131)
2019-03-07Handle StaleObjectError when retrieving polls (#10208)ThibG
2019-03-07Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-03-07i18n:🇵🇱 (#10199)marcin mikołajczak
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2019-03-07Avoid unnecessarily fetching the replies collection when it is empty (#10201)ThibG
2019-03-07Fix #10202 (#10203)rinsuki
2019-03-06Allow setting whether this is a single choice poll or multiple choices oneThibaut Girka
2019-03-06Disable file upload when there is a pollThibaut Girka
2019-03-06Use server-provided poll limits instead of hardcoded onesThibaut Girka
Also does not enable polls if no limits are provided by the server
2019-03-06Serialize poll limits in instance serializer and initial stateThibaut Girka
2019-03-06[Glitch] Port polls creation UI from upstreamThibaut Girka
2019-03-06[Glitch] Disable the underlying button element when an ItemButton is disabledThibG
Port b3668a79eca2d185ea57a9ffc2fa012db52e49f0 to glitch-soc
2019-03-06Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-03-06Add optimistic lock to avoid race conditions when handling votes (#10196)ThibG
* Add optimistic lock to avoid race conditions when handling votes * Force-reload polls when getting `ActiveRecord::StaleObjectError`
2019-03-06Disable the underlying button element when an ItemButton is disabled (#10194)ThibG
Fixes #10191
2019-03-06Disable file upload when there is a poll (#10195)ThibG
2019-03-06Add an icon to highlight polls behind a Content WarningThibaut Girka
2019-03-06Fix poll options not rendering text after vote/refreshEugen Rochko
Port fd128b9c7aa5c71adbfc2e223212514c0baee675 to glitch-soc
2019-03-06Avoid line breaks in poll optionsEugen Rochko
Port 57643557b64bc1853c4aeb65fc652dac3467fa18 to glitch-soc
2019-03-06Render unicode emoji in polls using emoji packEugen Rochko
Port 4407f07014096bcbaf5a06015a5791984282846d to glitch-soc
2019-03-06Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-03-06Fix poll options not rendering text after vote/refresh (#10189)Eugen Rochko
* Fix poll options not rendering text after vote/refresh * Fix poll options not showing up on public pages * Fix code style issue
2019-03-06Avoid line breaks in poll options (#10188)Eugen Rochko
2019-03-06Fix poll validation issues (#10186)Eugen Rochko
- Fix missing interpolation argument in PollValidator - Fix PollValidator rejecting exact allowed min/max durations
2019-03-06Add UI for creating polls (#10184)Eugen Rochko
* Add actions and reducers for polls * Add poll button * Disable media upload if poll enabled * Add poll form * Make delete & redraft work with polls
2019-03-06Render unicode emoji in polls using emoji pack (#10185)Eugen Rochko
2019-03-06Fix toots opening in dynamic column when trying to interact with themThibaut Girka
This fixes inline preview cards and polls, preventing them from opening the toot in detailed view when clicking on an interactive element.
2019-03-06Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-03-05Fix newlines in OStatus and RSS serializations (#10183)ThibG