Thibaut Girka
|
5528719bc9
|
Merge branch 'master' into glitch-soc/merge-upstream
|
2019-03-08 00:57:13 +01:00 |
|
ThibG
|
dcbe6c16ba
|
Do not allow adding votes to expired polls (#10214)
* Do not allow adding votes to expired polls
* Only validate expires_at on create
|
2019-03-08 00:54:50 +01:00 |
|
ThibG
|
3aaac4f134
|
Do not allow adding votes to expired polls (#10214)
* Do not allow adding votes to expired polls
* Only validate expires_at on create
|
2019-03-08 00:54:50 +01:00 |
|
Eugen Rochko
|
b7a8a52bc5
|
Immediately display poll results to poll author (#10187)
* Immediately display poll results to poll author
* Refactor Poll#loaded_options and add Poll#voted? to improve DRYness
|
2019-03-07 22:53:47 +01:00 |
|
Eugen Rochko
|
054bbb3da2
|
Immediately display poll results to poll author (#10187)
* Immediately display poll results to poll author
* Refactor Poll#loaded_options and add Poll#voted? to improve DRYness
|
2019-03-07 22:53:47 +01:00 |
|
Eugen Rochko
|
19cccea89a
|
Fix NaN in Poll component (#10213)
|
2019-03-07 22:18:05 +01:00 |
|
Eugen Rochko
|
75cb93676b
|
Fix NaN in Poll component (#10213)
|
2019-03-07 22:18:05 +01:00 |
|
Eugen Rochko
|
8e9db67a6a
|
Fix public timelines being broken by new toots when they are not mounted (#10131)
|
2019-03-07 22:17:52 +01:00 |
|
Eugen Rochko
|
be1c634b2b
|
Fix public timelines being broken by new toots when they are not mounted (#10131)
|
2019-03-07 22:17:52 +01:00 |
|
ThibG
|
641384d288
|
Handle StaleObjectError when retrieving polls (#10208)
|
2019-03-07 15:52:38 +01:00 |
|
ThibG
|
09c042aa10
|
Handle StaleObjectError when retrieving polls (#10208)
|
2019-03-07 15:52:38 +01:00 |
|
ThibG
|
51e37e9d6a
|
Merge pull request #944 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
|
2019-03-07 13:45:43 +01:00 |
|
ThibG
|
38e9c66f34
|
Merge pull request #944 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
|
2019-03-07 13:45:43 +01:00 |
|
Thibaut Girka
|
d8d8c64965
|
Merge branch 'master' into glitch-soc/merge-upstream
|
2019-03-07 13:24:30 +01:00 |
|
Thibaut Girka
|
9c5e7805cc
|
Merge branch 'master' into glitch-soc/merge-upstream
|
2019-03-07 13:24:30 +01:00 |
|
dependabot[bot]
|
adc68b7a2e
|
Bump webpush from 0.3.6 to 0.3.7 (#10205)
Bumps [webpush](https://github.com/zaru/webpush) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/zaru/webpush/releases)
- [Changelog](https://github.com/zaru/webpush/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zaru/webpush/compare/v0.3.6...v0.3.7)
Signed-off-by: dependabot[bot] <support@dependabot.com>
|
2019-03-07 20:38:10 +09:00 |
|
dependabot[bot]
|
637c952ccb
|
Bump webpush from 0.3.6 to 0.3.7 (#10205)
Bumps [webpush](https://github.com/zaru/webpush) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/zaru/webpush/releases)
- [Changelog](https://github.com/zaru/webpush/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zaru/webpush/compare/v0.3.6...v0.3.7)
Signed-off-by: dependabot[bot] <support@dependabot.com>
|
2019-03-07 20:38:10 +09:00 |
|
marcin mikołajczak
|
5232eccc5c
|
i18n:🇵🇱 (#10199)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
|
2019-03-07 02:52:43 +01:00 |
|
marcin mikołajczak
|
44475bbc9c
|
i18n:🇵🇱 (#10199)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
|
2019-03-07 02:52:43 +01:00 |
|
ThibG
|
db21a6c5ee
|
Avoid unnecessarily fetching the replies collection when it is empty (#10201)
|
2019-03-07 01:50:37 +01:00 |
|
ThibG
|
34f261e6af
|
Avoid unnecessarily fetching the replies collection when it is empty (#10201)
|
2019-03-07 01:50:37 +01:00 |
|
ThibG
|
401a3cfdf0
|
Fix AddLockVersionToPolls migration (#10200)
|
2019-03-07 01:50:06 +01:00 |
|
ThibG
|
dfb45374d2
|
Fix AddLockVersionToPolls migration (#10200)
|
2019-03-07 01:50:06 +01:00 |
|
rinsuki
|
ed3d470069
|
Fix #10202 (#10203)
|
2019-03-07 01:49:42 +01:00 |
|
rinsuki
|
f44091d653
|
Fix #10202 (#10203)
|
2019-03-07 01:49:42 +01:00 |
|
Thibaut Girka
|
a9597fd8a6
|
Allow setting whether this is a single choice poll or multiple choices one
|
2019-03-06 23:56:53 +01:00 |
|
Thibaut Girka
|
84c807a0dc
|
Allow setting whether this is a single choice poll or multiple choices one
|
2019-03-06 23:56:53 +01:00 |
|
Thibaut Girka
|
81a92465f2
|
Disable file upload when there is a poll
|
2019-03-06 23:56:53 +01:00 |
|
Thibaut Girka
|
cb6e351f4d
|
Disable file upload when there is a poll
|
2019-03-06 23:56:53 +01:00 |
|
Thibaut Girka
|
49c4e57973
|
Use server-provided poll limits instead of hardcoded ones
Also does not enable polls if no limits are provided by the server
|
2019-03-06 23:56:53 +01:00 |
|
Thibaut Girka
|
235be596bc
|
Use server-provided poll limits instead of hardcoded ones
Also does not enable polls if no limits are provided by the server
|
2019-03-06 23:56:53 +01:00 |
|
Thibaut Girka
|
9f06da948b
|
Serialize poll limits in instance serializer and initial state
|
2019-03-06 23:56:53 +01:00 |
|
Thibaut Girka
|
3b1390dc78
|
Serialize poll limits in instance serializer and initial state
|
2019-03-06 23:56:53 +01:00 |
|
Thibaut Girka
|
e2d56cc90d
|
[Glitch] Port polls creation UI from upstream
|
2019-03-06 23:56:53 +01:00 |
|
Thibaut Girka
|
8fe86cebaa
|
[Glitch] Port polls creation UI from upstream
|
2019-03-06 23:56:53 +01:00 |
|
Thibaut Girka
|
8124b60a99
|
Fix AddLockVersionToPolls migration
|
2019-03-06 23:56:43 +01:00 |
|
Thibaut Girka
|
3e5a0bc825
|
Fix AddLockVersionToPolls migration
|
2019-03-06 23:56:43 +01:00 |
|
ThibG
|
cff221b519
|
Merge pull request #942 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
|
2019-03-06 22:59:07 +01:00 |
|
ThibG
|
da8ce25fa1
|
Merge pull request #942 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
|
2019-03-06 22:59:07 +01:00 |
|
ThibG
|
6b4eb1ac96
|
[Glitch] Disable the underlying button element when an ItemButton is disabled
Port 365f875f57 to glitch-soc
|
2019-03-06 22:40:17 +01:00 |
|
ThibG
|
6e295beab2
|
[Glitch] Disable the underlying button element when an ItemButton is disabled
Port b3668a79ec to glitch-soc
|
2019-03-06 22:40:17 +01:00 |
|
Thibaut Girka
|
f123b809a7
|
Merge branch 'master' into glitch-soc/merge-upstream
|
2019-03-06 22:39:22 +01:00 |
|
Thibaut Girka
|
cf4fd8bcfe
|
Merge branch 'master' into glitch-soc/merge-upstream
|
2019-03-06 22:39:22 +01:00 |
|
ThibG
|
4f2eb43d8a
|
Add optimistic lock to avoid race conditions when handling votes (#10196)
* Add optimistic lock to avoid race conditions when handling votes
* Force-reload polls when getting `ActiveRecord::StaleObjectError`
|
2019-03-06 19:53:57 +01:00 |
|
ThibG
|
96f905f409
|
Add optimistic lock to avoid race conditions when handling votes (#10196)
* Add optimistic lock to avoid race conditions when handling votes
* Force-reload polls when getting `ActiveRecord::StaleObjectError`
|
2019-03-06 19:53:57 +01:00 |
|
ThibG
|
365f875f57
|
Disable the underlying button element when an ItemButton is disabled (#10194)
Fixes #10191
|
2019-03-06 15:10:32 +01:00 |
|
ThibG
|
b3668a79ec
|
Disable the underlying button element when an ItemButton is disabled (#10194)
Fixes #10191
|
2019-03-06 15:10:32 +01:00 |
|
ThibG
|
0b7c53937f
|
Disable file upload when there is a poll (#10195)
|
2019-03-06 15:09:18 +01:00 |
|
ThibG
|
cb217444b8
|
Disable file upload when there is a poll (#10195)
|
2019-03-06 15:09:18 +01:00 |
|
Thibaut Girka
|
8d82e153f3
|
Add an icon to highlight polls behind a Content Warning
|
2019-03-06 13:01:27 +01:00 |
|