1334 Commits (0aad131204b1b8737a3005721b1599a744ad34a6)

Author SHA1 Message Date
Barış Soner Uşaklı 92744a7200 closes #6852 6 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
6 years ago
Julian Lam 02046889ec closes #6691 6 years ago
LudwikJaniuk c7f3b76b4e DRY req props that depend on auth (fix #6727) (#6731)
* DRY req props that depend on auth (fix #6727)

authentication leads to req.loggedIn and req.uid being set. However, a
later authentication event might outdate them. Here, I create one
function for setting those properties, and make sure it also is called
on the `action:middleware.authenticate` hook, which would be such an
authentication event. If there are other places, those should be added
as well.

* fix lint errors

* fix lint error

* change exports
6 years ago
Julian Lam c2c925cacd closes #6678 6 years ago
Julian Lam 29836aaad9 rename session account middleware to sessions, plural, prep for fixing #6678 6 years ago
Barış Soner Uşaklı fa499aef18 closes #6680 7 years ago
Barış Soner Uşaklı c7d6cacd98 closes #6658 7 years ago
Peter Jaszkowiak 04d31fe1d4 Precompile all templates
- Benchpress compilation is 33x faster now
- Native module with JS fallback and pre-built binaries
- Dev template build is <1sec now
- Minified template build is ~5sec (uglify accounts for almost all)
7 years ago
Julian Lam 7a53fa9469 Added block and unblock button to profile dropdown menu, #6560 7 years ago
Barış Soner Uşaklı 9912c400b6 closes #6612 7 years ago
Barış Soner Uşaklı ccad95cf73 closes #6579 7 years ago
Julian Lam ec91ef1c64 closes #6553 7 years ago
Barış Soner Uşaklı 229e49cf8f closes #6523, closes #6524 7 years ago
Julian Lam 99f1a5380e closes #6483 7 years ago
Julian Lam dc386b5b23 Merge branch 'master' into user-blocking 7 years ago
Julian Lam ca932d30d2 basic UCP integration #6463 7 years ago
Julian Lam bfee23adee basic methods and initial integration for #6463 7 years ago
Julian Lam 67dec83011 profile export for #6441 + integration 7 years ago
Julian Lam a6564b7b4e endpoint to download user attachments, #6441 7 years ago
Julian Lam 2e6e7f7484 posts export endpoint for GDPR, re: #6441 7 years ago
Julian Lam 8e822c7772 Added user consent pages (#6430)
- "Your Rights & Consent" user settings page
7 years ago
Barış Soner Uşaklı 7cd004ca23 user uploads route 7 years ago
Julian Lam 1ce448f2a1 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı cf087b6070 #6272 strip all tags 7 years ago
Barış Soner Uşaklı ac1f7eefe5 closes #2304 7 years ago
Barış Soner Uşaklı b907f08bf7 closes #6272 7 years ago
Barış Soner Uşaklı 8427601b04 closes #6287 7 years ago
Barış Soner Uşaklı c7506d77b0 closes #6247 7 years ago
Barış Soner Uşaklı 8446a733e5 closes #5569 7 years ago
Baris Usakli 242dc41aca move privileges to same page 7 years ago
Baris Usakli 4a73621dca chat privilege 7 years ago
Barış Soner Uşaklı 2bf275fe29 #6158 7 years ago
Barış Soner Uşaklı 43180d4b83 #6158 7 years ago
Peter Jaszkowiak 11b9cb7688 Fix #6076, `action:home.get:*` returned to previous functionality (#6077)
Added tests to confirm `buildHeader` is used and `/api` works
7 years ago
Peter Jaszkowiak f5385e38bf Add `/me*` route which redirects to `/user/[userslug]*` (#6063)
* Add `/me*` route which redirects to the current user's information

- `/me` -> `/user/[usertslug]`
- `/me/bookmarks` -> `/user/[userslug]/bookmarks`
- `/me/settings` -> `/user/[userslug]/settings`

etc

* Add tests for `/me/*`
7 years ago
Barış Soner Uşaklı e4ea4d5134 move composer routes to its own file 7 years ago
Peter Jaszkowiak bbdc55cb3a Better fix for #5993 (#6034)
* Better fix for #5993

Also a nice newline so the line doesn't get overwritten when running `./nodebb upgrade`

* Optimizations for custom homepage

Move it into a separate module
7 years ago
Barış Soner Uşaklı 5b2a674a4f closes #6020 7 years ago
Barış Soner Uşaklı d5d6748c71 closes #6013 7 years ago
Peter Jaszkowiak ab8465d7b6 Make deprecation warnings more clear (#5996)
* Add these as warnings

To be removed in next major version

* Make ACP search's purpose more clear

* Only warn once per deprecated path
7 years ago
Baris Usakli 852396e60d closes #5903 7 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
Baris Usakli bc0645dc26 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Julian Lam 6ec1bfd660 added artificial delay on reset route so that the heat death of the universe will arrive before you manage to identify a valid reset code 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
Julian Lam ab8d765f4f Merge branch 'master' into develop 8 years ago
Julian Lam c9c27b86c4 added back logic to strip leading slashes, but after the fix to app.all 8 years ago
Baris Usakli 6087f3c8cd test router fix 8 years ago
Julian Lam 84c1a182e5 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Baris Usakli e9639833c5 add router.all 8 years ago
Julian Lam 233297367b strip leading slashes from path if double-slash is accidentally used, stripping trailing slash from relative path retrieved from config.json 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
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
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 d469f53eba using async in batch
removed unused code in debug
8 years ago
psychobunny 14bda343b3 use direct db call to get rss_token instead 8 years ago
Baris Usakli 77103fb3d1 closes #5785 8 years ago
Baris Usakli 7350e54b62 change to verbose 8 years ago
Baris Usakli ef9e656f34 closes #5740
added token to topic page as well
check privilege even if token is provided
tests
8 years ago
psychobunny 228e9ab8e3 proof of concept for #5740 8 years ago
Barış Soner Uşaklı 890c2eff70 style changes 8 years ago
Barış Soner Uşaklı f6ac92111b style changes 8 years ago
Barış Soner Uşaklı a4ba88dc60 more feed tests 8 years ago
Barış Soner Uşaklı f3c4d2ebe3 closes #5636 8 years ago
Julian Lam 7f8f197e60 Merge branch 'master' into develop 8 years ago
barisusakli 449352d899 wait for all routes to load before listening 8 years ago
Julian Lam 793555a344 Merge branch 'master' into develop 8 years ago
RoiEX 33e474759b Change var names 8 years ago
RoiEX 186c1f40e9 Refactor Code 8 years ago
RoiEX 603d45fbfa Changed Serving Method 8 years ago
Julian Lam af2d9fb85b Merge branch 'master' into develop 8 years ago
barisusakli b1b87d339f more refactors 8 years ago
barisusakli bc8d297377 move out error and 404 controllers 8 years ago
Julian Lam 72e77772db Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 4bb49a7171 ESlint no-unused-vars 8 years ago
Peter Jaszkowiak 11cb3a9554 ESlint operator-assignment, block-scoped-var 8 years ago
Peter Jaszkowiak 5a45087fc8 ESlint no-unreachable, no-redeclare 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 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 2e031f3759 ESlint comma-spacing 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines 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 fcaefbadca Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli 4bbf517af3 rewards test 8 years ago
barisusakli 9f67142786 closes #5440 8 years ago
Julian Lam 7f124a3ccf Merge branch 'master' into develop 8 years ago
Julian Lam 7ba111acdd Merge pull request #5420 from NodeBB/assets-route
/assets/uploads
8 years ago
Peter Jaszkowiak 0fffde67b5 Undeprecate `/uploads` 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
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
barisusakli a15aaaf389 closes #5394
dont allow socket.emits during maintenance mode
8 years ago
Julian Lam bfd16d188e Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak bf44ca20f2 Better deprecation warning for old language route 8 years ago
Peter Jaszkowiak 54ac23cc7a Revert "No 404 responses for missing language files"
This reverts commit f0c941e5ae.
8 years ago
Peter Jaszkowiak f0c941e5ae No 404 responses for missing language files 8 years ago
Julian Lam dbb71423a8 executing core middlewares first before secondary or plugin middlewares 8 years ago
Peter Jaszkowiak 186209a0a3 Build plugin `staticDirs`
- route `/plugins` -> `build/public/plugins`
- symlink `staticDirs` directories into `build/public/plugins`
- remove custom `/plugins` route handling
8 years ago
Julian Lam 73879b824c Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 8c86b2e32c Build pipeline improvements
- Refactor meta/css
- `fs.link` usage consolidated to `file.link`
- rimraf built modules directory to fix error
- Remove `local-assets` flag
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
barisusakli 274448426d helpers.setupAdminPageRoute 8 years ago
Julian Lam 43056a4bfa Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak ffa2bd14f8 Fix reverse proxies breaking admin translations 8 years ago
Julian Lam 5e109bb4a8 Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
xucheng 40d73e2a54 fix ajax 404 err when base url isn't root (#5285) 8 years ago
Julian Lam 753d4b0275 wrapped up basic functionality of list and detail for flags, filter support. #5232 8 years ago
Julian Lam dde3d2b135 Merge remote-tracking branch 'origin/master' into flagging-refactor 8 years ago
Julian Lam 33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit 8 years ago
Julian Lam a1b49a98e7 locking down session deletion route to admins and global mods only 8 years ago
Julian Lam 98a104564b some light refactoring, details API (#5232) 8 years ago
Julian Lam 640df0379e flag list page (#5232) 8 years ago
Peter Jaszkowiak c5237443cd Standard language codes (#5218)
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
8 years ago
barisusakli 4ff71f6b0b allow two sections 8 years ago
barisusakli 069a90e792 move maintenance mode 8 years ago
barisusakli fb47bf3889 unread/recent changes closes #4774 8 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
8 years ago
Julian Lam 727710fbd9 using middleware.authenticate for chat route instead of ensureLoggedIn 8 years ago
Julian Lam 1abef16cd9 fixes #5147 8 years ago
barisusakli 1e486875f4 add top posters and most rep to acp 8 years ago
barisusakli 1a63672e66 more test fixes 8 years ago
Julian Lam ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 8 years ago
Julian Lam e80400665e closes #5111 8 years ago
barisusakli 5f16205d15 closes #5109 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 8 years ago
barisusakli 6f86621e30 closes #5096 8 years ago
barisusakli 0614957542 use req.app.render 8 years ago
barisusakli fe50c8d124 closes #5078 8 years ago
Jorge Meireles 4938b00635 Fix language path (#5032) 8 years ago
barisusakli 9f2533b5ba closes #5054 8 years ago
barisusakli 202edfa47e chat history access 8 years ago
barisusakli 2c140c2107 ability to filter flags by category 8 years ago
barisusakli fac68d52f6 cache group membership methods
groups.isMember
groups.isMembers
groups.isMemberOfGroups
clear cache for user on group.join & group.leave
8 years ago
barisusakli 9c1b1acc5b removed unsused requires 8 years ago
barisusakli aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
8 years ago
barisusakli 4aac8bbe6a closes #2222 9 years ago
barisusakli 84f88a6f15 refactor user search
use pagination on results
removed infinite scroll
changed the term and section to use the query param as well
pagination urls respect search
9 years ago
barisusakli 409621c661 closes #4843 9 years ago
Julian Lam 093b21fc31 fixes #4954 9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
Julian Lam 71a5e4a8a1 better error handling for session revocation if no login session is present, #4214 9 years ago
barisusakli d2cbd7e6dc new priv for uploads 9 years ago
barisusakli 7b86fd3dc0 closes #4835 9 years ago
Julian Lam 55bcc28e0e closes #4831 9 years ago
Julian Lam 4c62784358 closes #4829 9 years ago
Julian Lam d5961cfca3 #4827 9 years ago
barisusakli 789a3736af closes #4820 9 years ago
Julian Lam a14263349b updated termsOfUse to use registration interstitial instead of being integrated into register template 9 years ago
Julian Lam d2926f4fe7 WIP registration interstitial 9 years ago
Julian Lam f03018b7cc updated middlewares so if you have not completed registration, you will be required to do so 9 years ago
Julian Lam 0ba0001f75 WIP registration interstitial 9 years ago
psychobunny b37b083a4d new privilege: Access Topic
differentiation between Access Category and Access Topic, ie. allows you
to see the category view but not actually enter the topic itself
9 years ago
Julian Lam ba412f4a56 fully completed #4658 9 years ago
Julian Lam 149565169b closes #4658 9 years ago
Julian Lam 437770538c work-in-progress commit for #4655 9 years ago
barisusakli b3fa5583f8 closes #4650 9 years ago
Julian Lam 621e0d145e closes #4617
Serving english timeago strings from server instead of round-trip
re-request on failure.
9 years ago
Julian Lam f1deaa6fa5 Exposing middleware to app/req, organisation.
Organisation -- moved 404 and error controllers into the
controllers file instead of as local variables in routes/index
9 years ago
barisusakli 69e25fe4d5 closes #4612 9 years ago
barisusakli 702597d759 change /user/uid to /uid/:uid
so it doesn't conflict with actual user routes
was causing incorrect redirects if a user had a numeric userslug
@julianlam
9 years ago
barisusakli eb0aea6390 add /user/<uid> and /post/<pid> redirects
change notifications to use new redirects
9 years ago
Barış Soner Uşaklı 03b047bd59 fix another crash 9 years ago
barisusakli 09a03bbe10 fix validator crash 9 years ago
Julian Lam a500914143 Updated 404 for image handling
If an image or asset specified in static file handler is not
found (ENOENT), then the 404 handler is now invoked (as opposed to
prior, where a handled exception was thrown).

Also, when requesting images inline that do not exist, NodeBB
will now send back "404 Not Found" instead of the entire 404
page. If you access the broken link directly, you'll see the
404 page.
9 years ago
Julian Lam d0f08b4dd4 added prompt to passport input for Google SSO 9 years ago
Barış Soner Uşaklı 35ac64db7f Merge pull request #4504 from BenLubar/unread-topics
Add /unread/new, which is the same as /unread but does not show topics that were already partially read by the user.
9 years ago
Julian Lam 2ddcaa9ce1 added new hook for hotswap preparation 9 years ago
barisusakli 229326acd6 another tab 9 years ago
barisusakli f43be13f87 fix indent 9 years ago
barisusakli bec688cea0 relative path fix 9 years ago
barisusakli f7ac1d89ff fix undefined next 9 years ago
Ben Lubar 217f0c5652 Switch to a named filter for unread to allow future expansion.
Don't use the query string as it is not passed to infinite scroll.
9 years ago
Julian Lam 22f73a8f68 fixes #4463 9 years ago
barisusakli 78f4cbc9e4 fix indents 9 years ago
barisusakli 0f959c341b closes #4466 9 years ago
barisusakli f665a1e353 closes #4394 9 years ago
barisusakli b6e22b7723 closes #4367 9 years ago
Julian Lam 184a2c4540 IP blacklist functionality -- re: #4367
Squashed commit of the following:

commit 5c42fd732d091fa66cf5b45a2af5e1697cc1efcd
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Mar 14 17:29:45 2016 -0400

    allowing blacklist.test to be called synchronously

commit 979faf2dba5e6f6e2ae1bd07341e63678438daf1
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Mar 14 17:01:14 2016 -0400

    added plain ipv6 support and finished middleware logic

commit d4b72fc1aadff34df3ed7dec52ca8d3c3728a078
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 16:05:31 2016 -0500

    WIP IP Banning logic middleware

commit f08b2553890c5522b6a1eaf521fe4e94df40574a
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 15:26:27 2016 -0500

    tweaks to ACP, rule validator

commit 868abacaa494e6b8a88bd4ea429b1b066a9ecb2e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 13:50:05 2016 -0500

    IP Banning ACP page, styling, save&load functionality
9 years ago
psychobunny 9e832e006a closes #2920 9 years ago
psychobunny e069150625 closes #2165 9 years ago
barisusakli 3d4e058b6a closes #4192 9 years ago
barisusakli 5b6e8bd167 closes #4171 9 years ago
barisusakli e6cf8ec5cf more flagged posts shenanigans 9 years ago
barisusakli 086e99de5c wip flagged posts 9 years ago
barisusakli 1b9e18c6fc allow global mods to see banned users 9 years ago
Julian Lam b1d6d81992 ensuring that auth routes are loaded _after_ plugin routes,
just like in a reload.
9 years ago
barisusakli 1a87767c2c removed extra isAdminOrMod check 9 years ago
barisusakli dbc04cb4a2 getTopicWithPosts change, fix feeds 9 years ago
barisusakli cb8fcb80d1 closes #4083 9 years ago
barisusakli 32ca95319e closes #3436 9 years ago
psychobunny 42c0b973f1 closes #3134 9 years ago
barisusakli 92f0e2d86a closes #3586
added account/upvoted, account/downvoted, account/best
9 years ago
barisusakli ae9606f5ee closes #3738 9 years ago
barisusakli 96aa94ee10 refactor categories 9 years ago
Julian Lam ad9a1d0f2c closes #3989
Squashed commit of the following:

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

    wired up session revocation, #3989

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

    session deletion via session uuid

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

    WIP #3989

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

    saving more metadata and displaying sessions in UCP #3989

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

    updated fontawesome to v4.5.0

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

    saving user-agent metadata into user session #3989

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

    New user auth methods to add/revoke sessions, #3989
9 years ago
barisusakli da5891bcf6 remove debug 9 years ago
barisusakli 5d1169e686 changed the chat route to /chats/:roomid? 9 years ago
barisusakli 58d05f7c79 recent chat list with rooms 9 years ago
Barış Soner Uşaklı cdca09a7b2 escape error message on 500 page 9 years ago
Dustin Falgout 0e5830d6f2 add api endpoints to get user by username and by email
Signed-off-by: Dustin Falgout <dustin@falgout.us>
9 years ago
barisusakli 9125e778a1 Merge remote-tracking branch 'refs/remotes/origin/master' into room-optimize 9 years ago
Julian Lam b8b9da2c30 Squashed commit of the following:
commit 62d59620d26bc97c7d689e9af57cd8bff654c79e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 11:04:27 2015 -0500

    tweaked 503 template

commit 15a61cbc239c9d654691d91cdadce59e13d97586
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 10:58:19 2015 -0500

    added text about reloading being required if threshold values are changed

commit 3fe87699332ef0628b4db31f4afef245802a7bc0
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 10:53:35 2015 -0500

    added ACP settings for toobusy

commit f6a9964baff051072052e6ef99da9e1ffba014df
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 08:53:53 2015 -0500

    removed unused 503a template

commit e6d444736baf4c676f8461d30a5504c6e45df163
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 02:01:11 2015 -0500

    updated code to send static 503 instead of maintenance-style page

commit 11089ae2bb833e068b01ee77ee745d9fd5344805
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 01:18:45 2015 -0500

    added toobusy support so the Node process doesn't fall over at high load
9 years ago
barisusakli 1ecf27417a removed commented out stuff removed topics.enter 9 years ago
psychobunny 8cf6fe3aa1 closes #3808 9 years ago
Julian Lam 526afc0910 Merge remote-tracking branch 'origin/master' into user-icons 9 years ago
psychobunny f19043d046 profile cover photos 9 years ago
psychobunny 61b1f5fe32 allow regular uploading (modal) of cover photo 9 years ago
Julian Lam 68c3f9d849 Squashed commit of the following:
commit 56582bc9eee5d81a01f42a28808b617b9c96873a
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 05:21:11 2015 -0400

    added missing template

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

    sitemap index

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

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

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

    added groups to sitemap

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

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

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

    closes #3781

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

    closes #3782

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

    closes #3790

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

    check user settings

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

    wait for all callbacks when creating tags

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

    Merge pull request #3792 from drlogout/master

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

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

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

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

    add back thread tools filter

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

    Merge pull request #3787 from cubehouse/patch-1

    Upgrade script fails on some consoles

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

    closes #3789

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

    up theme

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

    closes #3788

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

    closes #3786

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

    Upgrade script fails on some consoles

    The upgrade script errors/fails on some consoles if the stdout.columns isn't set (my console did this when upgrading a Docker instance of NodeBB).
    Checking for stdout.columns before using, falling back to a couple of spaces for slightly prettiness if we can't work out the console width.
9 years ago
barisusakli 9bc43ba5e1 closes #3788 9 years ago
Julian Lam b52475c270 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/client/account/edit.js
	src/middleware/middleware.js
	src/socket.io/meta.js
	src/socket.io/user/picture.js
	src/user.js
	src/views/admin/manage/group.tpl
9 years ago
barisusakli 0e057a3d92 dont render 404 page for favicon 9 years ago
barisusakli 36e89ae15a closes #3771 9 years ago
barisusakli e60c1d8736 added process info 9 years ago
barisusakli f5e7d1ce01 private uploads 9 years ago
barisusakli da4034a10a middleware refactor 9 years ago
barisusakli 7854e67b7b closes #1637 9 years ago
barisusakli 1dcdba9b2a moved api route to api.js 9 years ago
Julian Lam 4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
9 years ago
barisusakli 2d01fe78d0 removed privileges.posts.get from addPostData
privilege data is already available higher up
9 years ago
Julian Lam 896abb59d3 Update default gravatar admin option to defaultAvatar 9 years ago
barisusakli ca294fc6ec closes #3663 9 years ago
barisusakli e5e41e85f2 accounts refactor #2
and various 404 fixes
9 years ago
barisusakli 3bb5d2aa86 accounts refactor part #1 9 years ago
Julian Lam ebed9d641c Add new ACP option to upload Touch Icon, #3668
Also added a number of fixes for mobile enhancements, such
as serving a manifest.json file for Android devices, and
serving proper link tags for all uploaded touch icons.

This commit also creates a new template helper for link tags.
9 years ago
barisusakli f3b6a5fbb9 generic getObject 9 years ago
barisusakli c139dfa843 closes #3631 9 years ago
barisusakli 244c75f809 admin controllers 9 years ago
barisusakli ade9a44b11 closes #3590 9 years ago
psychobunny b660eec67f closes #3608
inb4 all admin routes are publically visible
9 years ago
barisusakli 734a45ae03 dont log error if its redirect 10 years ago
Julian Lam cf679f0c5e Fix julianlam/nodebb-plugin-2factor#6 10 years ago
barisusakli 25502f0687 closes #3508 10 years ago
barisusakli 9d4d904479 404 fix 10 years ago
barisusakli e171b544e9 fix 404 title on api calls 10 years ago
psychobunny 0eca875f6e add site title to 404, on cold load anyways 10 years ago