1314 Commits (113d3324fbf01c751730f106dfb475233fee4957)

Author SHA1 Message Date
Julian Lam f7f5b2c8d9 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam 802878c371 Merge pull request #5455 from pichalite/cropper
Make cropper in to a module
8 years ago
barisusakli e009ce5609 closes #5443 8 years ago
Peter Jaszkowiak c75391f9f5 Sound system improvements
- Fix sound ACP uploads
- Display soundpack names with sound files
- Soundpacks can have sounds with identical names
- Link sounds during build step
- Generate map of sound name to file name during build step
- Change how soundpacks work. It's now done via a field in plugin.json
8 years ago
pichalite 2ca8f60e77 Finalize cropper module 8 years ago
pichalite d784a8dce8 Restore uploader.js 8 years ago
pichalite 43f4d9819e Linting 8 years ago
pichalite 484891472e Make cropper in to a module 8 years ago
Julian Lam 8a0a74d95e Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam b5daedb7a3 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Peter Jaszkowiak bb1bfb0449 Merge branch 'master' into assets-route 8 years ago
Julian Lam bfd16d188e Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 360a35d0a6 Resolve merge conflicts 8 years ago
pichalite de28ff5d43 Ability to crop profile images before uploading 8 years ago
Peter Jaszkowiak bb7a35b85c Fix translator catching JS errors in callbacks 8 years ago
barisusakli f1f00b63fb closes #5400 8 years ago
Julian Lam 7414482753 Merge branch 'master' into develop 8 years ago
Julian Lam 05c724de30 added new hook for messaging teaser retrieval, and casting input as String before execuring stripTags templates helper 8 years ago
barisusakli 33e452cc8e fix lint 8 years ago
barisusakli 0b95eab71e use roomName if availabe in taskbar
if room is renamed update title on taskbar
8 years ago
Julian Lam 73879b824c Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 05b68391dd Use `/assets` for client assets
- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
8 years ago
Peter Jaszkowiak e1a29f4aa8 Switch to `assets` route 8 years ago
Peter Jaszkowiak b4b3be3d97 Cache bust translations, query param name 8 years ago
Peter Jaszkowiak 2f07c18c5a All hail the glorious translation prebuilding 8 years ago
Julian Lam 43056a4bfa Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak ffa2bd14f8 Fix reverse proxies breaking admin translations 8 years ago
Julian Lam 2c6beb9ffb Merge branch 'master' into develop 8 years ago
Barış Soner Uşaklı aa32e7b359 fix indents 8 years ago
loopback0 a86134cc5b Fix selection
Tweak to allow the shift + click behaviour for the checkboxes while still letting the browser behaviour work
8 years ago
Julian Lam 3861b2dd80 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Anil Mandepudi 8ddf7eb922 Use scrollStop in chat (#5326) 8 years ago
Julian Lam db20df0110 Merge branch 'master' into develop 8 years ago
Julian Lam a8521d0349 remove double-click to mark all notifications read 8 years ago
Julian Lam c640bdf2b9 Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak bae1daf5dc Bootbox wrapper improvements 8 years ago
Peter Jaszkowiak 0b4c39338e Translation bootbox wrapper
- Replaced minfied bootbox file with unminified one since it's minified at build anyways
- Removed existing override
- Made translator more verbose in dev mode; it now warns about missing translations
8 years ago
barisusakli 1fed01fe43 ability to filter search by tags 8 years ago
Julian Lam 76bcc1c327 Merge branch 'flagging-refactor' into develop 8 years ago
Barış Soner Uşaklı 4ff3d06f90 escape labelColor, icon, cover:position, validate toPid 8 years ago
Julian Lam 451c2838d0 Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
Peter Jaszkowiak bb5fe0cc83 Escape arguments in `Translator.compile` 8 years ago
Peter Jaszkowiak a81aad61ab Add tests for translator static methods 8 years ago
Peter Jaszkowiak 7c697759e9 Escape and ignore `%` and `\,` in translator args 8 years ago
Julian Lam 5d63c0aa3b Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 8 years ago
psychobunny 6b7b51eaf0 Merge pull request #5170 from pitaj/master
ACP search updated to support translations
8 years ago
Stuart Williams cafc5cd891 closes #5259 8 years ago
Peter Jaszkowiak 5843e8dd77 Fix Translator to work with namespace paths 8 years ago
Peter Jaszkowiak 5223bb5191 Merge branch 'master' of github.com:nodebb/nodebb 8 years ago
barisusakli 2291899f4f show chat room title in taskbar 8 years ago
Peter Jaszkowiak de6ced4e07 Tests for admin search, simplifications 8 years ago
Peter Jaszkowiak c5237443cd Standard language codes (#5218)
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
8 years ago
barisusakli 1a9dd2311c closes #5175 8 years ago
barisusakli ff08cbf677 replies to posts 8 years ago
Peter Jaszkowiak 2824ce5587 Translator modules (#5135)
* Translator modules

* Fix language not being passed on creation

* fix test failures
8 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
8 years ago
Julian Lam 9a0d81ef6b closes #5152 8 years ago
Julian Lam 9f226b2305 LINT :rage2: 8 years ago
Julian Lam 42b01060d7 up themes, allow chat modal to be minimised 8 years ago
psychobunny ad52d1a1aa latest chats design 8 years ago
Peter Jaszkowiak f519a36560 Fix #5112, translator now accepts keys with `/` (#5114) 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 8 years ago
HeeL 9a0d764bbd Fix wrap-iife linter rule 8 years ago
Peter Jaszkowiak 2ce33ba2b0 Fix #5102, translator made more safe (#5106) 8 years ago
Barış Soner Uşaklı 83a817a221 use navigator selector 8 years ago
barisusakli 6f86621e30 closes #5096 8 years ago
Anil Mandepudi dbbc24fab3 remove reference to undefined function 8 years ago
barisusakli aca0a893e7 remove since properly 8 years ago
barisusakli 0da9bf2698 remove since in chat 8 years ago
barisusakli a93ee97926 closes #5073 8 years ago
barisusakli 5c70e503aa closes #5022 8 years ago
barisusakli 1866f93e9c closes #5045 8 years ago
barisusakli 33306f6236 show stack on error 9 years ago
barisusakli 55396ca442 inf scroll in chat-content 9 years ago
barisusakli 202edfa47e chat history access 9 years ago
barisusakli e69ff93a49 dont translate non strings 9 years ago
barisusakli 9ba3612895 remove winston 9 years ago
Peter Jaszkowiak 59ed13b581 Rewrite translator for efficiency and clarity (#5013)
* Rewrite translator for efficiency and clarity

* Fixed failing tests

* Gorram tabs

* Move cache to Translator class, simplify creation

* Documentation and linting

* Use new translator API where it makes sense

* Revert 499fbe21fdd5b7f2735a27e76a300f69039cfbd3 (except translator.d.ts)

* promise polyfill for node<4

* Set `load` on the prototype

* Comment on Translator#translate

* Delete translator.d.ts

* Support translations added by plugins
9 years ago
Julian Lam 80d89a086e fixed issue where NodeBB was trying to JSON.parse [object Object]
re: #4982
9 years ago
Julian Lam bb80dc360e closes #4982 9 years ago
Julian Lam c9c60ef8ed fixes #4982 9 years ago
barisusakli 56f863e5b8 remove :rage2: console.log 9 years ago
barisusakli 8868668daa fix navigator displaying wrong index
related to #4998
9 years ago
barisusakli b84f36cc20 fix navigator method not getting removed 9 years ago
barisusakli 240682563d fix index error 9 years ago
barisusakli fea2267b58 fix navigator.scrollToPost()
pagination and alternate sort page calculation
9 years ago
barisusakli a9e4add8d2 closes #4998 9 years ago
barisusakli 6d34bb4657 closes #2166 9 years ago
Julian Lam 785f4fc5a0 updating to jQuery 3.x on frontend and ACP 9 years ago
barisusakli 276031cd6f closes #4585, closes https://github.com/NodeBB/nodebb-theme-persona/issues/299 9 years ago
barisusakli 84f88a6f15 refactor user search
use pagination on results
removed infinite scroll
changed the term and section to use the query param as well
pagination urls respect search
9 years ago
Ben Lubar 598935b3bf
Fix null object in search for users with no preferences set.
localStorage.getItem returned null, and JSON.parse(null) is null.
9 years ago
Julian Lam 8d745ceb07 moving chat dropdown generation to tpl /cc @pichalite 9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
barisusakli d43c19c173 closes #4952 9 years ago
Barış Soner Uşaklı b0c55c86ed Merge pull request #4842 from acardinale/master
Added new core component for topic with tid
9 years ago
Julian Lam e02134f981 closes #4911 9 years ago
Julian Lam e7386e20cf closes #4505 9 years ago
psychobunny 9e17d64d29 allow categories to choose "no icon" 9 years ago
barisusakli bb7303834f remove csrf r.js module 9 years ago
barisusakli 9dd8572b98 don't crash if anchorEl doesn't exist 9 years ago
acardinale 9321e565ad Added new core component for topic with tid
Added new core component for topic with a specific tid
To use
```javascript
var topicContainer = components.get('topic', 'tid', tid);
```javascript
in a view with more topics / posts
9 years ago
Julian Lam 7563873bd4 Merge branch 'master' of github.com:NodeBB/NodeBB 9 years ago
barisusakli 9a19f61372 closes #4817 9 years ago
Julian Lam b4df9427d5 linting 9 years ago
barisusakli 4bbc8110a9 closes #4772 9 years ago
barisusakli 0d4949ea26 parts not used 9 years ago
pichalite 62fb092099 change post sharing to use /post/pid url 9 years ago
Leonardo Vieira e4afa67956 allow resizing chat from left/top as well 9 years ago
Julian Lam 34f2d25651 fixes #4696 9 years ago
Timothy Fike 6a4754efca Set switches appropriately on plugin settings pages. (#4521) 9 years ago
lex(a) mourek 2a7732789d Fixed czech translation for timeago (#4622)
When czech language is set, browser throws 404 Not Found error on jquery.timeago.cz.js
Thats because translation file were renamed 
81f072ebb2
https://github.com/NodeBB/NodeBB/blob/master/public/vendor/jquery/timeago/locales/jquery.timeago.cs.js

so that cs->cz override is no needed anymore.
9 years ago
Julian Lam 621e0d145e closes #4617
Serving english timeago strings from server instead of round-trip
re-request on failure.
9 years ago
Julian Lam 39d9be787e fixes #4614 9 years ago
barisusakli decd853507 closes #4602 9 years ago
barisusakli b493b81dbd fix crash if category or children is invalid 9 years ago
barisusakli eb0aea6390 add /user/<uid> and /post/<pid> redirects
change notifications to use new redirects
9 years ago
barisusakli 7365b9cc73 more chat refactors 9 years ago
Julian Lam b2b99ce9f9 added new core component for topic teaser
/cc @rbeer
9 years ago
Barış Soner Uşaklı fecda8c051 Merge pull request #4286 from pichalite/chat-dropdown
don't show rooms without messages
9 years ago
Raphael Beer ee2c178f2a Don't add .undefined if selection is empty 9 years ago
Raphael Beer c9b2011a11 Set input#fa-filter value to name of selected icon
- Set selected icon before modal is visible.
- Select input#fa-filter content to allow
  immediate typing/searching.
9 years ago
Raphael Beer aaef2d4362 Use modal Element as traversing root 9 years ago
Raphael Beer ff2ca0f786 Add changeSelection to iconSelect 9 years ago
Raphael Beer dca9218ee9 Add .selected to currently set icon in modal 9 years ago
barisusakli 19bc6fa133 fix undefined callback in sounds 9 years ago
Julian Lam 430adc366c fix #4498 9 years ago
Julian Lam 94a505a6bb removed symlink logic and using route bridging instead.
Also allowed plugins to define modules from their plugin.json
9 years ago
Julian Lam f91f705f90 Merge branch 'master' into fix-vendors 9 years ago
Barış Soner Uşaklı 8d86aecc83 Merge pull request #4479 from rbeer/ulModal-localSize
Check file size locally.
9 years ago
Raphael Beer 58cc25e385 Set default hasValidFileSize return to true 9 years ago
Julian Lam 1385d19f64 Further tweaks to viewport shuffling and dynamic image loading
@BenLubar
9 years ago
psychobunny a978f763e3 fixes crash https://github.com/NodeBB/nodebb-theme-persona/issues/250 9 years ago
psychobunny 6a74589e31 closes https://github.com/NodeBB/nodebb-theme-persona/issues/250 9 years ago
barisusakli 5fa6686112 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/src/modules/navigator.js
9 years ago
barisusakli 3a27e7b0ea closes #4405 9 years ago
Raphael Beer ff09789812 Check file size locally. 9 years ago
Julian Lam 31e70ac5a8 applying threshold detection only to topics
re: #4477
9 years ago
Julian Lam cc60767eb0 removed console logging 🐶 9 years ago
Julian Lam add82ba6c9 Added threshold detection when scrolling upwards
... for less jolty upwards scrolling.
9 years ago
Julian Lam 3e2231d2cb Fixing viewport shuffling due to image load
Introduced new method ".loadImages()" in posts client side lib
to handle viewport height changes when loading images. Requires
nodebb-plugin-markdown@5.0.0

@BenLubar @boomzillawtf
9 years ago
Julian Lam 5d4f61ec96 Tweaked scrollToPostIndex logic
The old behaviour would scroll the post anchor to the midline, but
this was inferior UX for long posts since the top half of the
screen is essentially stuff you didn't want to see.

The new logic is as follows:
- If the target post is smaller than the browser viewport, it will
  scroll in such a way that the entire post is vertically centered
  (post midline matching viewport midline)
- If the target post is larger than the browser viewport, it will
  scroll in such a way that the top of the post is located just
  under the navbar, maximizing the target post's content.
- Updated themes to relocate their anchors to in between posts
9 years ago
psychobunny 0c1376c884 closes #4390 9 years ago
barisusakli 56ef1e9869 closes #4444 9 years ago
barisusakli e2f78a9585 closes #4432 9 years ago
psychobunny 489bdcced6 #4423 9 years ago
psychobunny 3e14606226 added roomId to match the other hook 9 years ago
barisusakli c9cfe5b089 closes #4355 9 years ago
Julian Lam b73af30a2b added git ignore file for modules directory 9 years ago
barisusakli 3981e230c4 category children helper 9 years ago
barisusakli d67ec1d096 fix indent 9 years ago
barisusakli 05cc3fe4ef closes #4335 9 years ago
barisusakli c156d1cb34 closes #4344 9 years ago
barisusakli 07c1a822db closes #4318 closes #4309 9 years ago
barisusakli b2b104dab3 closes #4306 9 years ago
barisusakli a67f3d2a15 closes #4299 9 years ago
barisusakli 4b5ec512b9 refactor/cleanup uploader.js 9 years ago
barisusakli 65dda58e0c renamed tpl 9 years ago
barisusakli df9558f1fa closes #4268 9 years ago
pichalite cd99a46918 don't show rooms without messages 9 years ago
Barış Soner Uşaklı 3e46ef8c35 closes #4276 9 years ago
Julian Lam 44aae7daa5 removed hammer, updated semver, added mousetrap 9 years ago
pichalite 5f6a1a0acd complete fixes for #4144 9 years ago
psychobunny a320ec3efb closes #4178 9 years ago
psychobunny 9e832e006a closes #2920 9 years ago
barisusakli 8bc80abde6 removed notify typing code, not even working 9 years ago
barisusakli 3567f2ad55 closes #4208 9 years ago
pichalite eba107cef4 fix Mac platform case 9 years ago
Julian Lam 322d4052b0 chat controls now hidden instead of taking up space in chat modal 9 years ago
Julian Lam 3b76b0343b Revert "fixes NodeBB/nodebb-theme-persona#218"
This reverts commit ee529d92d3.
9 years ago
Barış Soner Uşaklı 88e4591f88 closes #4194 9 years ago
barisusakli bc9c564650 closes #4169 9 years ago
barisusakli d7df6c0b06 remove more from config 9 years ago
psychobunny 46cfd03465 closes #4144 9 years ago
Ole R 91ec4c80c2 Oops, fix call of undefined 9 years ago
Ole R 2bcd4e1e3f Fix undefined S within translator
If you `require(['string'], function (stringLib) { S = stringLib; })` it is an async call and thus you need to ensure any usage of `S` happens when this is resolved.
9 years ago
barisusakli 5e86d9f804 closes #4131 9 years ago
barisusakli c2e1426e57 fix syntax error, and actually show error if minification fails 9 years ago
barisusakli ae8837b44a generate notification path on demand 9 years ago
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.
9 years ago
Julian Lam 5de0e74908 Notification paths are now sent back in socket call, so client-
side alert now shows more data and is clickable.
9 years ago
Julian Lam 32466d8bb1 tweaked paginator block to toggle when text is updated, and use ready class instead of invisible 9 years ago
Julian Lam 99315e1c73 updated translator so that language key parameters cannot contain
html in them (or more specifically, < and >)
9 years ago
Julian Lam f1ed3ad659 allowing favicon updating to be disabled via client side hook 9 years ago
barisusakli 24c56eb80a switch topic select to components 9 years ago
Julian Lam 2cabf7a3d1 Merge pull request #4066 from pichalite/master
fixes NodeBB/nodebb-theme-persona#218
9 years ago
Julian Lam f18382a892 firing client-side hook on notification count update now 9 years ago
Julian Lam 2d48faf5df Fixed #4033
Also related to regression first caused by the fix to #3695 from
fcb381f922

Also, added tests for translator. omg.
9 years ago
barisusakli 92b339ff1d much whitespace so wow 9 years ago
pichalite ee529d92d3 fixes NodeBB/nodebb-theme-persona#218 9 years ago
barisusakli 46f2faaa05 closes #4045 9 years ago
barisusakli 222ef14d7f added chat:autocomplete:init 9 years ago
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.
9 years ago
barisusakli 51154c8726 closes #3998 9 years ago
barisusakli 6be8675580 closes #4012 9 years ago
barisusakli f8a114ba5c closes #4010 9 years ago
barisusakli 687d29a44b closes #2134 9 years ago
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
9 years ago
barisusakli abed319da2 closes #3996 9 years ago
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
9 years ago
barisusakli f0b333e8a1 closes #3929 9 years ago
barisusakli 26ac05dd5c Merge remote-tracking branch 'refs/remotes/origin/master' into group-chat 9 years ago
Julian Lam a091067175 closes #3963 9 years ago
barisusakli 3d79e0750b fix edit delete for rooms 9 years ago
barisusakli 992ca0a351 fix taskbar icon 9 years ago
barisusakli d2b54ae0f8 display less derpy chat list 9 years ago
barisusakli f71fd0a3ec only allow users in the room to get raw message content 9 years ago
barisusakli d8810ceae9 send messages 9 years ago
barisusakli 784ff07907 ability to add/remove users from chat rooms, tagsinput 9 years ago
barisusakli 29d8b9c181 more room changes app.openChat 9 years ago
barisusakli 58d05f7c79 recent chat list with rooms 9 years ago
Julian Lam 7b49dc9061 fixes #3935 9 years ago
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.
9 years ago
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.
9 years ago
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
9 years ago
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.
9 years ago
barisusakli 20c8411287 closes #3767 closes #3774 9 years ago
Julian Lam 93c077dabd closes #3825 9 years ago
Julian Lam 8a90afeed2 fixes #3859 9 years ago
barisusakli 3bd83cd732 remove dupe code 9 years ago
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.
9 years ago
Julian Lam f1412b6e9b Fixed cover loading for subdirs and added removal
re: #3832
9 years ago
barisusakli 54901afe5e removed toggleNew 9 years ago
barisusakli 46c2563164 removed rooms.js removed browsing users, removed chat syncing across sockets
use lastonline for online detection
9 years ago
Julian Lam 3314ab4b83 fixes #3809 9 years ago
psychobunny b9316bfd23 removed alert.location 9 years ago
psychobunny 1982501985 toaster components + deprecated alert.location 9 years ago
psychobunny ad0a7e0cb2 upping themes 9 years ago
psychobunny ec434dfe95 user/picture component 9 years ago
Julian Lam 526afc0910 Merge remote-tracking branch 'origin/master' into user-icons 9 years ago
psychobunny 02d1304185 removing groups.cover.get, seemingly it doesn't do anything 9 years ago
psychobunny 973da9bdcc up persona 9 years ago
psychobunny a4cae65732 fixed hardcoded group name in uploader + cleanup 9 years ago
psychobunny ef20141e8f jshint 9 years ago
psychobunny a6796479bf fixed drag and drop image upload 9 years ago
psychobunny 61b1f5fe32 allow regular uploading (modal) of cover photo 9 years ago
psychobunny 69e43cd35a modularized coverPhoto 9 years ago
Julian Lam 68c3f9d849 Squashed commit of the following:
commit 56582bc9eee5d81a01f42a28808b617b9c96873a
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 05:21:11 2015 -0400

    added missing template

commit 6462a1626e7d8d77210b6e10eace5c9214335f33
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 05:19:07 2015 -0400

    sitemap index

commit 3cfd56f1fbc8e03405dc394375bf5ff6eef21322
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 04:47:52 2015 -0400

    sitemap routes, controllers, and library methods for pages, categories, and topics

commit e58e07c0881bdbe16d503b4679b85f761b02163c
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 04:07:39 2015 -0400

    added groups to sitemap

commit 7ee584b632
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 01:43:06 2015 -0400

    If notification dropdown is double-clicked, all notifications are marked read

commit 488f147bef
Author: barisusakli <barisusakli@gmail.com>
Date:   Mon Oct 26 22:39:19 2015 -0400

    closes #3781

commit 5e1bd58a02
Author: barisusakli <barisusakli@gmail.com>
Date:   Mon Oct 26 22:28:30 2015 -0400

    closes #3782

commit 57d3980267
Author: barisusakli <barisusakli@gmail.com>
Date:   Mon Oct 26 22:16:08 2015 -0400

    closes #3790

commit 555c5b82da
Author: barisusakli <barisusakli@gmail.com>
Date:   Mon Oct 26 21:19:20 2015 -0400

    check user settings

commit 5454862c1c
Author: barisusakli <barisusakli@gmail.com>
Date:   Mon Oct 26 20:26:02 2015 -0400

    wait for all callbacks when creating tags

commit 051c5077eb
Merge: 839fd93 e0e04ef
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Mon Oct 26 09:54:12 2015 -0400

    Merge pull request #3792 from drlogout/master

    Fixed wrong method name in socket.io/groups.js from isAdmin to isAdmi…

commit e0e04ef892
Author: Christian Nolte <hello@noltech.net>
Date:   Mon Oct 26 14:50:32 2015 +0100

    Fixed wrong method name in socket.io/groups.js from isAdmin to isAdministrator

commit 839fd935ad
Author: barisusakli <barisusakli@gmail.com>
Date:   Sun Oct 25 21:54:35 2015 -0400

    add back thread tools filter

commit 37060bf1a3
Merge: 5820a19 bf918bd
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Sun Oct 25 18:13:06 2015 -0400

    Merge pull request #3787 from cubehouse/patch-1

    Upgrade script fails on some consoles

commit 5820a193f6
Author: barisusakli <barisusakli@gmail.com>
Date:   Sun Oct 25 17:04:46 2015 -0400

    closes #3789

commit 0d88d52557
Author: barisusakli <barisusakli@gmail.com>
Date:   Sun Oct 25 17:03:33 2015 -0400

    up theme

commit 9bc43ba5e1
Author: barisusakli <barisusakli@gmail.com>
Date:   Sun Oct 25 16:57:42 2015 -0400

    closes #3788

commit aafd4b6984
Author: barisusakli <barisusakli@gmail.com>
Date:   Sun Oct 25 15:56:17 2015 -0400

    closes #3786

commit bf918bd016
Author: James Holding <cubehouse@users.noreply.github.com>
Date:   Sun Oct 25 10:14:00 2015 +0000

    Upgrade script fails on some consoles

    The upgrade script errors/fails on some consoles if the stdout.columns isn't set (my console did this when upgrading a Docker instance of NodeBB).
    Checking for stdout.columns before using, falling back to a couple of spaces for slightly prettiness if we can't work out the console width.
9 years ago
Julian Lam 7ee584b632 If notification dropdown is double-clicked, all notifications are marked read 9 years ago
Julian Lam b52475c270 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/client/account/edit.js
	src/middleware/middleware.js
	src/socket.io/meta.js
	src/socket.io/user/picture.js
	src/user.js
	src/views/admin/manage/group.tpl
9 years ago
barisusakli 02abcf0da7 add newlines tabs to meta and link tabs 9 years ago
barisusakli 74b02ee096 dont crash if item is undefined 9 years ago
barisusakli c426c7288f find closest to middle in navigator 9 years ago
barisusakli 5e5cafafd0 make one socket call to load unread counts 9 years ago
barisusakli edf545cd2c dont load sound data on cold load 9 years ago
barisusakli 6b1834d4ae closes #3767 9 years ago
barisusakli d351d01490 fix sort on category page 9 years ago
barisusakli 2d96cdba1c closes #3720 9 years ago
Julian Lam 4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
9 years ago
barisusakli fcf411a72b small fixes 9 years ago
barisusakli 848a14d861 fix typo 9 years ago
barisusakli 89439f2c14 fix upload hide 9 years ago
barisusakli d4206c047d select by class 9 years ago
Julian Lam 97dd5500a1 Merge remote-tracking branch 'origin/master' into user-icons 9 years ago
barisusakli ca294fc6ec closes #3663 9 years ago
psychobunny 714efd0d0e scrollToPost / scrollToPostIndex offset isn't used anymore 9 years ago
psychobunny 81b3ae2597 cleanup 9 years ago
psychobunny 4c4d560f64 fixed f5 from in the middle of a big topic 9 years ago
psychobunny e9d3f4278d IS improvements
* simplify calculation (scrollTop vs elementInView)
* use post anchor rather than create big $ objs from post html
* pressing f5 repeatedly now always takes you to the correct pid
9 years ago
Julian Lam 730a62519f Merge remote-tracking branch 'origin/master' into user-icons 10 years ago
barisusakli d8c9c8d447 dont crash on null category
#3681
10 years ago
Julian Lam e46496012a chat dropdown 10 years ago
Julian Lam f6d5b52a8b WIP user-icons 10 years ago
barisusakli 1dc93f2446 closes #3677 10 years ago
barisusakli 30bc401797 parse upload picture modal on demand 10 years ago
barisusakli c3a6b11939 fix first reply insertion 10 years ago
Julian Lam ebed9d641c Add new ACP option to upload Touch Icon, #3668
Also added a number of fixes for mobile enhancements, such
as serving a manifest.json file for Android devices, and
serving proper link tags for all uploaded touch icons.

This commit also creates a new template helper for link tags.
10 years ago
psychobunny 1dbfa65bc5 closes #3655 10 years ago
Julian Lam fa109241cc Update fontawesome picker module (iconSelect)
- Removed 'fa-doesnt-exist' icon
- Added a icon filter search input
- Added a "No Icon" button at the bottom
- Added link back to full FA list
- If icon is picked, it shows the icon class in the search input
10 years ago
barisusakli da9a6ba399 missing ; 10 years ago
barisusakli 0a9f82e30d removed some dupe code from chats 10 years ago
barisusakli 2f94307125 removed duplicated code in chats 10 years ago
barisusakli 1e3391ff12 closes #3617 10 years ago
barisusakli 501bfbfc47 closes #3611 10 years ago
barisusakli 22d6ceab59 closes #2427 10 years ago
barisusakli 0cac0692b6 closes #3532 10 years ago
barisusakli ad685a0147 fix function in loops 10 years ago
barisusakli a1c407acd0 closes #3530 10 years ago
psychobunny d5cc37b166 notifications/list and notifications components 10 years ago
psychobunny 30c1001e5d #3522 also for settings v2 10 years ago
barisusakli 794c218cb6 fix displayMenuItem 10 years ago
barisusakli 6810b529c9 prevent infinite loop on topic scroll to bottom 10 years ago
psychobunny 82d39753b7 hint 10 years ago
psychobunny b10a7d4410 notifications/icon component 10 years ago
psychobunny e9a42cdecb fixed notifications on deskto 10 years ago
psychobunny a44f467ebc Notifications.loadNotifications() 10 years ago
psychobunny a663f95669 chats.loadChats() 10 years ago
psychobunny 306964b4ea chat/dropdown and chat/list component 10 years ago
psychobunny d75f5574e0 #3499 10 years ago
psychobunny 6c44db9a0c closes #3490 10 years ago
Julian Lam 3b3c383d93 adding a fallback for en_GB and en_US 10 years ago
Julian Lam 3d9415b65e Fixes #3442 10 years ago
barisusakli 5e3e1f8781 #3430 10 years ago
barisusakli 6e630b3cfd closes #3434, thanks to @psychobunny 10 years ago
Julian Lam 1b812068ca Fix bug where translator would split on all colons, and not just the first 10 years ago
Julian Lam 53a1e6106e Fix bug where an empty chat message would appear in the chat modal 10 years ago
Julian Lam 98b74f848e Fix newSet detection on chat messages 10 years ago
Julian Lam 2593f1b4d9 Fix bug where new chat messages would not append
... due to incorrect class and id assignment of the chat modal. Regression was caused by an earlier commit that moved the
typing span elsewhere.
10 years ago
Julian Lam 60a6775c72 Changed behaviour of the Chat Typing Notification
Instead of being placed at the bottom of the modal/list,
it will now be displayed at the top of the modal, and not
shown in the chats page at all (as it is already present
in the contact list)
10 years ago
Julian Lam eac92b00c6 better error checking with socket broadcast method 10 years ago
Julian Lam 6348eb2bab fixed #3359 10 years ago
Julian Lam 4f4e33eb15 Merge branch 'pichalite-master' 10 years ago
Julian Lam eb5be2f671 fixed some whitespace issues and made the admin check return early, in its own block 10 years ago
Julian Lam d10fd6248e Merge branch 'master' of https://github.com/pichalite/NodeBB into pichalite-master 10 years ago
Axel 9c2d7a2468 new language keys 10 years ago
Julian Lam 474ff3ed35 fixed #3359 10 years ago
pichalite d2bbca1de1 don't display leave/join buttons for admin group 10 years ago
Julian Lam ee9390ee34 fixed #2949 10 years ago
pichalite a5226c9423 don't display "Leave Group" button for admins in "administrators" system group on groups details page 10 years ago
barisusakli 954c25823e closes #3352 10 years ago
psychobunny fdc66eb607 fixes checkboxes for settingsv2 (deja vu) 10 years ago
Julian Lam 0c6b2b122e fixed #3268 10 years ago
Julian Lam b2a69758ee added back multi-line support for translator 10 years ago
Julian Lam eaa35c8057 making translator regex stricter, so it doesn't match language strings that won't ever exist 10 years ago
Julian Lam 534b13e089 fixed bug where ephemeral groups and the registered-users group wouldn't show in in ACP/category details page for privileges. 10 years ago
psychobunny 541fd474b3 fixes checkboxes for both settingsv1 and settingsv2 10 years ago
Barış Soner Uşaklı 4fc4a0ff3e dont escape group.name, use displayName in tpls instead 10 years ago
Barış Soner Uşaklı a12ecbc230 admin/manage/groups pagination 10 years ago
Julian Lam b4e39374bb firing 'change' event for all checkboxes after settingsv2 load 10 years ago
barisusakli ffd22f50ff closes #1999 10 years ago
Julian Lam 48af82659e removing the composer from core, out to its own plugin: nodebb-plugin-composer-default, closes #3288 10 years ago
psychobunny 5ff9a7f9a9 allow multiline support for translator
see: https://github.com/psychobunny/templates.js/issues/36
10 years ago
barisusakli b89b4d066a max chars 10 years ago
barisusakli 1d72a8f0ee fix composer redirect on home page 10 years ago
barisusakli 0ef2ccc130 closes #3240 10 years ago
barisusakli 536c443c1e closes #3231 10 years ago
barisusakli 1bbce82c23 duh #3192 10 years ago
barisusakli 8ff7ba82c2 closes #3192 10 years ago
psychobunny 28e1ae46c7 woops, committed some testing code by accident 10 years ago
psychobunny 7564881298 don't minify files in /client
adds an extra call to the client/route.js file on cold load but cuts a
ton of extra weight in nodebb.min.js
10 years ago
psychobunny f8b3282295 closes #3141 10 years ago
Julian Lam 17ff083cc6 passing in available composer data into the composer.loaded client-side hook 10 years ago
Barış Soner Uşaklı b717da0229 Merge pull request #3110 from pitaj/master
Fixed translator backwards compatibility issue
10 years ago
barisusakli 045d9df81f closes #3203 10 years ago
Julian Lam 8f7416d1cb updated acp category privilege settings so that not all groups are shown in privilege table, closes #3036 10 years ago
psychobunny f698d28dfb one last fix for #3169 10 years ago
psychobunny 7b81c5db9f #3169 10 years ago
psychobunny 79fd5a4d8e closes #3169 10 years ago
psychobunny 63a2a20fd3 remove the old history.pushState hack for mobile composer 10 years ago
psychobunny 55bed3464e if mobile, go to /compose route #3090 10 years ago
Ole R. 22e227a6cd fixed error-report within translator.js
reported by [rex-huang](https://community.nodebb.org/user/rex-huang), see https://community.nodebb.org/topic/4520/error-handling-is-wrong-in-translator-js
10 years ago
barisusakli b292aeea72 closes #3120
also dont allow loading posts of a topic if its deleted via
topics.loadMore
10 years ago
Peter Jaszkowiak ad7b561dd4 Fixed translator backwards compatibility issue
Also removed the _clearMenus global object because populating the global namespace is bad, bad, bad
10 years ago
psychobunny 533193fa79 send in data to action:taskbar.pushed as well 10 years ago
psychobunny 1556365712 call taskbar.push regardless of whether it's a new chat or not
there's logic in taskbar.push to not create the element anyways
10 years ago
psychobunny c13e14d2c8 pass in element to filter:taskbar.push; taskbar.push cleanup 10 years ago
Barış Soner Uşaklı 21b634e03f closes #3081 10 years ago
Julian Lam 15265bf36e Merge pull request #3071 from yariplus/settingsobject2
Enhance settings object plugin
10 years ago
Julian Lam 5a0ea28633 better fix for #3040 10 years ago
barisusakli 72f80dd330 closes #3052 10 years ago
barisusakli dd92b06f16 #3064 10 years ago
yariplus 9d3a9f4493 Enhance settings object plugin
Use an array to declare the object properties so that the order is always the same.
Add a data-new attribute for individual properties. (You can still use a whole object in the data-new attribute of a parent array.)
Add data-prepend and data-append attributes to properties for inserting html before or after that property. (This may also be useful for the array plugin.)
10 years ago
Julian Lam 821c9f12d6 updated scrollToPost behaviour to no longer ajaxify loudly. Also updated call to checkPagePresence to fire before the topicDOM events begin, so if an in-topic search is conducted on a different topic from the current topic, the topicDOM behaviour continues. closes #3040 10 years ago
Julian Lam 65b2523b0f closed #3050 10 years ago
barisusakli da5909349b closes #3053 10 years ago
psychobunny 5d04cd0bef ability to add class to taskbar; new action hook; send touid in chat 10 years ago
psychobunny 23c4ecfe60 filter:taskbar.push
not really a filter, but does the job as long as its synchronous
10 years ago
Julian Lam 5587233e78 fixed quoting and highlighted-text auto-quote for composer when composer is minimized, closes #2870 10 years ago
psychobunny 1d94b6a96f closes #3000 10 years ago
Julian Lam ee7d356781 Merge pull request #2825 from yariplus/settingsobject
Add object setting plugin
10 years ago
Barış Soner Uşaklı c9b5948034 closes #2927 10 years ago
Julian Lam 2000947cd6 fixed #3030 10 years ago
barisusakli 8c7ded3062 closes #3026 10 years ago
barisusakli cf825d02b7 escape title 10 years ago
psychobunny 3ec99b8021 #3011 10 years ago
psychobunny 1201425db2 hint 10 years ago
psychobunny e78fc98146 cross-browser support for composer resize animation 10 years ago
psychobunny 4d414d0b63 .category-box and .post-preview now components 10 years ago
barisusakli 427dda654a temp fix for #2994 10 years ago
psychobunny 59909894fc closes #2981 10 years ago
psychobunny f601bdee5e Merge branch 'master' of https://github.com/NodeBB/NodeBB 10 years ago
psychobunny 97419bbdd9 closes #2980 10 years ago
barisusakli b2fad172e5 closes #2966 10 years ago
Barış Soner Uşaklı 5fda8422c5 fix focus 10 years ago
barisusakli 0d515803e4 fix post edit 10 years ago
barisusakli 9d026919ac closes #2953 10 years ago
Barış Soner Uşaklı dadbda98b7 closes https://github.com/NodeBB/nodebb-theme-persona/issues/52 10 years ago
barisusakli 5f2271e4e0 closes #2903 10 years ago
barisusakli 0d839bdb2c parantheses 10 years ago
psychobunny 7563e9aba1 added localStorage for preview toggled state 10 years ago
psychobunny e1ff3deaf0 move preview toggle function into composer/preview.js 10 years ago
psychobunny bc4e5371d7 Merge pull request #2907 from MegaGM/fixcategory.images
fix: category images (helpers.generateCategoryBackground)
10 years ago
psychobunny 232d1aae31 helpers.getBookmarkFromIndex 10 years ago
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global 10 years ago
Julian Lam 16c6578bdb updated components to be a require.js module, not a global (:rage2:) 10 years ago
Julian Lam c706638b5d updating groups access control so:
1. Guests can no longer receive the moderate bit
  2. If you attempt to grant the moderate privilege to a public group, a confirmation modal appears
  3. A lock icon is present next to all private groups
10 years ago
barisusakli d27ec057c5 closes #2910 10 years ago
Julian Lam d249a46fae fixed around event handling for composer submit button, and upped vanilla minver 10 years ago
barisusakli 65bdeba385 helpers.js fix maybe 10 years ago
Mega 8b48a1e3af fix: category images (helpers.generateCategoryBackground) 10 years ago
psychobunny 7c7b43d295 semicolon 10 years ago
psychobunny 789418f987 stripTags and escape template helpers
use it like so {function.stripTags, title}
see vanilla or persona topics_list.tpl for more info
10 years ago
Julian Lam d95f5a9ae0 added help block to category purge button, updated iconSelect library to use templates in a better way, hooked up iconSelect for category mgmt, #2463 10 years ago
Julian Lam 9b84a887d3 a huge frickin' number of changes for #2887. This is part of #2463 10 years ago
Julian Lam a1621145d5 Merge branch 'master' into categories_revamp
Conflicts:
	public/less/admin/admin.less
	public/src/admin/manage/categories.js
	src/controllers/admin.js
	src/views/admin/manage/categories.tpl
	src/views/config.json
10 years ago
psychobunny d39c2924e4 found a rogue topic class selector 10 years ago
barisusakli 4c31535c4b closes #2799 10 years ago
psychobunny 4ca6364dd4 removed .category-item selectors 10 years ago