Commit graph

304 commits

Author SHA1 Message Date
Samuel Gabriel
2ac30d9745
Fixed race condition with saving poll
Saving the poll option id int to the poll option set asynchronously  creates a race condition which results in a 'duplicate index error'. 
`MongoServerError: E11000 duplicate key error collection: objects index: _key_1_value_-1`.
This is because NodeBB adds a unique key-value index.
2024-04-05 23:49:46 +08:00
Barış Soner Uşaklı
ae4d15a094 3.1.2 2024-02-05 14:00:36 -05:00
Barış Soner Uşaklı
e84a536a52 add bottom margin to poll view 2024-02-05 14:00:19 -05:00
Barış Soner Uşaklı
bcc0499f9e 3.1.1 2024-02-05 13:28:30 -05:00
Barış Soner Uşaklı
8cae18443f fix some styles 2024-02-05 13:28:10 -05:00
Barış Soner Uşaklı
17d1ddc265 3.1.0 2024-02-05 13:00:06 -05:00
Barış Soner Uşaklı
d66b629765 update ACP page for 3.2.x and up 2024-02-05 12:59:32 -05:00
Barış Soner Uşaklı
8b1a0a2ad0 3.0.5 2023-07-05 23:37:43 -04:00
Barış Soner Uşaklı
1c2c5b1e2d
Merge pull request #138 from ShlomoCode/master
allow clicking outside the modal to close
2023-07-05 23:37:09 -04:00
Shlomo
e1b5e85d82
allow clicking outside the modal to close 2023-07-05 22:45:04 +03:00
Barış Soner Uşaklı
978abcbabe 3.0.4 2023-03-10 12:10:51 -05:00
Barış Soner Uşaklı
74199342cf
Merge pull request #137 from pkuanvil-uid1/patch-1
Fix issue #133
2023-03-10 12:09:45 -05:00
pkuanvil-uid1
f0e11a34a0
Fix issue #133
This should fix wrong order of post items. We preserve the order as in `Poll.add()` when `pollData.options` get indexed by consecutive option id.
2023-03-11 01:03:59 +08:00
Barış Soner Uşaklı
30e452d326 3.0.3 2023-01-27 23:14:14 -05:00
Barış Soner Uşaklı
817f89cb68 fix: update alert usage 2023-01-27 23:14:00 -05:00
Barış Soner Uşaklı
ecc164b253 3.0.2 2023-01-17 01:27:55 -05:00
Barış Soner Uşaklı
a93eee67eb
Merge pull request #134 from macintux/polls-hyphens
Allow poll options to include hyphens
2023-01-17 01:27:27 -05:00
John R Daily
726da7707f Allow poll options to include hyphens
The fact that any hyphens contained within a poll option will drop all
text after the first, combined with the inability to edit the poll
options after, can be disruptive.
2023-01-16 19:40:48 -05:00
Barış Soner Uşaklı
ec13c9ad58 3.0.1 2022-12-09 10:23:23 -05:00
Barış Soner Uşaklı
cd71da82be update to use new privilege hook 2022-12-09 10:23:08 -05:00
Barış Soner Uşaklı
627280a226 3.0.0 2022-09-20 11:25:01 -04:00
Barış Soner Uşaklı
ec721511d8 update for bs5 2022-09-20 11:23:53 -04:00
Barış Soner Uşaklı
27a9cfc51d 2.0.6 2022-06-03 13:17:18 -04:00
Barış Soner Uşaklı
2703dc7060 feat: update for nbb 2.x 2022-06-03 13:16:16 -04:00
Julian Lam
fca9e96db0 2.0.5 2022-06-01 15:39:27 -04:00
Julian Lam
e75c65e18b fix: incorrect require of client-side translator module 2022-06-01 15:39:24 -04:00
Julian Lam
7206e07bc2 2.0.4 2022-05-28 14:13:49 -04:00
Julian Lam
02fead96a4 fix: Poll window global 2022-05-28 14:13:47 -04:00
Barış Soner Uşaklı
c4d73d3819 2.0.3 2022-03-05 18:45:18 -05:00
Barış Soner Uşaklı
4d6bf85629 refactor: move acp script to modules 2022-03-05 18:44:53 -05:00
Julian Lam
7516f28028 2.0.2 2021-10-05 10:25:14 -04:00
Antosik
b00e3f2c8c fix: show "voting" button on results panel if not voted 2021-10-05 10:24:49 -04:00
Barış Soner Uşaklı
5150004636 2.0.1 2021-09-09 11:30:08 -04:00
Barış Soner Uşaklı
f2a583352f
Merge pull request #131 from yossizahn/master
Fixes #130
2021-09-09 11:29:12 -04:00
Yossi Zahn
425ff6e456 Use parseInt on both sides of comparison. 2021-09-09 18:18:36 +03:00
Yossi Zahn
c435ca6fb1 Fixes #130 2021-09-03 15:04:18 +03:00
Barış Soner Uşaklı
78167d24ed 2.0.0 2021-07-27 11:48:13 -04:00
Barış Soner Uşaklı
b285ffa5bf chore: up compat 2021-07-27 11:47:45 -04:00
Barış Soner Uşaklı
d69c3525cd
Merge pull request #127 from ariastel/feat/eslint-config
Feat: eslint config
2021-07-27 11:46:07 -04:00
Antosik
7e0ee094c0 feat(eslint): manually fix eslint errors (not auto-fixable) 2021-07-27 18:34:58 +03:00
Antosik
4fe1031712 feat(eslint): auto-fix eslint errors 2021-07-27 18:33:35 +03:00
Antosik
d223cb1605 feat(eslint): copy config from core & ignore vendors 2021-07-27 18:32:45 +03:00
Barış Soner Uşaklı
9b079217c7
Merge pull request #128 from ariastel/fix/jq-serialize-object
Fix: jQuery.serializeObject
2021-07-27 10:44:07 -04:00
Antosik
787e055d64 feat: mark disallowVoteUpdate checkbox if option is enabled 2021-07-27 14:29:25 +03:00
Antosik
081f990518 fix: flatpickr setDate usage 2021-07-27 14:14:01 +03:00
Antosik
a317ee526d feat: use serializeObject from core 2021-07-27 14:13:06 +03:00
Antosik
ed23216af8 feat: Russian localization update 2021-07-23 12:10:43 -04:00
Antosik
855a244575 fix: move back to vendor folder 2021-07-23 12:10:43 -04:00
Antosik
9b2c855f34 fix: Russian localization 2021-07-23 12:10:43 -04:00
Antosik
0bfd5de84c misc: eslint 2021-07-23 12:10:43 -04:00