Commit Graph

785 Commits

Author SHA1 Message Date
barisusakli
c2e1426e57 fix syntax error, and actually show error if minification fails 2016-01-27 20:48:10 +02:00
barisusakli
ae8837b44a generate notification path on demand 2016-01-27 20:12:44 +02:00
Julian Lam
baaad13286 reverted latest change to translator match regex
- Fixes issue with parentheses in translations (closes #4107)
- No longer marking translation keys invalid if they contain HTML,
  as that was probably not performant. Instead, parameters will
  simply be escaped via the StringJS library.
2016-01-27 09:15:26 -05:00
Julian Lam
5de0e74908 Notification paths are now sent back in socket call, so client-
side alert now shows more data and is clickable.
2016-01-25 10:24:05 -05:00
Julian Lam
32466d8bb1 tweaked paginator block to toggle when text is updated, and use ready class instead of invisible 2016-01-23 09:48:04 -05:00
Julian Lam
99315e1c73 updated translator so that language key parameters cannot contain
html in them (or more specifically, < and >)
2016-01-22 12:23:36 -05:00
Julian Lam
f1ed3ad659 allowing favicon updating to be disabled via client side hook 2016-01-21 21:26:12 -05:00
barisusakli
24c56eb80a switch topic select to components 2016-01-21 22:36:38 +02:00
Julian Lam
2cabf7a3d1 Merge pull request #4066 from pichalite/master
fixes NodeBB/nodebb-theme-persona#218
2016-01-20 09:47:22 -05:00
Julian Lam
f18382a892 firing client-side hook on notification count update now 2016-01-19 09:26:48 -05:00
Julian Lam
2d48faf5df Fixed #4033
Also related to regression first caused by the fix to #3695 from
fcb381f922

Also, added tests for translator. omg.
2016-01-18 15:49:44 -05:00
barisusakli
92b339ff1d much whitespace so wow 2016-01-18 15:40:10 +02:00
pichalite
ee529d92d3 fixes NodeBB/nodebb-theme-persona#218 2016-01-16 14:49:32 -08:00
barisusakli
46f2faaa05 closes #4045 2016-01-16 11:01:06 +02:00
barisusakli
222ef14d7f added chat:autocomplete:init 2016-01-12 16:37:34 +02:00
Julian Lam
fcb381f922 Fixes #3695
Guests now trigger topic notifications, and the translator has
been updated so that translations inside translations are
handled in a way that doesn't cause the translator to explode.
2015-12-31 12:03:48 -05:00
barisusakli
51154c8726 closes #3998 2015-12-29 15:33:16 +02:00
barisusakli
6be8675580 closes #4012 2015-12-29 10:34:06 +02:00
barisusakli
f8a114ba5c closes #4010 2015-12-28 11:59:52 +02:00
barisusakli
687d29a44b closes #2134 2015-12-24 12:08:10 +02:00
Julian Lam
ad9a1d0f2c closes #3989
Squashed commit of the following:

commit 23de0708708ed190eafbcd6ea93d43333cb87aa3
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Dec 23 10:48:16 2015 -0500

    wired up session revocation, #3989

commit 45a3f18321b74a9b6893d404b6c870f1ec4d95cd
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Dec 23 09:49:27 2015 -0500

    session deletion via session uuid

commit 2bf87338cf9bfa2df0b299639421d8da7553c69a
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 22 13:53:35 2015 -0500

    WIP #3989

commit 623f45c3fa8b96f8b6eec0613eb7f9463348ab93
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 22 10:22:24 2015 -0500

    saving more metadata and displaying sessions in UCP #3989

commit d0567ed7cc33a1aea66e921b657f782038f32191
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 22 10:21:38 2015 -0500

    updated fontawesome to v4.5.0

commit 7131c97fe8ab42838eb2915a04e74f80f3d9a133
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 22 09:39:16 2015 -0500

    saving user-agent metadata into user session #3989

commit 661b7e6dba774b80b5dc6d04f89a79f809ff791e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 22 09:23:24 2015 -0500

    New user auth methods to add/revoke sessions, #3989
2015-12-23 10:48:45 -05:00
barisusakli
abed319da2 closes #3996 2015-12-23 11:27:34 +02:00
barisusakli
dff3d7f20e various group chat fixes #3980
fix multiple modals using the same tagsinput
fix online user getting chat notification
fix owner not being able to remove users in the chat modal
2015-12-21 10:14:44 +02:00
barisusakli
f0b333e8a1 closes #3929 2015-12-19 20:20:41 +02:00
barisusakli
26ac05dd5c Merge remote-tracking branch 'refs/remotes/origin/master' into group-chat 2015-12-18 13:16:55 +02:00
Julian Lam
a091067175 closes #3963 2015-12-17 18:22:09 -05:00
barisusakli
3d79e0750b fix edit delete for rooms 2015-12-17 12:05:35 +02:00
barisusakli
992ca0a351 fix taskbar icon 2015-12-17 11:56:28 +02:00
barisusakli
d2b54ae0f8 display less derpy chat list 2015-12-17 11:47:32 +02:00
barisusakli
f71fd0a3ec only allow users in the room to get raw message content 2015-12-17 11:22:22 +02:00
barisusakli
d8810ceae9 send messages 2015-12-16 15:09:14 +02:00
barisusakli
784ff07907 ability to add/remove users from chat rooms, tagsinput 2015-12-16 13:35:24 +02:00
barisusakli
29d8b9c181 more room changes app.openChat 2015-12-16 10:09:00 +02:00
barisusakli
58d05f7c79 recent chat list with rooms 2015-12-15 17:50:30 +02:00
Julian Lam
7b49dc9061 fixes #3935 2015-12-14 14:20:52 -05:00
Julian Lam
c1460d36f0 Deprecated uploader.open, use uploader.show instead
... as it now takes a single Object argument instead of multiple
parameters.

Also, closes #3942. Help text is just omitted now.
2015-12-14 12:00:24 -05:00
Julian Lam
84a039446c updated modal to not show parentheses when max file size
is not defined...

Also fixing hideAlerts error in ACP when opening the upload modal.
2015-12-14 11:31:49 -05:00
Julian Lam
2d203d7dca Squashed commit of the following:
Closes #2668

commit 3d4f494ed3257bceda8f6f82057cab83f0f252b3
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Dec 11 12:06:42 2015 -0500

    theme minvers for #2668

commit b608ce61854f8195143685bb9753b80d32b26e95
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Dec 11 12:01:03 2015 -0500

    Allowing chat modal to edit and delete messages

    re: #2668

commit 0104db90a4070582f3938b6929dae35f985bac35
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Dec 11 11:51:23 2015 -0500

    Fixed issue where newSet calculations were off

    ... sometimes.

    Also, rendering of edited messages now parses a template partial,
    instead of just replacing the content.

commit 5cb6ca600425ca9320c599b32306e93dcc5aa4ce
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Dec 11 11:07:12 2015 -0500

    If edited content matches existing content...

    ... then edit is aborted.

commit 6e7495247b1895589c716db29f919a934087b924
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Dec 11 11:05:08 2015 -0500

    some linting and fixed issue where new msgs when deleted would crash server

commit db4a9e40d6dff44569c2437378121db8fdf75cf8
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 17:25:56 2015 -0500

    Message deletion for #2668, and fixed bug

    Fixed bug where chat modal would spawn even though user was sitting
    on the /chats page.

commit a5aa2498ab4a8bba02a6daa43a9dbed7b3e37976
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 14:55:23 2015 -0500

    wiring up the edit button, #2668

commit 5f2afdcf6f2b9eae6b5873ca100149e65e3d385d
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 14:20:39 2015 -0500

    added indicator to show if and when a message had been edited

commit e8301132d525c1b9fd46c98cdb282ac7ea7a0d7f
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 14:06:39 2015 -0500

    Allowing editing of chat messages

commit bfd991be1cb1769599f7d5d2b1638e313c3c2dcb
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 10:33:49 2015 -0500

    Added messageId to messages object return

commit 0306ee6657b3288dd4547c66869d7d4ece0b31ad
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 8 08:20:17 2015 -0500

    WIP #2668
2015-12-11 12:07:02 -05:00
Julian Lam
fc476ba168 Fixes #3906
Initially, the removed block of code was used to stop the chat modal
from popping up altogether, since the /chats page was usable on
mobile. Since the re-design, only the contact list is shown on
mobile, leaving the modal as the main way to communicate. So, this
intercepting code is actually interfering now.
2015-11-27 12:52:58 -05:00
barisusakli
20c8411287 closes #3767 closes #3774 2015-11-12 14:14:27 -05:00
Julian Lam
93c077dabd closes #3825 2015-11-10 16:02:56 -05:00
Julian Lam
8a90afeed2 fixes #3859 2015-11-09 11:55:44 -05:00
barisusakli
3bd83cd732 remove dupe code 2015-11-07 18:54:08 -05:00
Julian Lam
92be63ebe6 Update user account removeFn
As I did not realise both groups and users call the same
coverPhoto lib, the removeFn has to be in the user client js,
and not in the coverPhoto lib.

... of course, it *could* be in there, but it would be hacky.
2015-11-06 10:37:42 -05:00
Julian Lam
f1412b6e9b Fixed cover loading for subdirs and added removal
re: #3832
2015-11-05 15:49:41 -05:00
barisusakli
54901afe5e removed toggleNew 2015-11-05 14:49:03 -05:00
barisusakli
46c2563164 removed rooms.js removed browsing users, removed chat syncing across sockets
use lastonline for online detection
2015-11-05 12:34:39 -05:00
Julian Lam
3314ab4b83 fixes #3809 2015-11-02 23:10:03 -05:00
psychobunny
b9316bfd23 removed alert.location 2015-11-02 12:24:23 -05:00
psychobunny
1982501985 toaster components + deprecated alert.location 2015-11-02 12:23:37 -05:00