Commit Graph

4989 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
f6cfbbb520 fix: don't crash if body doesn't have skin- 2019-01-30 14:39:01 -05:00
Barış Soner Uşaklı
c7abf07a3d fix: #7324
added disableToType option
2019-01-30 10:33:15 -05:00
Barış Soner Uşaklı
0366cfd8ec fix: allow regular groups to local login 2019-01-29 14:10:40 -05:00
Barış Soner Uşaklı
5353960ae7 fix: #7316 2019-01-29 13:11:45 -05:00
Julian Lam
8aebe88417 fix: #7306 2019-01-28 16:07:42 -05:00
Julian Lam
02a8ed9b11 feat: textcomplete over jquery-textcomplete, closes #7309 2019-01-28 13:05:46 -05:00
Julian Lam
7fb3c16882 fix: #7296, local login privilege available to registered-users only 2019-01-25 11:43:42 -05:00
Barış Soner Uşaklı
d03220cdaf fix: #7094 2019-01-25 11:08:51 -05:00
Julian Lam
63061ffd37 feat: new hook filter:user.logout
- used for setting "next" for post logout redirection
2019-01-24 12:04:44 -05:00
Julian Lam
cee47f78b2 fix: #7289 timeago shorthand toggle fails on non-existant language
- Exposing timeagoCodes to frontend
- Timeago language and shorthand toggling will fall back to 'en'
  if the requested language does not exist
2019-01-21 16:35:42 -05:00
Julian Lam
5ee173c2f6 fix: #7276 improper request for client-noskin.css 2019-01-21 14:16:06 -05:00
Barış Soner Uşaklı
ac655564bb fix: post queue notifs
fix moderators not showing up immediately when adding them
2019-01-14 22:38:15 -05:00
Julian Lam
51b5fb9826 fix: added missing translation and error state for password change 2019-01-13 14:49:37 -05:00
Julian Lam
3859d417ce fix: #7236, header search stops working after header update 2019-01-12 15:31:28 -05:00
Julian Lam
af4fd5979f Revert "fix: #7216, hide taskbar on chat modal invocation on mobile"
This reverts commit a70db885cf.
2019-01-11 10:29:25 -05:00
Julian Lam
a70db885cf fix: #7216, hide taskbar on chat modal invocation on mobile 2019-01-10 16:46:08 -05:00
Barış Soner Uşaklı
428f587cbe fix: #7208 2019-01-09 11:59:20 -05:00
Barış Soner Uşaklı
28459d04c6 fix: #7187 2019-01-03 13:08:42 -05:00
Julian Lam
954af0f0d2 fix: #7176, FUOC on app.reskin() 2019-01-02 16:01:59 -05:00
Baris Usakli
8da3b2a487 fix: #7142
due to no refresh on login socket listeners were added more than once,
so remove them before adding the listeners
2019-01-02 13:16:56 -05:00
Barış Soner Uşaklı
8566205214 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-01-01 18:04:09 -05:00
Barış Soner Uşaklı
03299736dc fix: #7179
don't consider pinned topics in widget areas
2019-01-01 18:04:03 -05:00
Julian Lam
629b35546c fix: #7167, composer and chat not closing on logout 2018-12-27 15:55:53 -05:00
Barış Soner Uşaklı
43e7cc0afb fix: shorter function 2018-12-26 12:09:39 -05:00
Barış Soner Uşaklı
2da0a65765 fix: #7162 2018-12-26 09:00:48 -05:00
Julian Lam
8e9de540b4 fix: #7136 socket.disconnect() now called on invalid session 2018-12-21 15:09:13 -05:00
Julian Lam
4873a339c1 fix: RTL not respected when changed in user settings, related to #7146 2018-12-21 14:59:14 -05:00
Julian Lam
d81e0a5f5b fix: #7146 Better RTL handling on (de-)authentication
- RTL is applied (or unapplied) on login and logout depending on
  user language/guest-detected language.
- config is automatically saved into res.locals.config whenever
  loadConfig is called
- On login/logout, buildHeader is called instead of getting config
- On logout, req.uid is deleted instead of set to 0
2018-12-21 11:49:11 -05:00
Julian Lam
900f0a0b78 fix: #7118, invoking autoLocale middleware on logout
Also:
- firing client-side hook on header update
- updating bootbox locale on header update
2018-12-20 14:01:42 -05:00
Andrew Rodrigues
7fb29f4272 fix: closes #6784 (#7137)
* fix: closes #6784

* #6784 also fix homepage + subfolder installs

* #6784 fixes suburls as well (ex. /tags/x and /groups/y)

* #6784 more elegant solution @pitaj

and the last time I touch this function, lol

* #6784 regis, final answer

I lied in that last commit
2018-12-19 16:16:35 -05:00
Barış Soner Uşaklı
ab81cca735 fix: 7100 2018-12-19 12:09:36 -05:00
Barış Soner Uşaklı
7e828404f6 fix: #7116
dont save relative_path in db for group covers
2018-12-18 19:43:28 -05:00
Barış Soner Uşaklı
29a85aecc7 fix: #7138 2018-12-18 19:20:51 -05:00
Baris Usakli
b47f939bfc fix: lint 2018-12-18 14:04:57 -05:00
Baris Usakli
69e0dbbf4a fix: #7091, #7093 2018-12-18 14:02:54 -05:00
Baris Usakli
0c1ac4d6a2 feat: #7032 2018-12-18 13:44:03 -05:00
Barış Soner Uşaklı
4650a76036 fix: #7124 2018-12-16 00:09:13 -05:00
Barış Soner Uşaklı
9f5062682d fix: unread badge
- only increase unread badge if topic or category is watched
- fix logic for "there are new posts/topics" on /unread and /recent
2018-12-15 16:38:30 -05:00
Barış Soner Uşaklı
eb7ae54f81 Category watch state (#7109)
* feat: wip, category watch change

* feat: pass data to client

* feat: allow changing state

* fix: account page categories

* fix: show in unread if topic is followed or category is watched

* feat: add default watch state to acp

* feat: save user category watch state

* feat: update unread recent pages

* fix: remove dupe code

* fix: flip conditions

* fix: handle empty arrays

* fix: ignore/watch on others profile

* feat: upgrade script for category states

if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers

* fix: upgrade

* fix: tests

* fix: redis count

* fix: more tests
2018-12-14 16:24:17 -05:00
Barış Soner Uşaklı
f103390aa5 fix: #7103
update counter when user navigates to /unread
fix new topic alert on /unread
moved unread code from footer to unread
2018-12-12 19:43:35 -05:00
Barış Soner Uşaklı
74d0e88df3 fix: don't explode if there is no css el 2018-12-12 11:16:49 -05:00
Barış Soner Uşaklı
555c092f65 fix: dont send empty strings 2018-12-08 19:53:19 -05:00
Julian Lam
ed46c5e24b fix: refreshing settings page on save if language changed 2018-12-07 14:25:10 -05:00
Julian Lam
5f3d1c76c8 fix: #7038, autoLocale logic not playing nicely with no-refresh auths (#7059)
* fix: #7038, autoLocale logic not playing nicely with no-refresh auths

- on login, req.query.lang is deleted (since it seems to be left over)
- on logout, the middleware.autoLocale is executed, which resets
  req.query.lang
- middleware.autoLocale is new, just refactored existing logic in
  webserver.js into new middleware method.

* style: tests, use lodash

* fix: timeago strings not switching languages on login or out
2018-12-07 11:29:20 -05:00
Barış Soner Uşaklı
2604cf6356 fix: #7074 2018-12-06 20:54:45 -05:00
Julian Lam
6df5668e64 fix: #7063, logout code should do hard page nav to / or data.next 2018-12-05 13:11:55 -05:00
Barış Soner Uşaklı
41357abb59 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-12-04 14:32:49 -05:00
Barış Soner Uşaklı
f581c052ee feat: #7023
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
2018-12-04 14:32:43 -05:00
Julian Lam
28a1fa780a fix: skin not changing after login or logout, #7038 2018-12-04 12:06:21 -05:00
Baris Usakli
cd02e03f7b don't crash if meta.config is undefined 2018-12-03 11:14:18 -05:00