Commit Graph

148 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
2b70e86f21 fix: #7751, make necro separator a partial 2019-07-11 22:42:04 -04:00
Julian Lam
16aae51726 fix: private upload img replacement should happen before img wrapping 2019-07-05 15:02:48 -04:00
Julian Lam
49e3a368f8 fix: #7423 private uploads are linked to login page, for guests 2019-07-05 14:58:54 -04:00
Barış Soner Uşaklı
bd640a1107 Topic await errors (#7727)
* feat: derp await

* feat: restore user.getSettings

* feat: cleanup

* feat: make tid const

* feat: cleanup

* fix: tests

* feat: deprecate filter:controllers.topic.get

* feat: rewrite post-index logic

* feat: change calculation to match others

* fix: use .async

* feat: remove try/catch wrapper
2019-07-03 12:48:26 -04:00
Baris Usakli
ee4d78cae3 feat: closes #7718 2019-06-27 12:05:31 -04:00
Barış Soner Uşaklı
d03220cdaf fix: #7094 2019-01-25 11:08:51 -05:00
Peter Jaszkowiak
ba619c7ec8 style(eslint): match operator-linebreak preferences 2018-11-30 13:38:59 -05:00
Barış Soner Uşaklı
58d4376f7e fix: #7030 2018-11-29 11:26:57 -05:00
Julian Lam
98c14e0e68 fix: removal of scroll anchoring code in favour of browser handling
closes #6150
2018-11-20 16:56:54 -05:00
Baris Usakli
c343b93a37 optimize ajaxify
- do not call $.timeago twice on topic load and for widgets
- do not use toLocaleString for each timeago string, use a single
Intl.DateTimeFormat instance instead
- do not call format for empty timeago strings, ie a post that isnt
edited doesnt have a timeago string
- do not call isTouchDevice for every element
- remove app.replaceSelfLinks, this is superceded with /me route
- store references to jquery objects in navigator instead of creating
them on every scroll
2018-11-17 14:07:56 -05:00
renovate[bot]
64b9dabff8 chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
2018-11-07 15:53:14 -05:00
Julian Lam
5d2e6f0e8e Squashed commit of the following:
commit 7bd46afad7033a466626826d3e29610f41328510
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:41:36 2018 -0400

    fixes #6363

commit 4b755d5801b2f6d70cea10516f88392708c72f61
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:24:12 2018 -0400

    fixes #6362

commit 6035e75453a08aee0fef7ff59d57dd5c1e8f4ac9
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:07:23 2018 -0400

    Fixes #6361
2018-03-15 15:42:20 -04:00
Barış Soner Uşaklı
813fdaf6f6 fix pageCount calculation 2018-01-23 15:52:54 -05:00
Julian Lam
128b922873 fixes #5428 2017-08-03 13:29:28 -04:00
Barış Soner Uşaklı
a513d98e1d prevent timeago in future for new posts 2017-05-24 10:56:09 -04:00
Barış Soner Uşaklı
70adcd64bc #5667 2017-05-12 14:58:40 -04:00
psychobunny
a67d48e719 #5513 (#5520)
closes #5513
2017-03-10 12:50:19 -05:00
barisusakli
202bafa3e3 add images to bundle 2017-03-02 18:21:01 +03:00
barisusakli
5ca8456340 move image code to client/topic/images 2017-03-02 18:11:31 +03:00
Peter Jaszkowiak
11cb3a9554 ESlint operator-assignment, block-scoped-var 2017-02-18 14:20:58 -07:00
Peter Jaszkowiak
c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
2017-02-18 12:59:46 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
1493afee2a ESlint indent 2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
d9c1f6f088 ESlint no-extra-semi 2017-02-17 22:20:45 -07:00
Peter Jaszkowiak
52f2028206 ESlint no-multiple-empty-lines 2017-02-17 22:08:23 -07:00
Peter Jaszkowiak
b09b3aef7f ESlint no-undef, remove global comments 2017-02-17 22:03:55 -07:00
Peter Jaszkowiak
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
76254942b2 closes #5190 2017-02-03 16:25:02 +03:00
barisusakli
eca850c4b1 nested reply improvements
on new post increase count and add nested reply if replies are expanded
on post purge reduce count and remove nested reply
2016-11-02 15:58:19 +03:00
barisusakli
ff08cbf677 replies to posts 2016-10-31 11:20:52 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
barisusakli
49bd03b8ec closes #5004 2016-09-15 00:50:24 +03:00
barisusakli
7afd2925af get sort setting from config 2016-08-31 22:50:48 +03:00
barisusakli
6e3d525ef4 closes #4704 2016-08-29 16:12:33 +03:00
Julian Lam
da47f5675c don't wrap images in links if the link is blank, fixes #4976 2016-08-25 13:01:16 -04:00
barisusakli
0efe315790 closes #4631 2016-08-12 12:57:23 +03:00
barisusakli
56d325bd86 privilege fixes 2016-08-10 23:55:49 +03:00
Ben Lubar
f62da5c4e9 see NodeBB/NodeBB#4909 2016-08-09 09:50:49 -05:00
Ben Lubar
26df552d55 Add edit, delete, and topics:delete permissions for users acting on their own posts 2016-08-06 21:23:09 -05:00
barisusakli
1a43b3482c insert postbar after placeholder 2016-07-06 12:26:03 +03:00
barisusakli
4bbc8110a9 closes #4772 2016-06-21 14:43:38 +03:00
barisusakli
abb1c1c010 closes #4758 2016-06-15 21:04:42 +03:00
barisusakli
69e25fe4d5 closes #4612 2016-05-09 23:39:00 +03:00
barisusakli
f473e03f76 closes #4565 2016-05-04 12:54:26 +03:00
Ben Lubar
37bd63ab75 wrap images in links even if the images aren't unloaded. handle resized images with no file extension (as seen on wtdwtf) (#4561) 2016-04-27 14:52:14 -04:00
Julian Lam
352ef81e84 Merge pull request #4530 from BenLubar/delay-image-loading
don't delay image loading when "delay image loading" is unchecked
2016-04-21 15:14:19 -04:00