5798 Commits (d95b4ee29aa4a62737dacdfa68bcb43c94caa016)

Author SHA1 Message Date
Andrew Rodrigues d864da1a2e
fix: move `action:alert.update` to after translator 6 years ago
Andrew Rodrigues daadcc4889
feat: add `action:alert.new`, `action:alert.update` hooks 6 years ago
Barış Soner Uşaklı fc6767e140 fix: #7098 6 years ago
Barış Soner Uşaklı e59b907d7c fix: #7229 6 years ago
Barış Soner Uşaklı 12c5899099 fix: #7339 6 years ago
Barış Soner Uşaklı 8e3bf58106 fix: #7338 6 years ago
Barış Soner Uşaklı c72da5595a fix: #6806
3 new global privileges
view:users
view:tags
view:groups
6 years ago
Barış Soner Uşaklı ae779ea4f9 fix: #7334 6 years ago
Barış Soner Uşaklı 9d1fcf4e36 fix: closes #7217 6 years ago
Barış Soner Uşaklı f6cfbbb520 fix: don't crash if body doesn't have `skin-` 6 years ago
Barış Soner Uşaklı c7abf07a3d fix: #7324
added disableToType option
6 years ago
Barış Soner Uşaklı 0366cfd8ec fix: allow regular groups to local login 6 years ago
Barış Soner Uşaklı 5353960ae7 fix: #7316 6 years ago
Julian Lam 8aebe88417 fix: #7306 6 years ago
Julian Lam 02a8ed9b11 feat: textcomplete over jquery-textcomplete, closes #7309 6 years ago
Julian Lam 7fb3c16882 fix: #7296, local login privilege available to registered-users only 6 years ago
Barış Soner Uşaklı d03220cdaf fix: #7094 6 years ago
Julian Lam 63061ffd37 feat: new hook filter:user.logout
- used for setting "next" for post logout redirection
6 years ago
Julian Lam cee47f78b2 fix: #7289 timeago shorthand toggle fails on non-existant language
- Exposing timeagoCodes to frontend
- Timeago language and shorthand toggling will fall back to 'en'
  if the requested language does not exist
6 years ago
Julian Lam 5ee173c2f6 fix: #7276 improper request for client-noskin.css 6 years ago
Barış Soner Uşaklı ac655564bb fix: post queue notifs
fix moderators not showing up immediately when adding them
6 years ago
Julian Lam 51b5fb9826 fix: added missing translation and error state for password change 6 years ago
Julian Lam 3859d417ce fix: #7236, header search stops working after header update 6 years ago
Julian Lam af4fd5979f Revert "fix: #7216, hide taskbar on chat modal invocation on mobile"
This reverts commit a70db885cf.
6 years ago
Julian Lam a70db885cf fix: #7216, hide taskbar on chat modal invocation on mobile 6 years ago
Barış Soner Uşaklı 428f587cbe fix: #7208 6 years ago
Barış Soner Uşaklı 28459d04c6 fix: #7187 6 years ago
Julian Lam 954af0f0d2 fix: #7176, FUOC on app.reskin() 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ı 8566205214 Merge branch 'master' of https://github.com/NodeBB/NodeBB 6 years ago
Barış Soner Uşaklı 03299736dc fix: #7179
don't consider pinned topics in widget areas
6 years ago
Julian Lam 629b35546c fix: #7167, composer and chat not closing on logout 6 years ago
Barış Soner Uşaklı 43e7cc0afb fix: shorter function 6 years ago
Barış Soner Uşaklı 2da0a65765 fix: #7162 6 years ago
Julian Lam 8e9de540b4 fix: #7136 socket.disconnect() now called on invalid session 6 years ago
Julian Lam 4873a339c1 fix: RTL not respected when changed in user settings, related to #7146 6 years ago
Julian Lam d81e0a5f5b fix: #7146 Better RTL handling on (de-)authentication
- RTL is applied (or unapplied) on login and logout depending on
  user language/guest-detected language.
- config is automatically saved into res.locals.config whenever
  loadConfig is called
- On login/logout, buildHeader is called instead of getting config
- On logout, req.uid is deleted instead of set to 0
6 years ago
Julian Lam 900f0a0b78 fix: #7118, invoking autoLocale middleware on logout
Also:
- firing client-side hook on header update
- updating bootbox locale on header update
6 years ago
Andrew Rodrigues 7fb29f4272 fix: closes #6784 (#7137)
* fix: closes #6784

* #6784 also fix homepage + subfolder installs

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

* #6784 more elegant solution @pitaj

and the last time I touch this function, lol

* #6784 regis, final answer

I lied in that last commit
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ı 29a85aecc7 fix: #7138 6 years ago
Baris Usakli b47f939bfc fix: lint 6 years ago
Baris Usakli 69e0dbbf4a fix: #7091, #7093 6 years ago
Baris Usakli 0c1ac4d6a2 feat: #7032 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ı 74d0e88df3 fix: don't explode if there is no css el 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 5f3d1c76c8
fix: #7038, autoLocale logic not playing nicely with no-refresh auths (#7059)
* fix: #7038, autoLocale logic not playing nicely with no-refresh auths

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

* style: tests, use lodash

* fix: timeago strings not switching languages on login or out
6 years ago
Barış Soner Uşaklı 2604cf6356 fix: #7074 6 years ago
Julian Lam 6df5668e64 fix: #7063, logout code should do hard page nav to / or data.next 6 years ago
Barış Soner Uşaklı 41357abb59 Merge branch 'master' of https://github.com/NodeBB/NodeBB 6 years ago
Barış Soner Uşaklı f581c052ee feat: #7023
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
6 years ago
Julian Lam 28a1fa780a fix: skin not changing after login or logout, #7038 6 years ago
Baris Usakli cd02e03f7b don't crash if meta.config is undefined 6 years ago
Peter Jaszkowiak ba619c7ec8 style(eslint): match operator-linebreak preferences 6 years ago
Peter Jaszkowiak 89c025d102 feat: close #7002, console message if mismatched origins 6 years ago
Barış Soner Uşaklı 58d4376f7e fix: #7030 7 years ago
Barış Soner Uşaklı e78aea1e86 close #7024
show error instead showing crop modal
7 years ago
Barış Soner Uşaklı ed1bf9a16f add more info to advanced db page 7 years ago
Barış Soner Uşaklı 27c016d68d fix alert 7 years ago
Julian Lam f6b92c1d3e fix: #7013, add cache buster to js-enabled.css 7 years ago
Baris Usakli e3bf21a3a0 closes #6993 7 years ago
Barış Soner Uşaklı 5c48793543 handle quoted strings 7 years ago
Barış Soner Uşaklı dc670a7bb5 closes #6983
after first pass of timeago, title contains "21 lis 2018, 10:30" which is invalid for new Date(), check before passing it to format
7 years ago
Barış Soner Uşaklı 625516e046 if there is no search el return
aka if theme doesnt support it
7 years ago
Barış Soner Uşaklı 63c0a9a3b7 closes #6928 7 years ago
Barış Soner Uşaklı 169a6680d5 #6928 7 years ago
Julian Lam 98c14e0e68 fix: removal of scroll anchoring code in favour of browser handling
closes #6150
7 years ago
Baris Usakli 1454fdceff closes #6874 7 years ago
Barış Soner Uşaklı f4a00f0b5f only init unread topics for loggedin users
dont call isFollowed
7 years ago
Barış Soner Uşaklı 33986f38e3 closes #6954 7 years ago
Barış Soner Uşaklı 1ce15e69ab dont require search and moustrap on topic page until needed 7 years ago
Barış Soner Uşaklı c0a75d735b fix requires 7 years ago
Barış Soner Uşaklı c02d584b53 reduce initial js payload/requests 7 years ago
Baris Usakli 0fd5210d37 really fix pagination on mobile 7 years ago
Baris Usakli 2624e302ab fix navigator on mobile 7 years ago
Baris Usakli c1ab753bc3 use paginationBlock 7 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
7 years ago
Barış Soner Uşaklı ac549f8bc7 closes #6957 7 years ago
Barış Soner Uşaklı f0dead7aba more tooltip work 7 years ago
Barış Soner Uşaklı 4b6b3d5436 set duration to 0 7 years ago
Barış Soner Uşaklı 85c832fcc6 add tooltip 7 years ago
Barış Soner Uşaklı fe8832ad5c dont update if index didnt change 7 years ago
Barış Soner Uşaklı 7b5c4f343a drag nav 7 years ago
Barış Soner Uşaklı de14102ee7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 7 years ago
Barış Soner Uşaklı d9452bf3d4 fix: custom navigation item not showing groups 7 years ago
Julian Lam b3f96d28aa fix(acp): hard-to-discover dropdown selector in ACP
Made the dropdown an MDL button fab with better positioning via
a p.lead so that it is more easily discoverable and obvious that
it is a button that can be pressed.

Fixes #6899
7 years ago
Barış Soner Uşaklı 69bb3293ee misc fixes
handle spider uids properly
7 years ago
Barış Soner Uşaklı b6771836cf closes #6937 7 years ago
Barış Soner Uşaklı 973b5fcfe0 closes #6932 7 years ago
Baris Usakli 3e2dffa6d0 fix search in if in query param isn't passed in 7 years ago
Julian Lam f7bd398eb1 style(eslint): newlines in public/src as well 7 years ago
Julian Lam aef1c155cc hey husky wtf you doin' 7 years ago
Julian Lam da10ca084b fix: #6921, allow square brackets in usernames 7 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 😬
7 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
7 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
7 years ago
Baris Usakli 3c611d85ed closes #6912
- on category setParent dialog do not show children of current category
- break recursion if category parentCid is equal to child cid to prevent
infinite loop
- dont allow setting the parentCid of a category to one of it's children
7 years ago
Barış Soner Uşaklı 6f47446171 closes #6910 7 years ago
Barış Soner Uşaklı 61c7aa4b19 closes #6885 7 years ago
Barış Soner Uşaklı fee3ec308a use showSelect 7 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
7 years ago
Barış Soner Uşaklı 56c1eac1a5 fix translations on dashboard 7 years ago
Barış Soner Uşaklı 69253d9a7f use chart.js legend 7 years ago
Barış Soner Uşaklı 8abef4c101 bg colors 7 years ago
Barış Soner Uşaklı b916dc562f fix bg colors 7 years ago
Barış Soner Uşaklı 804451cc37 update axis ids 7 years ago
Barış Soner Uşaklı c2191167ee fail colors 7 years ago
Barış Soner Uşaklı 5b842c98ac fix typo 7 years ago
Barış Soner Uşaklı 9f36ce3997 #6862 7 years ago
Barış Soner Uşaklı 11c2a65b5a fix config values not showing client side if they were set to 0 7 years ago
Andrew Rodrigues e2ecbae06c add body class when cookie consent warning is open 7 years ago
Andrew Rodrigues c9fc65d901 more efficient selectors (apparently) 7 years ago
Baris Usakli 881185ae59 closes #6857 7 years ago
Barış Soner Uşaklı 9c022afae1
Parse int (#6853)
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
7 years ago
Julian Lam 762dac6a4a closes #6825 7 years ago
Julian Lam c95ad2c46a closes nodebb/nodebb-theme-persona#339 7 years ago
Barış Soner Uşaklı 702be3f6de https://github.com/NodeBB/nodebb-theme-persona/issues/363 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ı 49ba5af5fa
closes #6810 (#6813) 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ı 3554a0a725 closes #6791, if fileSize isn't passed in don't perform check 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ı df4f5f6f27
closes #6784 7 years ago
Barış Soner Uşaklı 71ccd67665 closes #6722
calculate size of base64 image from buffer, still not perfect but better than string.length
7 years ago
Barış Soner Uşaklı 669a5135e1 closes #6768 7 years ago
Barış Soner Uşaklı d880a7ade0 closes #6771 7 years ago
André Zanghelini f3956299eb Add tooltip in taskbar icons (#6693)
* Add tooltip in taskbar icons

* Translate taskbar title when creating taskbar
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
Barış Soner Uşaklı ebaea9b6c1 closes #6743 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 9d202d9be9 closes #424 7 years ago
Julian Lam 70f04bd1c2 fixed client-side console error on vote 7 years ago
Andrew Rodrigues 12940b577b closes #6703 7 years ago
Julian Lam a77630c6be closes #6697 7 years ago
Barış Soner Uşaklı c0156640e3 add back alert 7 years ago
Barış Soner Uşaklı 14d810c113 show error if cropper fails 7 years ago
Baris Usakli 976b85ccaa closes #6676 7 years ago
Julian Lam ea2bd33bfa fixes #6608, restored template values in widget containers 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ı d06f795856 fix scroll on back 7 years ago
Julian Lam 352bef0a7f eliminate waitSeconds in rjs config 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 b7fc8493b7 closes #6635 7 years ago
Julian Lam 266eacac7c closes #6655 7 years ago
Julian Lam a07b45fd0f closes #6642 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
Timothy Fike e8a3c23d42 Fix verion regex Fixes #6620 (#6625) 7 years ago
Barış Soner Uşaklı 57b7c7ede4 closes #6607 7 years ago
Barış Soner Uşaklı 742ddd358b escape url 7 years ago
Barış Soner Uşaklı ccad95cf73 closes #6579 7 years ago
Barış Soner Uşaklı 017b10d5d6 closes #6544 7 years ago
Barış Soner Uşaklı 4293403451 #6535, use templateToRender clientside if its avaiable 7 years ago
Barış Soner Uşaklı c91b96c133 use data.roomName 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
Julian Lam a3e724e134 resolve window opener being set if ajaxify overrides on external link 7 years ago
Barış Soner Uşaklı b2d5551960 remove deprecated method 7 years ago
Barış Soner Uşaklı a1e933537b remove deprecated method 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ı d60d03d00f closes #6542 7 years ago
Barış Soner Uşaklı d5e85c2eb3 closes #6476, closes #6546 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 3688840f1f using modal-unfocused instead, so regular modals still appear on-top of composer
_now_ it closes #6532
7 years ago
Julian Lam 8164a52fc4 no longer using bringModalToTop, in favour of taskbar modal focused class
re: #6532
7 years ago
Julian Lam 32edfb6c5a updating chat logic to save uuid in data-uuid attr instead of uuid attr 7 years ago
Barış Soner Uşaklı 11bb2f1560 closes #6528 7 years ago
Barış Soner Uşaklı 6940612688 closes #6410 7 years ago
Barış Soner Uşaklı a7267df404 closes #6464 7 years ago
Barış Soner Uşaklı fc56347c22 closes #6520 7 years ago
Barış Soner Uşaklı 667630ff5d closes #6450 7 years ago
Barış Soner Uşaklı 4e495adcd7 add installing notice and refresh 7 years ago
Julian Lam 8e275df803 closes #6487 7 years ago
Julian Lam 5dc25a3c00 Merge remote-tracking branch 'origin/master' into chat-kick-support 7 years ago
Julian Lam a08572b800 kick support for chats, #6479 7 years ago
Barış Soner Uşaklı 8ed86aaf13 closes #6476 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
Andrew Rodrigues 1c09094011 show success alert + rebuild msg when ordering plugins 7 years ago
Julian Lam 877b45ab00 adding old path to uploads as well, to ajaxify shirt-circuit 7 years ago
Julian Lam bdbdf510e0 closes #6462 7 years ago
Julian Lam 364ded4f8e Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 501d02220c closes #6456 7 years ago
Barış Soner Uşaklı 5d2a7106f6 change upload storage 7 years ago
Barış Soner Uşaklı 3fb28e9246 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 4cd0020584 closes #6449 7 years ago
Julian Lam 7ba2ac9f69 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Andrew Rodrigues de9f429b89 prepopulate traffic graph datepicker to make life easier 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
Andrew Rodrigues 67c8d4b560 maximize graph w/ fullscreen API 7 years ago
Barış Soner Uşaklı ddd3dfc7f0 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 09ef3999b0 fix lint 7 years ago
Barış Soner Uşaklı a4c24cb66b fix saving multiple selects as json arrays 7 years ago
Barış Soner Uşaklı 47606c8df5 merge 7 years ago
Barış Soner Uşaklı 0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 8b16a63cc2 closes #6419 7 years ago
Barış Soner Uşaklı 11b15872d6 lint 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
Baris Usakli 46576189be closes #6392 7 years ago
Peter Jaszkowiak 968d5e441f Fix rebuild ACP alert not working sometimes (#6403) 7 years ago
Timothy Fike 585d613d4b fix reload actions (#6394)
* fix reload actions

* wait until restart action is complete instead of using timeouts.

* Change Reload nominclature to Rebuild and Restart.
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
Peter Jaszkowiak dcf1865b54 Fix ACP alerts to use same system as client (#6396)
* Fix PostCSS warning message

* Fix disconnect indicator styling

Would increase size of quick actions when active

* Use same alert system in ACP and client

- Remove snackbar
- Add styling and fix template for ACP (based on Persona)
7 years ago
Barış Soner Uşaklı 2cbae54025 fix focus 7 years ago
Barış Soner Uşaklı 51bd30fe92 closes #6385 7 years ago
Peter Jaszkowiak eaae5b52cd ACP quick actions (#6374)
* ACP quick actions

- Moved restart, build & restart, and logout into separate buttons
- Moved buttons on mobile into the side menu
- Added version and upgrade alert to header / mobile menu
- Moved version checking to server-side with a cache for rate limiting
- Changed "reload" translations to "rebuild and restart"

* Change info alert to black-on-white to match focused search bar

* Fix tests

* Fallback for failed fetch of latest version
7 years ago
Julian Lam 1e01af4d89 closes #6366 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
Julian Lam 4d9e2b1160 fixes #6354 7 years ago
Barış Soner Uşaklı 221f9848d2 closes #6349 7 years ago
Julian Lam 346187d65d fixes #6176 7 years ago
Julian Lam 3cbca69b27 closes #6346 7 years ago
Julian Lam c93f943bef Merge branch 'develop' 7 years ago
Barış Soner Uşaklı 7d627fe19a #6338 7 years ago
Barış Soner Uşaklı 245e1a9159 closes #6334 7 years ago
Barış Soner Uşaklı 7b45a6ea8b Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Julian Lam f97b64a0c6 Fixes #6317
While not the most elegant solution, I'm only really interested in
stopping registrations that contain two emails in one field.

The only separators I know of are the comma and semicolon. If
there are more, please let me know.
7 years ago
Julian Lam c25d752573 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 264893a71b closes #6336 7 years ago
Julian Lam 964fd20213 removed addNoReferrer usage as it is done server-side now 7 years ago
Julian Lam a4a961639d only triggering forum updated messaging if hostname matches, fixes #6333 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ı 825c493c40 show error 7 years ago
Barış Soner Uşaklı 15e9bbac92 closes #6311 7 years ago
Barış Soner Uşaklı a224c557c0 closes #6326 7 years ago
Barış Soner Uşaklı 651b1cc9f8 closes #6321 7 years ago
Barış Soner Uşaklı cf087b6070 #6272 strip all tags 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ı 6cbd70d510 closes #6307 7 years ago
Barış Soner Uşaklı d16667a5fb closes #6304 7 years ago
Barış Soner Uşaklı 0f2f97a78a Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı adc7054390 fix go to post if its on page 7 years ago
Barış Soner Uşaklı 7a2d6fe22d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 089769c107 closes #6302 7 years ago
Barış Soner Uşaklı a9f6726b3d closes #6296 7 years ago
psychobunny 29be18ae5b closes #6268 7 years ago
Barış Soner Uşaklı b2cb3def98 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Andrew Rodrigues dd34fde7b5
Merge pull request #6256 from RoiEXLab/patch-1
Start reading progress at 0
7 years ago
Barış Soner Uşaklı 8689ffe78f closes #6291 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
Barış Soner Uşaklı c7506d77b0 closes #6247 7 years ago
Julian Lam 5302e79b56 fixing accidental usage of .includes
@benlubar
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 73d3157635 Remove keybindings in ACP as nobody uses them anymore.
If you do, let me know, heh.
7 years ago
RoiEX 92d3844988
Start reading progress at 0 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ı f3fda152bf closes #6216 7 years ago
psychobunny 843fee62e2 utils.debounce 7 years ago
Julian Lam d8b67606bc fixed height detection in chat modal 7 years ago
Barış Soner Uşaklı 2b95dfde91 remove extra hook 7 years ago
Julian Lam f138d3cb70 adding noopener and noreferrer to links in widgets 7 years ago
Barış Soner Uşaklı 81d4766c1a closes #6236 7 years ago
Barış Soner Uşaklı 3d81bcb1fe closes #6238 7 years ago
Barış Soner Uşaklı 772872fb03 trigger action:windows.loaded on coldload if widgets are already rendered 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 3de54a5488 Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam f37b9d786d Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 2ad2ef96ba no taskbar invocation on chats page, fixes #6227 7 years ago
Barış Soner Uşaklı 2f3b7279be closes #6212 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 9bcd4928c7 Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam ec07247854 Merge remote-tracking branch 'origin/master' into develop 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
Barış Soner Uşaklı c70cb0d7ad please eslint 7 years ago
Barış Soner Uşaklı bac2da0ace dont crash if app.logout is called from code 7 years ago
Barış Soner Uşaklı 0d2a7359e9 remove step size 7 years ago
Barış Soner Uşaklı ed3e8d282e closes #6193 7 years ago
Barış Soner Uşaklı ff72d022c1 closes #6206 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
Barış Soner Uşaklı 8446a733e5 closes #5569 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
Barış Soner Uşaklı 2b6410f201 Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission 7 years ago
Julian Lam dee18d8442 Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam 8588a54ff2 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 783d2eb073 remove console.log 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
Barış Soner Uşaklı c12b42180d closes #6189 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
Baris Usakli 025709499c more fixes 7 years ago
Baris Usakli 242dc41aca move privileges to same page 7 years ago
Julian Lam 5c3c608109 fix chat resizing of modal to work with flexbox implementation 7 years ago
Baris Usakli 63b9255fa1 Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission 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
Baris Usakli 4a73621dca chat privilege 7 years ago
Julian Lam 290aa312b4 fixed call to missing method, #6181 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ı 802ec0e384 remove reduntant code 7 years ago
Barış Soner Uşaklı 76e8bcd80b closes #6167 7 years ago
Barış Soner Uşaklı 43180d4b83 #6158 7 years ago
Barış Soner Uşaklı 19ae8dc7e7 closes #6154 7 years ago
Barış Soner Uşaklı faded26dea Revert "disallow underscore in slugs (#6133)"
This reverts commit 4fc3115f33.
7 years ago
Julian Lam 94e8b2b38d Added ajaxify.isCold()
And used it in app.js, so window.scrollTo(0, 0); is not called
on cold load (since you're already at the top). Useful in low-
bandwidth modes since you might accidentally get kicked to the
top of the page due to a slow connection and delayed .init().

Slightly related to testing in #6150
7 years ago
Barış Soner Uşaklı d9e115c3e6 closes #6146 7 years ago
Barış Soner Uşaklı fd78eb6d57 closes #5533 7 years ago
Baris Usakli 3551d7d68e closes #4804 8 years ago
Barış Soner Uşaklı 548ec6baf7 closes #6144 8 years ago
Julian Lam 4fc3115f33
disallow underscore in slugs (#6133) 8 years ago
Julian Lam 78c83f2561 fixing tests 8 years ago
Julian Lam 17c52a515d fix incorrect padding/margin values in images in digest 8 years ago
Barış Soner Uşaklı cb4930dac8 remove version and environment from config 8 years ago
Barış Soner Uşaklı 54b12119e9 add registered query param 8 years ago
Peter Jaszkowiak c731661a39 Remove external sources from installer page (#6101)
* Remove external sources from installer page

* Remove bootstrap.min.css

* Make spinner display consistently cross-platform

* Change spinner to look better
8 years ago
Baris Usakli 947fc739eb remove extra translator require 8 years ago
Julian Lam c8395a9bfb Fixes #6056
Waiting for someone to qq my clever code in 3... 2...
8 years ago
Muhammad Osama Arshad 64895310a9 fix #5973 8 years ago
Barış Soner Uşaklı 63388be44c closes #6084 8 years ago
Baris Usakli 4e029556df closes #6081 8 years ago
Julian Lam cf9fe0d5af closes #6069 8 years ago
Barış Soner Uşaklı cd3d1f07e0
fix flagReason 8 years ago
Barış Soner Uşaklı 2ec54166f7 only show alert if on the same category 8 years ago
Barış Soner Uşaklı 9eabb1dc94 closes #6044
use the same UX from /recent on individual categories
8 years ago
Barış Soner Uşaklı f7ccabc3cc only add relative path if not starts with http(s) 8 years ago
Barış Soner Uşaklı 80ecd4ba6d closes #6036 8 years ago
Julian Lam 7e0d0e0eb5 Merge remote-tracking branch 'origin/develop' 8 years ago
Barış Soner Uşaklı b74fe98dc4 closes #6031 8 years ago
Barış Soner Uşaklı 008f757a9b closes #6030 8 years ago
Baris Usakli c9465403f5 closes #6023 8 years ago
Julian Lam e42ff47e5c closes #6018 8 years ago
Barış Soner Uşaklı 25cd21fba8 closes #6019 8 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
Barış Soner Uşaklı d8dc79e3c7 closes #5992 8 years ago
Baris Usakli 6a6dc7ef06 closes #5990 8 years ago
Peter Jaszkowiak f4355efb30 Optimize translator
- Use `slice` less
- Skip iterations with `indexOf`
8 years ago
Julian Lam 684a66a760 fixes #5989 8 years ago
Peter Jaszkowiak 189008af75 Optimize translator
- Use `slice` less
- Skip iterations with `indexOf`
8 years ago
Peter Jaszkowiak 60a42aa651 Merge branch 'translator-optimization' into develop 8 years ago
Peter Jaszkowiak 190eea5691 Remove this useless check 8 years ago
Peter Jaszkowiak 46fafb20b9 Remove string.js dependency 8 years ago
Julian Lam 0efa403a68 invoking the proper ACE Editor mode 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
Julian Lam 9cbf1597cd Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam cd6dcff38b Split up customJS into customHTML and customJS for better organisation (#5981)
* WIP

* fixed customJS not actually working in footer

* Moving scripts to footer, #5980

* Added upgrade scripts for #5980
8 years ago
Peter Jaszkowiak 1c35213934 Fix #5970 and forking while debugging (#5965)
* Fix forking while debugging

Debugger address in use no longer happens

* Fix cropper error
8 years ago
Julian Lam 6852c92ed6 Merge remote-tracking branch 'origin/develop' 8 years ago
RoiEX e1f180ea3f Remove uneccessary undefined declaration 8 years ago
RoiEX ce9a3f20c5 Optimize transition 8 years ago
RoiEX 5e4e523198 Make progress bar finer 8 years ago
RoiEX 1fd160a4e6 Add Support for Firefox OSD 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
Chế Tiệp Chân Khoa 1f5d14dda4 place some code under the right loop (#5945) 8 years ago
Peter Jaszkowiak dc87d7fc0f Use .js instead of .jst
Fix #5934
8 years ago
Baris Usakli 8276e20254 closes #5937 8 years ago
Baris Usakli a2508161c6 fix hover bg color 8 years ago
Julian Lam b8ce4023c3 finish redirect if success returned 5x, via installer 8 years ago
Julian Lam e64c1d28e6 closes #5931 8 years ago
Julian Lam 514317ab20 using translator.unescape instead of replaces 8 years ago
Julian Lam 211482bbc0 fixes #5927 8 years ago
Baris Usakli bf79857b7d closes #5908 8 years ago
Julian Lam 1034626896 Merge remote-tracking branch 'origin/develop' 8 years ago
Peter Jaszkowiak 23e7222dfa Update Nodemailer to v4
also filter out .jst files from email template dropdowns
8 years ago
Peter Jaszkowiak cfba8970e1 Fix posts block usage in categories page 8 years ago
Peter Jaszkowiak c91dfb46f6 Switch module t.js usage to Benchpress 8 years ago
Peter Jaszkowiak 71aab79a9a Switch client t.js usage to Benchpress 8 years ago
Peter Jaszkowiak dc3f89a505 ajaxify t.js usage to Benchpress 8 years ago
Peter Jaszkowiak 5885e37127 Switch admin t.js usage to Benchpress 8 years ago
Julian Lam cd60d79a13 closes #5904 8 years ago
Andrew Rodrigues 60e0f4ced9 minor typo 8 years ago
Barış Soner Uşaklı 5cc39e8546 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	package.json
#	src/views/admin/manage/ip-blacklist.tpl
8 years ago
Peter Jaszkowiak abffc29128 Use Benchpress (#5901)
* Use Benchpress

* Use Benchpress.compileParse

* Error for template load failure

* Use benchpressjs package

* Compile templates on demand

* Fix user settings page

* Fix admin search to exclude `.jst` files

* Fix 500-embed

So ajaxify can still show an error if the server goes down
8 years ago
Julian Lam 53ca6d1199 closes #5889 8 years ago
Julian Lam 73d4517d27 Revert "fixes #5894"
This reverts commit e2b40ddf34.
8 years ago
Julian Lam 9d2bf4746c Revert "fix reload loop for guests"
This reverts commit a67a0b0a08.
8 years ago
Julian Lam a67a0b0a08 fix reload loop for guests 8 years ago
psychobunny a13a5c02e9 closes #5899 8 years ago
Julian Lam e2b40ddf34 fixes #5894 8 years ago
psychobunny d5db97930d prevent "plugins" menu from being highlighted when going to Extend -> Plugins 8 years ago
psychobunny e8c40c8dc6 scroll to the actual subsection in the ACP when clicking on links pointing to that hash 8 years ago
Barış Soner Uşaklı ff88be91fa Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı 5dfb2fb83a up themes, fix notif test 8 years ago
Julian Lam c1d7b06ded Fixes #5873
- Notifications.getMultiple now takes an optional uid parameter
- If a notification link in dropdown points to a topic and you're
  in said topic, you will be scrolled to the post instead of
  ajaxified to it.
8 years ago
Baris Usakli bc0645dc26 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Baris Usakli 5a968730d5 closes #5880 8 years ago
Baris Usakli 575c9a41cd Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı f161bbf956 Post queue (#5878)
* #5876

* add user to post queue table

* add time of post into queue

add posting restrictions to queue

* fix shouldQueueLogic for guests

* add test for post-queue route
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
Julian Lam 7844408301 linting 8 years ago
Baris Usakli 8928db539b add missing radix 8 years ago
Julian Lam 4f9cbabec3 fixes #5853 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
Baris Usakli 44353a2b39 closes #5854 8 years ago
Baris Usakli de55c8e431 closes #4070 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
Peter Jaszkowiak 904f22522e Merge pull request #5821 from NodeBB/scoped-plugins
Support scoped plugin npm packages
Also fix logging in VS Code with the inspector debugger
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
Peter Jaszkowiak ee5895f534 Fix #5488 Support scoped plugin npm packages 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
Baris Usakli 4e7447c9d6 remove ajaxify.widgets.reposition 8 years ago
Barış Soner Uşaklı 923bd86662 Widgets refactor (#5817)
* widgets refactor

render widgets server side
widgets can use all the data the template can use

* fix tests
8 years ago
Barış Soner Uşaklı e9360347ea less padding, closes #5811 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
Baris Usakli e0de922ede Revert "widgets refactor"
This reverts commit 9e94edb5aa.
8 years ago
Baris Usakli 9e94edb5aa widgets refactor
render widgets server side
widgets can use all the data the template can use
8 years ago
Baris Usakli 7538210b07 #5772
load correct timeago settings on cold load instead of after page load
8 years ago
Julian Lam 3f2c183cbd Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak f1c955e6fc Fix scrollStop not working sometimes 8 years ago
Peter Jaszkowiak 6cb8440715 Fix #5793
Use a custom header instead
8 years ago
Baris Usakli 5167c1aa4f Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Baris Usakli 9979987342 perserve hash when switching categories 8 years ago
Baris Usakli 4890731444 don't error if topicsContainer is not set 8 years ago
Baris Usakli e8bff210c9 clear selectedCategory on init 8 years ago
Barış Soner Uşaklı b64ba40c67 closes #5772 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
Julian Lam e604d6e23e closes #5768 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
Peter Jaszkowiak aefdc4b24b Refactor helpers import/export 8 years ago
Baris Usakli da8b1b605c #5723 8 years ago
Baris Usakli d13eb52f39 closes #5722 8 years ago
psychobunny 9cb5f71e08 #5717 also don't show category section in subcategory listing 8 years ago
psychobunny 88d5f97280 closes #5717 8 years ago
psychobunny 22891215cd Merge branch 'master' of https://github.com/NodeBB/NodeBB 8 years ago
psychobunny 179b11b7d2 ACP allow ctrl-click to open new in new tab when settings are unsaved 8 years ago
Baris Usakli 883b35243f fix lint 8 years ago
Baris Usakli 1fa52267d4 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/src/admin/manage/category.js
8 years ago
Baris Usakli de5fe25e57 closes #5715 8 years ago
psychobunny dcbe4864a9 fix bad merge / dupe code 8 years ago
Barış Soner Uşaklı 08aaabd33c closes #5642 8 years ago
Baris Usakli 5af1161e09 fix eslint 8 years ago
psychobunny 82cab53508 fix digest scheduling information on cold load 8 years ago
psychobunny 1b98449686 closes #5704 8 years ago
Julian Lam 3e6d51fc5a fixes #5606 :rage2: 8 years ago
Julian Lam 74965654de adjusted cropbox max-height calculation to be dynamic 8 years ago
Julian Lam 3e218a75b8 allowed zooming again @pichalite 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
Peter Jaszkowiak 542ae5e71f Extract in-place translation from bootbox wrapper for use anywhere 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 816809ce3c fixes #5606 8 years ago
Baris Usakli 51a85031f7 utils tests 8 years ago
Julian Lam 064a8aa6d7 Allowing custom date range to be supplied in pageviews graph, closes #5541 8 years ago
Barış Soner Uşaklı 29c0b8337e closes #5645 8 years ago
Barış Soner Uşaklı 17b57be835 Merge pull request #5661 from NodeBB/utils-rtrim
Deprecate non-standard `String.prototype.rtrim`
8 years ago
Peter Jaszkowiak 2b2544a4b1 Deprecate non-standard `String.prototype.rtrim` 8 years ago
Julian Lam 87fbb44ca8 fixes #5660 properly 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
psychobunny b3bd70235a refactor ban messaging; add ban duration to message; use bootbox instead of alert 8 years ago
psychobunny 76a2b4800b add back timeago.allowFuture so we can notify when a ban will expire 8 years ago
Barış Soner Uşaklı 5673769c8c add back removed rtrim method 8 years ago
Barış Soner Uşaklı 670a5d9ca0 fix timestamp not showing for replies, remove allowFuture @julianlam 8 years ago
Barış Soner Uşaklı 986e52897d fix crash if locale is undefined 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
Peter Jaszkowiak 65e31493a9 Escape ACP search values 8 years ago
Peter Jaszkowiak 81e23a8a9a Fix #5622 8 years ago
Barış Soner Uşaklı 081578c7f4 Merge pull request #5616 from NodeBB/auto-lang
Automatically detect user language based on browser accepts header
8 years ago
Peter Jaszkowiak 64bf542d17 Fix HTML `lang` attribute using the `defaultLang`
Themes need `lang="{function.localeToHTML, userLang, defaultLang}"` in
their header.tpl file
8 years ago
Barış Soner Uşaklı c43a4e4b82 Merge pull request #5615 from NodeBB/fix-5536
Fix #5536
8 years ago
barisusakli 08dd412896 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	src/upgrade.js
8 years ago
barisusakli 75e5f2da74 closes #5485 8 years ago
barisusakli 73700ed747 closes #5617 8 years ago
Peter Jaszkowiak cc76a8663d Add flag for detecting if the mock is being used 8 years ago
Peter Jaszkowiak 30b47d39f3 Fix #5536 8 years ago
barisusakli b45111d44b show max message length in error message 8 years ago
Peter Jaszkowiak 9d8ff4ea3e Fix images not displaying in signatures 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
Peter Jaszkowiak 2827db3309 Fix sounds playing through multiple tabs 8 years ago
barisusakli 20eac0de94 closes #5518 8 years ago
barisusakli e3205bcfad merge 8 years ago
Peter Jaszkowiak baa2a59f4c Fix ace editor not working 8 years ago
Peter Jaszkowiak 0fe10f5e86 Escape topic titles at the source, deduplicate 8 years ago
barisusakli 36df4cdf97 fix cyclic dependency issue 8 years ago
barisusakli b8c606cbbd closes #5519 8 years ago
Julian Lam a141835cf8 Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 1fb48ef7a7 Fix #5592 (#5593)
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents

* Fix tests
8 years ago
Julian Lam d18cfced96 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Peter Jaszkowiak a8add6477c Fix merge conflicts 8 years ago
Julian Lam a62a4e698f Merge pull request #5578 from NodeBB/utils-translator-require
Make utils and translator easier to require
8 years ago
Peter Jaszkowiak 484a800327 Merge branch master into develop 8 years ago
Peter Jaszkowiak 980e9026f3 Fix #5588, translator ignores unclosed tokens 8 years ago
Peter Jaszkowiak 9368e666d8 Fix failing test 8 years ago
Peter Jaszkowiak 010473e5cc Merge branch 'master' into patch-pitaj 8 years ago
Peter Jaszkowiak dc4f2be156 Remove ace global for eslint 8 years ago
Julian Lam 126237e2c9 Merge pull request #5576 from pichalite/zxcvbn
Closes #5521
8 years ago
Peter Jaszkowiak 1892492505 Deprecate utils.walk, remove prototype modification 8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
Peter Jaszkowiak 0ef30e91ba Use ace-builds npm package instead of vendor
ace can be referenced as an r.js module, reduces acp bundle size
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
Peter Jaszkowiak 1deeaaeb39 Fix #5563 8 years ago
Julian Lam 7afe8a32f6 Merge branch 'master' into develop 8 years ago
Julian Lam 1594a84e1c fixes #5536 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 250bb4b011 fixed leftover merge conflict artifact 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 6d444ccacf Merge pull request #5526 from NodeBB/patch_5346
Fix #5346
8 years ago
Peter Jaszkowiak c199075d98 Fix #5346 8 years ago
Barış Soner Uşaklı 0396e9300b Merge pull request #5500 from RoiEXLab/fix-admin-search
Fix admin Search
8 years ago
Julian Lam 860999fa6c Merge remote-tracking branch 'origin/master' into develop 8 years ago
psychobunny 286d0ab203 prevent tagsinput initialization from flagging as unsaved 8 years ago
psychobunny 62f445ad7f ACP: added tagsinput to other fields that are "comma separated" 8 years ago
barisusakli bb146e049c fix lint 8 years ago
psychobunny 447b7b02ca use tagsinput for #5439 instead 8 years ago
psychobunny f2eb4b8083 closes #5439 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 8a123f7c1c closes #5509 8 years ago
barisusakli 69c6ee5834 closes #5483 8 years ago
barisusakli 992e3128bd closes #5499 8 years ago
Julian Lam af2d9fb85b Merge branch 'master' into develop 8 years ago
Accalia de Elementia 743a7e00b4 fix: auto cropper on image upload selects maximum image area by default 8 years ago
barisusakli 531df7bd09 closes #5504 8 years ago
RoiEX c517733e34 Fix admin Search 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
barisusakli 284485c885 check data.config 8 years ago
Julian Lam 58cbf44143 Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 007051c14c Fix #5476 8 years ago
Julian Lam b1ceec7571 Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli 347761173a helpers tests 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
Julian Lam 995f8296a4 linting 8 years ago
Julian Lam e71bd7a27f Merge branch 'master' into styleguide 8 years ago
barisusakli 048eb8a320 some helper tests 8 years ago
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files 8 years ago
Peter Jaszkowiak ee9d7584e4 Fix test, misc 8 years ago
pichalite 1d5b3cc73f ACP manage tags page UI changes 8 years ago
Julian Lam a9f144230e Merge branch 'master' into develop 8 years ago
psychobunny 7b7565ee8e Merge pull request #5468 from pichalite/acp-groups
ACP manage groups UI updates
8 years ago
Julian Lam 672d7352bb Merge branch 'master' into develop 8 years ago
pichalite dcb0f18422 ACP manage groups UI updates 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
Julian Lam 62e0f5f883 Merge remote-tracking branch 'origin/master' into develop 8 years ago
pichalite fd0f0beaf2 lint 8 years ago
pichalite a99572fc48 Use ACP profile image dimension setting in cropper 8 years ago
Peter Jaszkowiak 23540afaeb Resolve merge conflicts 8 years ago
Peter Jaszkowiak b227297ef3 ESlint no-use-before-define 8 years ago
Peter Jaszkowiak 93f38d4f30 ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
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 fdf4f873bf ESlint eqeqeq
and require-jsdoc, no-negated-condition
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 a0a50677da ESlint n-loop-func, yoda 8 years ago
Peter Jaszkowiak 04bb6513b0 ESlint no-cond-assign, no-void, valid-jsdoc 8 years ago
Peter Jaszkowiak 32dc7c23ea ESlint guard-for-in, no-nested-ternary
and operator-linebreak
8 years ago
Peter Jaszkowiak c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
8 years ago
Peter Jaszkowiak 64a6322002 ESlint no-extra-boolean-cast
and no-shadow-restricted-names
8 years ago
Peter Jaszkowiak daa169c094 ESlint no-unused-expressions 8 years ago
Peter Jaszkowiak ac2f69f7af ESlint no-return-assign
and no-restricted-modules
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 41896e1fc7 ESlint lines-around-directive 8 years ago
Peter Jaszkowiak f3a8256f35 ESlint strict 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 34e233fe1d ESlint spaced-comment 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 d1101a7fb4 ESlint dot-notation
and func-call-spacing
8 years ago
Peter Jaszkowiak d7526b5e44 ESlint array-bracket-spacing
and object-property-newline
8 years ago
Peter Jaszkowiak 554075b312 ESlint no-continue 8 years ago
Peter Jaszkowiak d9c1f6f088 ESlint no-extra-semi 8 years ago
Peter Jaszkowiak 3d6bfa47c5 ESlint no-useless-return 8 years ago
Peter Jaszkowiak 879470f417 ESlint brace-style 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
pichalite 8dab8864f6 Add extensions for cropped images 8 years ago
barisusakli d6cdc6d34d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Peter Jaszkowiak 9f15008247 Address review issues 8 years ago
Julian Lam a379b03e71 lint 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 d784a8dce8 Restore uploader.js 8 years ago
pichalite 43f4d9819e Linting 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 8bf719b258 Merge pull request #5431 from NodeBB/ajaxify-cache-buster
Ajaxify improvements, `/assets/uploads/` fixes, cache buster improvements
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 0667870286 set an active state for pageview options 8 years ago
psychobunny ccfec622d4 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 8 years ago
psychobunny 9e354a09d1 prettier stats on dashboard 8 years ago
Julian Lam 7f124a3ccf Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 8f27d7810b Ajaxify improvement, `/assets/uploads` 8 years ago
Julian Lam 7ba111acdd Merge pull request #5420 from NodeBB/assets-route
/assets/uploads
8 years ago
Julian Lam a8fd1440d4 fixed incorrect language key in ip blacklist page 8 years ago
psychobunny 570efb9e4b Merge branch 'develop' into threads-enhancement 8 years ago
psychobunny 83cd960ffa improved threaded view design 8 years ago
Peter Jaszkowiak aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
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 a3df9132f7 Fix styling 8 years ago
pichalite a41acead44 Fix tabs 8 years ago
pichalite 6a073277ac Fix ACP layout on tablets 8 years ago
pichalite a808d1b4d9 Set aspect ratio to square and confine crop box to image 8 years ago
Julian Lam bfd16d188e Merge branch 'master' into develop 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
Peter Jaszkowiak bb7a35b85c Fix translator catching JS errors in callbacks 8 years ago
Peter Jaszkowiak c14a31644b Merge branch 'master' into 'develop' 8 years ago
Peter Jaszkowiak bc9fa0a990 Remove requests to nonexistent language files 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
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 339845ff6b Merge pull request #5366 from pitaj/build-translations
Compile translations in the build step
8 years ago
Julian Lam 76376f52c3 Merge remote-tracking branch 'origin/master' into develop 8 years ago
psychobunny 19c3f54a30 Merge pull request #5379 from pichalite/issue-5344
Fixes #5344
8 years ago
pichalite 7b234c666f Fixes #5344 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
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 9dcbe875a0 Merge branch 'master' into develop 8 years ago
Julian Lam c99321a518 always setting app.previousUrl now, and passing cid into filter:category.topics.get hook 8 years ago
psychobunny 65cf2dbe55 move updateRoomUsage to after graph setup #5346 8 years ago
psychobunny 7f9381b087 closes #5346 8 years ago
psychobunny 9797f69324 action:chat.sent 8 years ago
Julian Lam 20d035bdac hotfix to utils.isRelativeUrl to handle null or undefined first argument 8 years ago
Julian Lam 9987d52855 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Julian Lam 2ab2486d3b if require call on page script fails, remove from scripts array 8 years ago
Julian Lam 6a591069c5 fixes issue with ajaxify.end not firing 8 years ago
Julian Lam 43056a4bfa Merge branch 'master' into develop 8 years ago
Julian Lam 64e4ef042b allowing plugins to subscribe to action:script.load and pass in function references 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
Peter Jaszkowiak cb82824c13 Fix ACP title bug with hashes (#5331) 8 years ago
Anil Mandepudi 8ddf7eb922 Use scrollStop in chat (#5326) 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
Julian Lam a8521d0349 remove double-click to mark all notifications read 8 years ago
barisusakli 190b3759a0 fix tests 8 years ago
barisusakli 827e4b4ffd refactor post tools 8 years ago
pichalite cae5a9ac58 Update ACE editor to latest 8 years ago
Julian Lam 29c7ae7645 Merge remote-tracking branch 'origin/master' into develop 8 years ago
psychobunny f742c847e1 Merge pull request #5304 from pitaj/master
Fix ACP title issues
8 years ago
Peter Jaszkowiak 6d00d5f6a5 Fix ACP title issues 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
Julian Lam d77f417cf3 allowing timeago timestamps to be in the future 8 years ago
Peter Jaszkowiak 460b830a96 Fix ajaxify loading default language translations 8 years ago
Peter Jaszkowiak 038c45f4b6 `admin/manage` translations, misc
- Translate Manage templates and JS
- Change `translator.translate -> .html` into `.translateHtml` where fitting
- Translate `admin/partials/download_plugin_item`
8 years ago
Peter Jaszkowiak 94eb74646c `admin/manage/categories` translations
- Fix privilege table headers so bottom borders align
- Fix `/admin` route to show Dashboard title correctly
- Translate ACP category management and privileges templates
- Translate ACP category management JS
- Remove unnecessary translates in JS
- Fix bootbox wrapper to work with translations containing html
8 years ago
Peter Jaszkowiak 862908d0eb ACP search and title improvements
- Search uses translated titles if available
- Use `advanced` for `development` route titles
- Remove route title from showing up in results
- Highlight matching part of result title
- Don't show empty result contents when only title is matched
8 years ago
Peter Jaszkowiak 3008794797 `admin/general` JS translations and misc 8 years ago
Peter Jaszkowiak 95bef8f3f6 `admin/extend` JS translations and misc 8 years ago
Peter Jaszkowiak 38eba81933 ACP menu and title translations 8 years ago
Peter Jaszkowiak bae1daf5dc Bootbox wrapper improvements 8 years ago
Peter Jaszkowiak 606de990e9 `admin/advanced` JS translations 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
Peter Jaszkowiak 4eca23174a Translate dynamically added admin content 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
barisusakli 55b68197aa closes #4544 8 years ago
barisusakli 9d75c48236 closes #4563 closes #4569 closes #4566 8 years ago
Julian Lam e6768ab572 some more fixes to flags, simplifying qs manipulation in flags search
re: #5232
8 years ago
Julian Lam 451c2838d0 Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
barisusakli c32e6aaabb use build module instead of forking 8 years ago
barisusakli e86708cb0c add cid to widgets.render
init date pickers in widgets ACP
8 years ago
Julian Lam b79073cf32 Merge branch 'translator-escapes' of https://github.com/pitaj/NodeBB into pitaj-translator-escapes 8 years ago
Julian Lam e227f5842a Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
Mathias Schreck b1a48981ef Check if href exists before accessing it (#5281)
I got a lot of errors in Firefox 50 `TypeError: $(...).attr(...) is undefined  nodebb.min.js:25167:24` which points exactly to that line I’ve changed.
Since HTML5 `href` is not a required attribute of an `a` tag. We have a couple of links without `href` and every time you click it you will get this error.
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 aaec71bc0c added stepSize to flags chart, #5232 9 years ago
Julian Lam dc508fa0cb Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Julian Lam ebc9abd773 upgrade script and graphs for #5232 9 years ago
barisusakli 0b9829850c closes #5273 9 years ago
Julian Lam 5d63c0aa3b Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 9 years ago
psychobunny 6b7b51eaf0 Merge pull request #5170 from pitaj/master
ACP search updated to support translations
9 years ago
Peter Jaszkowiak e2ea3cb21e Fix linting error 9 years ago
Julian Lam a2fecf5ae4 Merge remote-tracking branch 'origin/master' into flagging-refactor 9 years ago
Julian Lam 9f9051026b more work on #5232 9 years ago
Stuart Williams 647d0e0a75 Avoid encoding HTML in Twitter social share text 9 years ago
Stuart Williams cafc5cd891 closes #5259 9 years ago
Peter Jaszkowiak 8ca98625b9 Key through search results 9 years ago
Peter Jaszkowiak f1cfed50a1 Translate skins and themes fully 9 years ago
Peter Jaszkowiak 5843e8dd77 Fix Translator to work with namespace paths 9 years ago
Julian Lam cd3002e812 removed user flag reset method and associated socket call from ACP 9 years ago
Julian Lam 88958049eb added some more filters, and appending event to history on flag creation
issue #5232
9 years ago
Julian Lam 8e1d441e20 Added some quick filters, #5232 9 years ago
Julian Lam 753d4b0275 wrapped up basic functionality of list and detail for flags, filter support. #5232 9 years ago
Julian Lam f1d144f15e history appending, finished up notes, #5232 9 years ago
Peter Jaszkowiak 5223bb5191 Merge branch 'master' of github.com:nodebb/nodebb 9 years ago
Julian Lam d9d60c20bd flag updating and note appending, #5232 9 years ago
barisusakli 4cb48c46ab closes #5242 9 years ago
barisusakli 2291899f4f show chat room title in taskbar 9 years ago
Peter Jaszkowiak 240e958fb1 Use config.relative_path instead of allcaps 9 years ago
Peter Jaszkowiak de6ced4e07 Tests for admin search, simplifications 9 years ago
Peter Jaszkowiak e3dd68e19c Explanations and simplifications 9 years ago
Peter Jaszkowiak a431dc0305 ACP search updated to support translations 9 years ago
barisusakli 2e28a8f7c7 closes #5239 9 years ago
barisusakli a4b46fd5ce closes #5236 9 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
9 years ago
Julian Lam c987b8474e fixing new post parsing to not add img-responsive to avatars 9 years ago
Julian Lam 6f1e5a83ab resolve regression caused by part of d28f7de 9 years ago
Julian Lam d28f7de19e fixes #5228 9 years ago
barisusakli db14c29e41 socket.io/categories tests 9 years ago
barisusakli 0756fcce7e eslint 9 years ago
barisusakli 2c77a88ba4 closes #5220 9 years ago
Julian Lam 0e8bf17ff0 re: #5211, bringing back the RELOAD BUTTON :rage2: 9 years ago
Barış Soner Uşaklı 0c9f61c629 Merge pull request #5217 from yariplus/patch-15
Allow sending Error objects to alertError instead of just plain strings.
9 years ago
Timothy Fike f1e3e155c4 Update app.js 9 years ago
Timothy Fike 2d84c98565 Allow sending Error objects to alertError instead of just plain strings. 9 years ago
pichalite d4040ed52e Fixes #5213 9 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...
9 years ago
Julian Lam 0f93206122 lint 9 years ago
Julian Lam 7d523fae0f closes #5200 9 years ago
Julian Lam 885316d78f also show minutes and hours in cut off timestamp 9 years ago
Julian Lam 75ff60e4d5 partial revert of a9984bb, adding in a layer to translate ISO
timestamp to datetime attribute and save localised string into
title attribute.

Fixes #5109
9 years ago
barisusakli a9984bb926 closes #5108 9 years ago
barisusakli 1a9dd2311c closes #5175 9 years ago