1572 Commits (b551b0ad47d63bfe1f59c99a91476e06a2eec2a7)

Author SHA1 Message Date
Julian Lam f2c725c658 fix: topic search shortcut for macs 5 years ago
Barış Soner Uşaklı be305410fb fix: #8293, don't show error if there are no self messages 5 years ago
Barış Soner Uşaklı 9839346ec3 fix: #8290, if there are no filters go to ?reset=1
dont count ?page=1 as a filter
5 years ago
Barış Soner Uşaklı 3fcbd69149 feat: reduce infinite scroll area 5 years ago
psychobunny 275e837bcf fix: jquery xhtml violations 5 years ago
Julian Lam ccc6118d30
Testing suite integration for openapi spec (#8263)
* feat: testing suite integration for openapi spec

The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.

* fix(openapi): removed debug stuff from tests

* fix(openapi): fixed some tests

* fix(openapi): added additional check to tests, test fixes

* fix(openapi): better tests, fixed spec errors

* fix(openapi): bad conditional in test

* fix: oops

* fix(openapi): more tests fixing

* fix(openapi): more tests

* fix(openapi): fix some more tests

* fix: verbose'd an info log

* fix: topic pagination route returns schema-optimized pagination block

* fix(openapi): more test/spec fixes

* fix(openapi): accidentally sending in authenticated jar for anon routes

* fix(openapi): more test/spec fixes

* fix(openapi): more spec fixes

* fix: timestampReadable Invalid Date

* fix(openapi): more tests... almost there

* fix(openapi): more tests fixing

* fix(openapi): finally all tests passing

* fix(openapi): added reverse test to compare response to spec

... and fixed all the tests that broke

* fix: remove tests related to group covers, as route is gone

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): object cache is not present for psql

* fix: tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
5 years ago
Barış Soner Uşaklı ba6d3fd372 fix: only trigger infinitescroll on scroll end 5 years ago
Julian Lam bcbf98aa4c fix: accidental fp precision on flag and acp dash graphs 5 years ago
Julian Lam 5aa76cdf2f feat: pass in target element in action:topic.tools.load 5 years ago
Barış Soner Uşaklı 6e5de39ba0 fix: also fix updating bookmark if sorting is newest_to_oldest 5 years ago
Barış Soner Uşaklı 32ada7c4e7 fix: #8188, fix bookmark if sorting is newest_to_oldest 5 years ago
Barış Soner Uşaklı 067034082f fix: #6422, update deleted/restored messages 5 years ago
Julian Lam d6e3f3f058
fix: #8142, broken site if no server-side session (#8148)
* fix: #8142, broken site if no server-side session

During the `addHeader` middleware, a check is now done to see if
`req.session.meta` is present. This value is only present if the user
has a valid server-side session.  If it is missing, then it is probably
safe to assume that the server-side session was deleted (either
intentionally or accidentally). In that scenario, the client-side cookie
should be cleared.

Also, there was an issue where the sessionRefresh flag was never cleared
after a successful login, so that was fixed too.

* feat: exported method to get cookie config

* fix: don't clear cookie if cookie is being set

* fix: socket.io tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
5 years ago
Baris Usakli 4d66978338 fix: #8073, configurable necroThreshold 5 years ago
Barış Soner Uşaklı 3811e0a3df fix: #8042, dont show errors after clearing form 5 years ago
Barış Soner Uşaklı 95a372df85
fix: #7977, fix undefined url (#7978) 6 years ago
Baris Usakli 485fbd2f14 feat: #7964, change all categories at once
allow passing cids to setCategoryWatchState and category.exists
6 years ago
Barış Soner Uşaklı f402d7271a fix: move post and change owner 6 years ago
Barış Soner Uşaklı 9a7560049a feat: bypass cropper for gifs 6 years ago
Barış Soner Uşaklı 781b3f1a9a fix: #7800, dont crash on resize 6 years ago
Barış Soner Uşaklı 1789ecb45c feat: increase search timeouts 6 years ago
Barış Soner Uşaklı ebe5ed22bb feat: make handleSearch public 6 years ago
Barış Soner Uşaklı 2a5fe2b8f4 fix: #7894, translate log in to view 6 years ago
Barış Soner Uşaklı 0843497dd4 fix: #7893, check private upload setting 6 years ago
Barış Soner Uşaklı 3887fc678b fix: #7824, update timeago settings on userlanguage change 6 years ago
Barış Soner Uşaklı 21e81f961c fix: #7780 6 years ago
Barış Soner Uşaklı 7162051905 fix: #7791 6 years ago
Julian Lam af968c6ae5 feat: fire updateRemainingLength hook for chats 6 years ago
Julian Lam 4fb271c684
System chat messages (#7771)
* fix: removed duplicate checkContent call in addMessage

addMessage is called in one place (sendMessage), and the checks
are already contained there. addMessage is the lower level call
and so should be called only from within core itself.

* feat: #7330 chat system messages for join, leave, rename

* fix: add back content checking in .addMessage();

* fix: tests, and added .addSystemMessage() method

Tests were relying on message indices that changed due to the
new system messages.

* feat: add tests for system chat messages

* refactor: rewrite half of src/messaging/rooms.js, fix tests

* feat: #7743 messaging/room.js

* fix: tests for messaging/room.js, #7743

* fix: trying to fix tests

* fix: omg :rage2:
6 years ago
Barış Soner Uşaklı 53e1b349ae
Change post owner (#7752)
* feat: #7749, allow array of keys for setObject

* feat: sortedSetRemoveBulk

* feat: test for bulk remove

* feat: #7083, ability to change post ownership

* feat: #7083, fix tid:<tid>:posters

* feat: #7083, front end

* fix: #7752, psql methods

* fix: add missing await

* fix: maybe psql
6 years ago
Barış Soner Uşaklı 2b70e86f21 fix: #7751, make necro separator a partial 6 years ago
Julian Lam 16aae51726 fix: private upload img replacement should happen before img wrapping 6 years ago
Julian Lam 49e3a368f8 fix: #7423 private uploads are linked to login page, for guests 6 years ago
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
6 years ago
Baris Usakli ee4d78cae3 feat: closes #7718 6 years ago
Julian Lam af17c6e31c fix: remove debug code that should not have made it in 6 years ago
Barış Soner Uşaklı a39f0ef592 fix: #5570, create per category user post zsets 6 years ago
Aziz Khoury 13efbc9967 feat: change widget-* to data-widget-* (#7703)
* change widget-* to data-widget-*, original pr#5444 but backward compatible

* lint
6 years ago
Barış Soner Uşaklı e1c05e59c9 fix: restrict drag drop to pin icon, closes #7702
https://github.com/NodeBB/NodeBB/issues/6081
6 years ago
Barış Soner Uşaklı b53a60c278 feat: show best & latest posts on profile 6 years ago
Julian Lam 289dada5f7 fix(deps): update to eslint@6 6 years ago
Julian Lam 2523889990
refactor: replace avatar conditional code with buildAvatar helper (#7681)
* feat: helper for building avatars

* feat: benchpress truefalse globals, componentPrefix in buildAvatar

* refactor: remove componentPrefix

* feat: changes to buildAvatar helper

- removed extra .avatar-xl class in generics.less
- added support for component override
- "size" can be a number now

* fix: prevent overflow of alt text in avatars

* fix: update doc on buildAvatar helper
6 years ago
Barış Soner Uşaklı 106d52a47f fix: #7598, use notice element instead of alert 6 years ago
Barış Soner Uşaklı 9385c8e3ee feat: #7319 6 years ago
Baris Usakli 7211dde7b9 feat: #7358 6 years ago
Baris Usakli 777ca03264 fix: #7432 6 years ago
Julian Lam ab0e547d23 fix: autocomplete not triggered if chat switched 6 years ago
Julian Lam 6c2f48f189 fix: #7366 6 years ago
Barış Soner Uşaklı 45c322aeb0 fix: #7357 6 years ago
Barış Soner Uşaklı fc6767e140 fix: #7098 6 years ago
Barış Soner Uşaklı 8e3bf58106 fix: #7338 6 years ago
Barış Soner Uşaklı c7abf07a3d fix: #7324
added disableToType option
6 years ago
Julian Lam 02a8ed9b11 feat: textcomplete over jquery-textcomplete, closes #7309 6 years ago
Barış Soner Uşaklı d03220cdaf fix: #7094 6 years ago
Julian Lam 51b5fb9826 fix: added missing translation and error state for password change 6 years ago
Barış Soner Uşaklı 428f587cbe fix: #7208 6 years ago
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
6 years ago
Barış Soner Uşaklı 03299736dc fix: #7179
don't consider pinned topics in widget areas
6 years ago
Julian Lam 4873a339c1 fix: RTL not respected when changed in user settings, related to #7146 6 years ago
Barış Soner Uşaklı ab81cca735 fix: 7100 6 years ago
Barış Soner Uşaklı 7e828404f6 fix: #7116
dont save relative_path in db for group covers
6 years ago
Barış Soner Uşaklı 4650a76036 fix: #7124 6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
Barış Soner Uşaklı 555c092f65 fix: dont send empty strings 6 years ago
Julian Lam ed46c5e24b fix: refreshing settings page on save if language changed 6 years ago
Julian Lam 28a1fa780a fix: skin not changing after login or logout, #7038 6 years ago
Peter Jaszkowiak ba619c7ec8 style(eslint): match operator-linebreak preferences 6 years ago
Barış Soner Uşaklı 58d4376f7e fix: #7030 6 years ago
Baris Usakli e3bf21a3a0 closes #6993 6 years ago
Barış Soner Uşaklı 5c48793543 handle quoted strings 6 years ago
Julian Lam 98c14e0e68 fix: removal of scroll anchoring code in favour of browser handling
closes #6150
6 years ago
Barış Soner Uşaklı f4a00f0b5f only init unread topics for loggedin users
dont call isFollowed
6 years ago
Barış Soner Uşaklı 1ce15e69ab dont require search and moustrap on topic page until needed 6 years ago
Barış Soner Uşaklı c02d584b53 reduce initial js payload/requests 6 years ago
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
6 years ago
Barış Soner Uşaklı ac549f8bc7 closes #6957 6 years ago
Barış Soner Uşaklı 973b5fcfe0 closes #6932 6 years ago
Baris Usakli 3e2dffa6d0 fix search in if in query param isn't passed in 6 years ago
Julian Lam f7bd398eb1 style(eslint): newlines in public/src as well 6 years ago
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 😬
6 years ago
Julian Lam 501b3a79ca
Refactor skins to be built on server-side (#6849)
* WIP

* using bootswatch from npm instead of bootswatch CDN url

* feat: on-demand client css building for skins

* added ability for client-side to select a skin

* updated loading and saving logic of bootstrapSkin on client side user settings

* fix: broken test for #6849
6 years ago
Julian Lam 84433f29ab
Do not require a full refresh on login/logout (#6841)
* no-refresh login as well, plus lots of fixes for missing config on login

* replace config with new set on logout as well

* passing new payload data into new action:app.loggedIn hook, and old action:app.loggedOut hook

* fixed issues with socket.io not properly representing uid on server

* some light refactoring and cleanup

* minor cleanup, fixed spa logout not working after login

* have reconnection handler for socket.io wait 2s to confirm disconnection before reporting -- stops flicker if reconnecting immediately

* Dynamically replace chat and slideout menu on updateHeader()

... instead of just the menu items.

* more efficient calls to Benchpress and translator /cc @pitaj

* fix: chats and notification handlers not working after login

* fix: accidentally calling cb multiple times
6 years ago
Barış Soner Uşaklı 6f47446171 closes #6910 6 years ago
Barış Soner Uşaklı 61c7aa4b19 closes #6885 6 years ago
Barış Soner Uşaklı c27be9db5a
Recent refactor (#6879)
* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
6 years ago
Baris Usakli 881185ae59 closes #6857 7 years ago
Julian Lam c95ad2c46a closes nodebb/nodebb-theme-persona#339 7 years ago
Baris Usakli 6dc84deca9 allow admins mods to watch/ignore categories for other users 7 years ago
André Zanghelini 523a2dc54c Add settings page to control watched categories (#6648)
* Add settings page to control watched categories

* Fix passing undefined to pushUnreadCount
7 years ago
Barış Soner Uşaklı 95ace13599 add loading=false 7 years ago
Barış Soner Uşaklı ef55598822 filter messages that are already inserted to DOM 7 years ago
Barış Soner Uşaklı cf75c79611
Unread changes closes #6781 (#6783)
* WIP

* more unread work

* faster teaser block handling

if user doesn't have anyone blocked don't check

* much faster filtering of blocked posts

* add missing uid

* add tidsByFilter to return

* dont load all pids to find previous non-blocked teaser

* fix unread filters

they no longer use unread/new unread/watched etc they are query strings now

* shorter nav item code

* add unreplied to filters

fix icons not clearing to 0
dont increment unread counters if there is a reply in a topic where you ignored the topic creator
7 years ago
Barış Soner Uşaklı 669a5135e1 closes #6768 7 years ago
Barış Soner Uşaklı d880a7ade0 closes #6771 7 years ago
smyther f120015b54 Fix for user being able to open multiple "delete posts" modals (#6770)
* Implement fix for multiple fork cards showing

* Fix for admin being able to open multiple 'delete posts' modals

* Fix linting issue
7 years ago
smyther 0c9907367a Implement fix for multiple fork cards showing (#6757) 7 years ago
Julian Lam c2c925cacd closes #6678 7 years ago
Julian Lam 5c04ec2d63 removed client-side chat message length check in favour of server-side check, firing new hook on messaging.checkContent for hooks to intercept 7 years ago
Julian Lam 70f04bd1c2 fixed client-side console error on vote 7 years ago
Julian Lam a77630c6be closes #6697 7 years ago
Baris Usakli 976b85ccaa closes #6676 7 years ago
Julian Lam 5243ee559a set initial focus on register page 7 years ago
Julian Lam 609f711db0 added logic to handle Chats.switchChat being called with no arguments 7 years ago
Barış Soner Uşaklı ec33a12dad closes #6644 7 years ago
djls45 4f0a24cfed Preserve case of respondee's slug when responding to their post. 7 years ago
Julian Lam 7a53fa9469 Added block and unblock button to profile dropdown menu, #6560 7 years ago
Barış Soner Uşaklı 4ed079555e Merge remote-tracking branch 'refs/remotes/origin/master' into blocks 7 years ago
Julian Lam fb42862ec7 check password validity in user delete socket call 7 years ago
Baris Usakli 584f88e092 blocks WIP 7 years ago
Barış Soner Uşaklı 57b7c7ede4 closes #6607 7 years ago
Barış Soner Uşaklı ccad95cf73 closes #6579 7 years ago
Barış Soner Uşaklı 017b10d5d6 closes #6544 7 years ago
Julian Lam 99dc3feeb2 Edit history is now a category-level privilege
Closes #6425
7 years ago
Barış Soner Uşaklı 779d03cf57 move timestamp to server 7 years ago
Barış Soner Uşaklı d040544773 fix clicking topics after merge modal is closed 7 years ago
Barış Soner Uşaklı 45cc30a91b remove deprecated code
unread counts are loaded on cold load
7 years ago
Barış Soner Uşaklı f0a538bd4a closes #6536 7 years ago
Barış Soner Uşaklı b0dad9bd7f closes #6369 7 years ago
Barış Soner Uşaklı 81328806a0 closes #6511 7 years ago
Julian Lam 8e275df803 closes #6487 7 years ago
Julian Lam a08572b800 kick support for chats, #6479 7 years ago
Julian Lam dc386b5b23 Merge branch 'master' into user-blocking 7 years ago
Julian Lam 4bac78a568 wrapping up basic blocking UCP for #6463 7 years ago
Julian Lam 8db98b5cf4 additional UCP integration for #6463 7 years ago
Julian Lam 7089e5c6a6 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam f0f30041f5 re: #6408 7 years ago
Barış Soner Uşaklı 5d2a7106f6 change upload storage 7 years ago
Julian Lam 7ba2ac9f69 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 927537c759 #6431 add private upload info 7 years ago
Barış Soner Uşaklı b35bfb81ce ability to delete uploads from account page #6431 7 years ago
Julian Lam f9f75c6b43 fix accidental client-side invocation of post history controls if it was disabled via ACP 7 years ago
Julian Lam 8e822c7772 Added user consent pages (#6430)
- "Your Rights & Consent" user settings page
7 years ago
Barış Soner Uşaklı 47606c8df5 merge 7 years ago
Barış Soner Uşaklı 8b16a63cc2 closes #6419 7 years ago
Barış Soner Uşaklı caf43e3025 closes #6358 7 years ago
Julian Lam 113fed05d8 closes #6412 7 years ago
Barış Soner Uşaklı 749b282cdd add matchwords to search api 7 years ago
Julian Lam 0158b1aa91 Various password logic fixes on client and server-side
Fixes #6399
Fixes #6400
7 years ago
Julian Lam 9aa9183cc3 implementing zxcvbn in reset-code tpl, re: #6400 7 years ago
Barış Soner Uşaklı 51bd30fe92 closes #6385 7 years ago
Julian Lam 9197879291 fixes #6359 7 years ago
Julian Lam 693c7a3b85 fix 'invalid date' in post history dropdown, #6362 7 years ago
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
7 years ago
Barış Soner Uşaklı 221f9848d2 closes #6349 7 years ago
Julian Lam 346187d65d fixes #6176 7 years ago
Julian Lam a86d91a552 wrapping up post history work 7 years ago
Julian Lam 55788382ea Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 15e9bbac92 closes #6311 7 years ago
Ben Lubar 00776bdd8e Bookmark optimization (#6315)
* Set the user's bookmark if their current bookmark is past the end of the topic.

* Optimize forked topic bookmark updating.

Remove support for updating bookmarks for users who sort by votes.

Don't even consider updating bookmarks for users who have not read the posts being removed.

Only compute post indices once per fork operation instead of once per user that has ever read the topic.
7 years ago
Baris Usakli 3340db9636 remove unused var 7 years ago
Baris Usakli ef4de68f5b closes #6312 7 years ago
Barış Soner Uşaklı d16667a5fb closes #6304 7 years ago
Julian Lam 897a7d84f9 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 8427601b04 closes #6287 7 years ago
Barış Soner Uşaklı 155e20d216 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Julian Lam 5c3155f145 firing hook on chat message load and exposing upload_url to client-side 7 years ago
Baris Usakli 7aae167188 remove unused deps 7 years ago
Baris Usakli 14fbc0dc2f remove dupe method 7 years ago
Julian Lam b14e531cee Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 813fdaf6f6 fix pageCount calculation 7 years ago
Barış Soner Uşaklı 33a8cb947e Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Julian Lam c20aca8933 decreased full chat height by 1px 7 years ago
Baris Usakli a6b96b6772 fix undef var 7 years ago
Baris Usakli 4fbec0265b closes #6254 7 years ago
Julian Lam 457194b333 Merge branch 'master' into develop 7 years ago
Barış Soner Uşaklı 3d81bcb1fe closes #6238 7 years ago
Julian Lam d0a1eb61bc Updates to allow better chats integration
- Removed unused .createTagsInput method
- Firing action:chat.loaded client-side hook in all cases of chat now
  - New chat window (modal)
  - New chat page load
  - Chat switch event
7 years ago
Julian Lam 89383c261f fixed scrollToBottom detection in chats page 7 years ago
Julian Lam 8f5dccdfb5 Chat fixes
- Fixed issue where clicking into a chat didn't update unread state
- Fixed issue where receiving new messages in chat page didn't mark chat
  unread
- Fixed issue where chat title sets were broken in modal and page
- Removed chat leave toggle in chat list (is now in chat dropdown)
7 years ago
Julian Lam 19e53ab61b Lots o' chat changes
- Added chat room management (instead of tagsinput)
- Chat leave button in chat options dropdown
- Refreshing participants when user is added
- Updated autocomplete module so that it can be shown above a modal
  (z-index 100005 > 20000)
- Using cant-chat-with-yourself source string, which wasn't defined
  before, but was still used
7 years ago
Julian Lam 970c8b6f64 Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam d1ccd78ac2 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam b2b57d49bf WIP add user modal 7 years ago
Barış Soner Uşaklı 9922720dd3 closes #6209 7 years ago
Julian Lam cd4d0049e6 fixed broken UI in chat modal, send btn 7 years ago
Julian Lam 82bfd6edfd added a new component shortcut and updated title setting logic 7 years ago
Barış Soner Uşaklı df182bc7e4 closes #6198 7 years ago
Julian Lam eea124b312 room rename logic 7 years ago
Julian Lam e091568d17 closes #6191 7 years ago
Julian Lam c9364291fb Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam f2c251e89c Merge branch 'master' into develop 7 years ago
Peter Jaszkowiak be00a1c013 Support for using yarn instead of npm, include unread counts on cold load (#6179)
* Close #6178

* Support for package managers besides npm

- Also fixes issue where upgrade-plugins wouldn't work
7 years ago
Julian Lam 8cb914c15e more fixes to better handle transitioning from chat to chat and closing chats, etc.
also modals no longer used on mobile view at all
7 years ago
Julian Lam 3d74fc8220 some changes to fix class names used, character countdown support, etc. 7 years ago
Julian Lam d967201b2a drastically simplified main window resizing logic, some language changes 7 years ago
Barış Soner Uşaklı 96084340ad closes #6186 7 years ago
Julian Lam 82a95a03be Chat message soft deletion -- closes #6181
Squashed commit of the following:

commit f84c06bdcc45f24ef7ffde6a8f33b48d8f97fc36
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Dec 18 14:42:47 2017 -0500

    added restore handler for chat messages

commit 725cd370c6ea1e8f4a28298350f3dc024d4e668e
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Dec 18 14:23:52 2017 -0500

    backend logic and testing complete for deletion and restoration of chat messages

commit 072da758319cc93fa4c6f8bc0d672a1b716dc06e
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Dec 18 13:52:35 2017 -0500

    changing message delete logic to not remove mids, but to filter when retrieving

commit 68bf373305ab82737658a7c31dc5549af4d6d69f
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Dec 18 12:37:58 2017 -0500

    logic to handle deletion of a deleted chat message -- added some failing tests

commit 6899d0d234fa752e227188aa69cfcabd0d0500cc
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Dec 18 11:35:36 2017 -0500

    chat message deletion logic
7 years ago
Julian Lam 88b47f357b removed user.uploadFromUrl and associated logic as cropped image modal supercedes it @pichalite 7 years ago
Barış Soner Uşaklı e4ff1dc61b closes #6174 7 years ago
Barış Soner Uşaklı 43180d4b83 #6158 7 years ago
Barış Soner Uşaklı d9e115c3e6 closes #6146 7 years ago
Baris Usakli 3551d7d68e closes #4804 7 years ago
Barış Soner Uşaklı 548ec6baf7 closes #6144 7 years ago
Barış Soner Uşaklı 54b12119e9 add registered query param 7 years ago
Baris Usakli 947fc739eb remove extra translator require 7 years ago
Muhammad Osama Arshad 64895310a9 fix #5973 7 years ago
Baris Usakli 4e029556df closes #6081 7 years ago
Barış Soner Uşaklı 2ec54166f7 only show alert if on the same category 7 years ago
Barış Soner Uşaklı 9eabb1dc94 closes #6044
use the same UX from /recent on individual categories
7 years ago
Barış Soner Uşaklı f7ccabc3cc only add relative path if not starts with http(s) 7 years ago
Barış Soner Uşaklı 80ecd4ba6d closes #6036 7 years ago
Baris Usakli 47143a4a09 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Baris Usakli a500e0019c closes #6005 8 years ago
Baris Usakli c4310395c9 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	package.json
8 years ago
Baris Usakli 6a6dc7ef06 closes #5990 8 years ago
Julian Lam 684a66a760 fixes #5989 8 years ago
Julian Lam ae261e073b updating markdown and moving app.load back into ajaxify.end 8 years ago
Julian Lam cfacc4f133 potential fix for #5980 8 years ago
Peter Jaszkowiak da9da8190f Bump dependencies
Bumping eslint & configs meant making some linting fixes

For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
8 years ago
Peter Jaszkowiak cfba8970e1 Fix posts block usage in categories page 8 years ago
Peter Jaszkowiak 71aab79a9a Switch client t.js usage to Benchpress 8 years ago
Baris Usakli 27a6b8a713 lint fixes 8 years ago
Baris Usakli bc6b1a8f56 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	public/src/admin/extend/plugins.js
8 years ago
Julian Lam d9ad26c7c5 the meat of #5862, making chat loading not require an ajaxification 8 years ago
Julian Lam 902b823f4d adding mobile handling of chats' recent list links 8 years ago
Julian Lam bc9a125034 re: #5862, setting chat list height even if no message list is present 8 years ago
Julian Lam 128b922873 fixes #5428 8 years ago
Baris Usakli 8928db539b add missing radix 8 years ago
Baris Usakli 51facb3cb0 closes #5857 8 years ago
Barış Soner Uşaklı 3e4a4d7d55 remove header selector 8 years ago
Barış Soner Uşaklı d32f5459b7 fix unread icon 8 years ago
Julian Lam 0ecd2300b3 Closes #5849 8 years ago
Baris Usakli 875672522e Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	src/search.js
8 years ago
Barış Soner Uşaklı 7a405da60f group member search change 8 years ago
Julian Lam 84c1a182e5 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Barış Soner Uşaklı efe13e4038 closes #5827 8 years ago
Julian Lam 184dacf1d7 Merge branch 'master' into develop 8 years ago
Julian Lam c4fbed24f8 Squashed commit of the following:
commit 9c86d9b2904e14927cd7e9679b92aec0951d1063
Merge: ebfa63a 5a7f811
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Jul 20 08:41:39 2017 -0400

    Merge branch 'noscript-login' of https://github.com/An-dz/NodeBB into noscript

commit 5a7f81185e8f9bd7d2d011c3d495988be7e437a3
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Mon Jul 17 23:07:14 2017 -0300

    Rename clashing variable 'next'

commit ebfa63a984073a58c17aa408c363cdb03ef89985
Merge: c1801cd f159d0d
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Jul 17 16:30:40 2017 -0400

    Merge branch 'noscript-logout' of https://github.com/An-dz/NodeBB into noscript

commit c1801cda14e6363491e30b659902e2ae71f7e1f7
Merge: 7a5f9f3 9fd542d
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Jul 17 16:30:31 2017 -0400

    Merge branch 'noscript-register' of https://github.com/An-dz/NodeBB into noscript

commit 7a5f9f35abc834bb72ddddc9ca07d34f2fde8353
Merge: 44851f9 d37b95c
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Jul 17 16:30:10 2017 -0400

    Merge branch 'noscript-compose' of https://github.com/An-dz/NodeBB into noscript

commit f159d0d9ef1b7f600e830a96fdb4b9c87c79bb4a
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Thu Jul 6 12:16:38 2017 -0300

    Prevent form submit

    Required for theme change

commit d37b95cb71d32d4483190609798e244c331db165
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Thu Jul 6 01:49:52 2017 -0300

    Prevent link action with scripts

    Required for the theme change that changes the buttons to `a` tags.

commit 9fd542d8970b7d1a4126f4edc4b44eab7d708fb0
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 19:57:56 2017 -0300

    Fix tests

commit cdad5bf8c2891ad76f7441fd4d8a74b058a14e6d
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 19:09:17 2017 -0300

    Update error handling

commit 4ff11cd136a4fb98483f837e2cebc741380dfe76
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 17:29:08 2017 -0300

    Remove async waterfall

commit df01d44e821a70c984b89e9585a325c3e02c6e37
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 16:59:43 2017 -0300

    Set noscript compose as noscript at start

commit 4bcc380da72239b8315cc849a77a3036e06e4a12
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 16:59:12 2017 -0300

    Remove last useless next

commit b5eac6fea11e209934c0648a7e75ad07a2167123
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 18:35:08 2017 -0300

    Last function requires no next

commit 20a5cce6e6e32a454c304c448383707ec44c75a8
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 18:06:58 2017 -0300

    Remove more useless next calls

commit 85ee22a79bcbbb1995106f43d4c74d6ba9206cab
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 17:46:07 2017 -0300

    Remove useless next calls

commit 7d984c47ad24faac1fe537dee4a5a7d697e8634c
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 15:45:31 2017 -0300

    Support old themes

commit 4a09dfbd08253115c342a9e829c4e6940cecb8cc
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 15:37:23 2017 -0300

    Moved all error handling into helpers function

commit 391aa6e67ef9ab67304005e14ac0633cdb630713
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Thu Jun 8 15:37:37 2017 -0300

    ESLint - Fix mixed conditionals

commit 80ccc6fd581d791f31e7ab62de8de611837bfc3c
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 18:08:15 2017 -0300

    Compose without scripts

commit 2aca811256721238ca0cede4954213d369009885
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 18:00:44 2017 -0300

    Register without scripts

commit 097bb51577fb26f8e22f86dc274cb670ab606a8a
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 16:42:15 2017 -0300

    Logout without scripts

commit d497e08109891079656fee1c145043a9c0e55f2e
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 16:27:10 2017 -0300

    Login without script
8 years ago
Stjepan Osojnički 9b491e4c2e Add post images hook (#5828)
* Add post images hook

This hook would allow plugins to manipulate images inside posts  after images are manipulated by nodebb (for example, delay loading). Without this hook we can manipulate images by searching post data for them and manipulate that data, but any change on that level is either erased by nodebb once image loading starts (if delay is turned on) or it disables native image behaviour by changing image code so native behaviour is not triggered.
Hook at this place works for both delayed loading turned on and off.
Usage for this kind of hook was talked about here: https://community.nodebb.org/topic/10960/opening-uploaded-images-in-modal-windows

* trying to fix Travis error

* Update images.js

Hook moved out of wrapImagesInLinks function to places where images are actually loaded. One of the places is inside unloadImage function but in place where loading is happening because of failed if check (delayImageLoading not se in users configuration).
8 years ago
Baris Usakli 0a4b76357a #5830 8 years ago
Baris Usakli 9dee81b37f closes #5830 8 years ago
Baris Usakli f1f8a587d4 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	package.json
8 years ago
Barış Soner Uşaklı bca79da8c6 closes #4197
add in-topic search support to dbsearch
prevent multiple click handlers on in-topic search widget(each click was
causing multiple scrolls)
fix index
8 years ago
Julian Lam c2f1d254cc Merge branch 'master' into develop 8 years ago
Julian Lam 45d940ad2b added one more client-side hook for search @barisusakli 8 years ago
Barış Soner Uşaklı 34d9b57b26 fix wrong function name, change dom to data @julianlam 8 years ago
Julian Lam 3ddf332e0c added two new client-side hooks for search to allow plugins to add fields 8 years ago
Julian Lam 77ec169591 added two new client-side hooks for search to allow plugins to add fields 8 years ago
Barış Soner Uşaklı e6cbaf6d85 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı fd43f38e42 closes #5773 8 years ago
Baris Usakli 1f5b3ba636 closes #5771 8 years ago
Baris Usakli 1b0c6741f8 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Julian Lam 9a06604968 changing local getUserName to getUserSlug, closes julianlam/nodebb-plugin-mentions#89 8 years ago
Barış Soner Uşaklı 53a2a7244d closes #5765 8 years ago
Barış Soner Uşaklı 7fe9366103 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı 8f5f5eb56a closes #5761 8 years ago
Baris Usakli 0ea4ee7dda Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Julian Lam dbcc1517eb fix chat links not working in flag details page 8 years ago
Barış Soner Uşaklı d9e84b1db8 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı b13ed26587 closes #5755 8 years ago
Baris Usakli 8ea5c060f5 closes #5754 8 years ago
Barış Soner Uşaklı a16aa33c8d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı 1628c352fd closes #5750 8 years ago
Barış Soner Uşaklı 38806fe07f closes #5752 8 years ago
Baris Usakli 037a0e5239 closes #5742
also fix reverse infinite scroll when sorting is changed
8 years ago
Baris Usakli da8b1b605c #5723 8 years ago
Baris Usakli d13eb52f39 closes #5722 8 years ago
Barış Soner Uşaklı 08aaabd33c closes #5642 8 years ago
Julian Lam 30bec51a21 removed cropper zoom and using image scaling to show entire image. Click on modal backdrop during crop will no longer close modal 8 years ago
Barış Soner Uşaklı a513d98e1d prevent timeago in future for new posts 8 years ago
Barış Soner Uşaklı 29ca1dbf08 replies/reply fix 8 years ago
Barış Soner Uşaklı 70adcd64bc #5667 8 years ago
Julian Lam 6d392089e4 fixes #5660 - https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.1 8 years ago
Barış Soner Uşaklı f3deef4931 closes #5656 8 years ago
Barış Soner Uşaklı 3a1eba2537 merge 8 years ago
Barış Soner Uşaklı 670a5d9ca0 fix timestamp not showing for replies, remove allowFuture @julianlam 8 years ago
psychobunny 6f8e7343e6 fix for "invalid date" re:threading when replying to yourself 8 years ago
Barış Soner Uşaklı 6fb90a17e0 closes #5613 8 years ago
Barış Soner Uşaklı 2f3aceb7d3 dont do anything if config is off 8 years ago
Barış Soner Uşaklı 82863a28f0 add the loaded topics after the last topic on the list 8 years ago
barisusakli 75e5f2da74 closes #5485 8 years ago
barisusakli 73700ed747 closes #5617 8 years ago
Peter Jaszkowiak 30b47d39f3 Fix #5536 8 years ago
barisusakli b45111d44b show max message length in error message 8 years ago
barisusakli 236758b712 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
barisusakli fb3020f892 closes #5604 8 years ago
barisusakli 20eac0de94 closes #5518 8 years ago
Peter Jaszkowiak 484a800327 Merge branch master into develop 8 years ago
Julian Lam 126237e2c9 Merge pull request #5576 from pichalite/zxcvbn
Closes #5521
8 years ago
pichalite 4c89497cc4 Closes #5521 8 years ago
Anil Mandepudi da183e196a Fixes #5572 (#5575)
* Fixes #5572

* Adding trailing commas but in protest
8 years ago
Julian Lam b649eb95f8 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam 6060b8e13b fix tests 8 years ago
Barış Soner Uşaklı fe27d40ff6 closes #5542 8 years ago
Aziz Khoury 6682e048ea wrapImagesInLinks with <a download> attribute
if the `src` of the `img` does not have an extension, most browsers will trigger a download with whatever filename is set, also without an extension, so when it's opened in any OS, it wont have a default application to open it with.

So, In this case, if the `alt` attribute has an extension (meaning if it looks like filename) - we use that with the html5 [`download` attr](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download)

The PR does not affect any src if they have an extension.
8 years ago
Julian Lam 7f8f197e60 Merge branch 'master' into develop 8 years ago
Julian Lam 23d4497c73 Merge pull request #5531 from NodeBB/patch_5491
Fix #5491
8 years ago
Peter Jaszkowiak 8c45411ccc Fix #5491 8 years ago
Julian Lam 1ebbbdd3f9 Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli 6a4b082080 closes #5524 8 years ago
barisusakli 5a2ff8ed0a closes #5527 8 years ago
Julian Lam 860999fa6c Merge remote-tracking branch 'origin/master' into develop 8 years ago
psychobunny a67d48e719 #5513 (#5520)
closes #5513
8 years ago
psychobunny fd8e647ef5 closes #5506 8 years ago
barisusakli f092b7754e only create 1 alert for chat spam error 8 years ago
barisusakli 6f49509645 fix newSet on redis 8 years ago
Julian Lam 04b66787ea removed hardcoded stepsize of 1 for chart, so it can space the ticks out properly 8 years ago
Julian Lam 793555a344 Merge branch 'master' into develop 8 years ago
barisusakli 1301fb1f34 on chat leave close the modal 8 years ago
barisusakli 992e3128bd closes #5499 8 years ago
Julian Lam af2d9fb85b Merge branch 'master' into develop 8 years ago
barisusakli 531df7bd09 closes #5504 8 years ago
barisusakli e85e35cf0c closes #5497 8 years ago
barisusakli 202bafa3e3 add images to bundle 8 years ago
barisusakli 5ca8456340 move image code to client/topic/images 8 years ago
Julian Lam 6e7b505ea7 more linting 8 years ago
Julian Lam ddea9f534e running eslint again 8 years ago
Julian Lam 72e77772db Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files 8 years ago
Julian Lam 672d7352bb Merge branch 'master' into develop 8 years ago
Julian Lam e887dda37a Merge pull request #5461 from pichalite/image-dimension
Use ACP profile image dimension setting in cropper
8 years ago
Julian Lam e427f1663e Merge pull request #5456 from NodeBB/sounds-refactor
Sound system improvements
8 years ago
pichalite a99572fc48 Use ACP profile image dimension setting in cropper 8 years ago
Peter Jaszkowiak b227297ef3 ESlint no-use-before-define 8 years ago
Peter Jaszkowiak 4bb49a7171 ESlint no-unused-vars 8 years ago
Peter Jaszkowiak c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 8 years ago
Peter Jaszkowiak 144fa8698c Eslint no-lonely-if 8 years ago
Peter Jaszkowiak 57f89663aa ESlint radix 8 years ago
Peter Jaszkowiak 09e868ce5f ESlint no-useless-escape, no-else-return 8 years ago
Peter Jaszkowiak 11cb3a9554 ESlint operator-assignment, block-scoped-var 8 years ago
Peter Jaszkowiak c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 1493afee2a ESlint indent 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak a5a3f3089a ESlint no-mixed-operators 8 years ago
Peter Jaszkowiak 2e031f3759 ESlint comma-spacing 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak 532951c24f ESlint space-in-parens, block-spacing 8 years ago
Peter Jaszkowiak b1b486f729 ESlint quote-props 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak 554075b312 ESlint no-continue 8 years ago
Peter Jaszkowiak d9c1f6f088 ESlint no-extra-semi 8 years ago
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines 8 years ago
Peter Jaszkowiak b09b3aef7f ESlint no-undef, remove global comments 8 years ago
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
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
barisusakli 4d05e492cc closes #5312 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 484891472e Make cropper in to a module 8 years ago
barisusakli dad5b135c3 lint 8 years ago
barisusakli c285eb7fcd closes #5450 8 years ago
Julian Lam fcaefbadca Merge remote-tracking branch 'origin/master' into develop 8 years ago
Anil Mandepudi c25836b5fc Option to upload without cropping (#5447)
* Option to upload without cropping

* Fix styling

* Fix styling

* Add missing semi-colon

* I fail at styling :fail:
8 years ago
psychobunny 570efb9e4b Merge branch 'develop' into threads-enhancement 8 years ago
psychobunny 83cd960ffa improved threaded view design 8 years ago
barisusakli 387110fecc closes #5315 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
pichalite 2c5f8ed8e6 Add image options to cropper modal 8 years ago
psychobunny dbc3113940 Merge pull request #5412 from pichalite/cropperjs
Ability to crop profile images before uploading
8 years ago
pichalite b757f563df Move tpl and less to core 8 years ago
pichalite a808d1b4d9 Set aspect ratio to square and confine crop box to image 8 years ago
barisusakli 76254942b2 closes #5190 8 years ago
Peter Jaszkowiak 360a35d0a6 Resolve merge conflicts 8 years ago
pichalite 700e2cf800 linting 8 years ago
pichalite de28ff5d43 Ability to crop profile images before uploading 8 years ago
Julian Lam 73879b824c Merge branch 'master' into develop 8 years ago
Julian Lam 694f2382bf fix issue where navigating back to a topic listing (category.tpl) would not scroll down to the topic you had clicked on, and in some cases would exclude topics that were beyond that particular 'page' 8 years ago
Julian Lam 08af924873 closes #5189 8 years ago
Julian Lam 82e9e1a05d closes #5189 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
Julian Lam 9dcbe875a0 Merge branch 'master' into develop 8 years ago
psychobunny 9797f69324 action:chat.sent 8 years ago
Julian Lam 3861b2dd80 Merge remote-tracking branch 'origin/master' into develop 8 years ago
pichalite 5b646495af Confirm before removing user and group cover picture 8 years ago
Julian Lam db20df0110 Merge branch 'master' into develop 8 years ago
barisusakli 190b3759a0 fix tests 8 years ago
barisusakli 827e4b4ffd refactor post tools 8 years ago
Julian Lam 29c7ae7645 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Barış Soner Uşaklı c4d4d2385b closes #3973 closes #5303 8 years ago
Julian Lam c640bdf2b9 Merge branch 'master' into develop 8 years ago
barisusakli 1fed01fe43 ability to filter search by tags 8 years ago
Julian Lam e6768ab572 some more fixes to flags, simplifying qs manipulation in flags search
re: #5232
8 years ago
Julian Lam aaec71bc0c added stepSize to flags chart, #5232 8 years ago
Julian Lam ebc9abd773 upgrade script and graphs for #5232 8 years ago
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 8 years ago
Julian Lam a2fecf5ae4 Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
Julian Lam 9f9051026b more work on #5232 8 years ago
Stuart Williams 647d0e0a75 Avoid encoding HTML in Twitter social share text 8 years ago
Julian Lam 88958049eb added some more filters, and appending event to history on flag creation
issue #5232
8 years ago
Julian Lam 8e1d441e20 Added some quick filters, #5232 8 years ago
Julian Lam 753d4b0275 wrapped up basic functionality of list and detail for flags, filter support. #5232 8 years ago
Julian Lam f1d144f15e history appending, finished up notes, #5232 8 years ago
Julian Lam d9d60c20bd flag updating and note appending, #5232 8 years ago
barisusakli 2e28a8f7c7 closes #5239 8 years ago
Julian Lam c987b8474e fixing new post parsing to not add img-responsive to avatars 8 years ago
barisusakli db14c29e41 socket.io/categories tests 8 years ago
Julian Lam ede7a71db7 Fixes #5186
On socket.io connection, all clients join a room pertaining to
their express session id. We use this room to keep track of any
sessions in different browser windows (but the same cookie jar),
so if a login/logout occurs, we can throw a session mismatch
modal.

This room can also be used to emit messages across windows/tabs...
8 years ago
barisusakli 8294fc90e3 closes #5084 8 years ago
Barış Soner Uşaklı b38a10f96a add pagination to user profile 8 years ago