333 Commits (032425b2415e6a98bde30e1946ff0bdbfee96d48)

Author SHA1 Message Date
Barış Soner Uşaklı 69ef05707a style 7 years ago
Barış Soner Uşaklı fc1c4acccf closes #6960 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 4919e9efa3 feat: allow disabling of GDPR features via ACP toggle, closes #6847 7 years ago
Barış Soner Uşaklı f3a679e268 remove parseInts 7 years ago
Barış Soner Uşaklı 7a44424214 parse '123' to 123 if it has no default 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
Barış Soner Uşaklı f5fe91286e closes #6851 7 years ago
Baris Usakli 3886a704e0 fix lint 7 years ago
Baris Usakli 84737b5a49 use buildForSelect 7 years ago
Baris Usakli 71905bb2c6 fix watched categories 7 years ago
Baris Usakli 9ed4239d8e small changes and test for user/:slug/categories 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ı b58ab48485 add test for /sessions controller 7 years ago
Julian Lam 382d06bbb0 fixes #6765 -- no need to have gmods and admins access login sessions page 7 years ago
Julian Lam c2c925cacd closes #6678 7 years ago
Julian Lam 29836aaad9 rename session account middleware to sessions, plural, prep for fixing #6678 7 years ago
Ben Lubar f1a6537fc2 Add notification frequencies from nodebb-plugin-upvote-notifications. (#6640)
* Add notification frequencies from nodebb-plugin-upvote-notifications.

https://github.com/boomzillawtf/nodebb-plugin-upvote-notifications

* Fix editing settings clearing upvote notification preferences.
7 years ago
Julian Lam 7a53fa9469 Added block and unblock button to profile dropdown menu, #6560 7 years ago
Barış Soner Uşaklı 0b0ce1df8a closes #6549 7 years ago
Barış Soner Uşaklı 7df57ba7a7 remove dupe code 7 years ago
Barış Soner Uşaklı b0dad9bd7f closes #6369 7 years ago
Barış Soner Uşaklı 6eea11a4fd closes #6529 7 years ago
Barış Soner Uşaklı 65dc530df5 some controller tests 7 years ago
Julian Lam dc386b5b23 Merge branch 'master' into user-blocking 7 years ago
Julian Lam 8db98b5cf4 additional UCP integration for #6463 7 years ago
Barış Soner Uşaklı 7e00d6b91e https://github.com/NodeBB/NodeBB/issues/6433 7 years ago
Julian Lam 3951bb9532 Merge remote-tracking branch 'origin/master' into user-blocking 7 years ago
Julian Lam 7089e5c6a6 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 6659a520e0 closes #6465 7 years ago
Julian Lam ca932d30d2 basic UCP integration #6463 7 years ago
Barış Soner Uşaklı 5d2a7106f6 change upload storage 7 years ago
Barış Soner Uşaklı 927537c759 #6431 add private upload info 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
Barış Soner Uşaklı 47606c8df5 merge 7 years ago
Barış Soner Uşaklı e1c6761087 closes #6258 7 years ago
Julian Lam c25d752573 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 52678621f9 revising minimum password strength to be 1 instead of 0 7 years ago
Julian Lam 1ce448f2a1 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 723f31a362 closes #6323 7 years ago
Barış Soner Uşaklı 7b6282f530 closes #6308 7 years ago
Barış Soner Uşaklı ac1f7eefe5 closes #2304 7 years ago
Julian Lam 897a7d84f9 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam 7581dd1174 Closes #6245
- Moved account info to within the profile menu hook, so it can be
  better filtered and shown to mods
- Also serves as a nice template for plugins that wish to listen
  to the profileMenu hook!
7 years ago
Julian Lam fbf52407fd Re: #6425
- Exposing IP addresses to moderators
7 years ago
Baris Usakli c37be3b58f remove my stupid code 7 years ago
Barış Soner Uşaklı 08562ad9cc closes #6276 7 years ago
Barış Soner Uşaklı 72140e5338 closes #5991, closes #5884 7 years ago
Barış Soner Uşaklı ff6c6a54c1 make upload permissions global
give upload image permission to registered users on install
add global privileges to app.user.privileges for client side use
7 years ago
Baris Usakli 4a73621dca chat privilege 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ı 43180d4b83 #6158 7 years ago
Peter Jaszkowiak 74ceb78800 Upvote notification frequency selection (#6087)
Closes #5963

- Notify on every upvote
- Notify on every tenth upvote
- Notify logarithmically (on 10, 100, 1000...)
- Disable upvote notifications
8 years ago
Barış Soner Uşaklı dd176dd5f2
Notification delivery (#6072)
* ability for users to choose how they receive notifications

add type field to more notifications, the type field is used to
determine what to do based on user
setting(none,notification,email,notificationemail)

* change var name to types

* cleanup

* add event types for privileged users

* remove unused language keys

* fix uids check

* changed if statements

* upgrade script to preserver old settings
8 years ago
Baris Usakli 4fdc1b99c6 remove unnecessary variable 8 years ago
acardinale 78e65ab8c8 Fix if cover URL is external URL (#6026)
* Fix if cover URL is external URL

Currently, when cover:url is an external URL, it's concat with relative path

* Fix if cover URL is external URL

Currently, when cover:url is an external URL, it's concat with relative path [fix barisusakli]

* Fix missing '

* Add User (uid) Welcome Notification

* Revert "Fix missing '"

This reverts commit 2da2d98ae295f1d7db63076587a3feae530dbe64.

* Revert "Revert "Fix missing '""

This reverts commit f4fca746e89d8c8b9515515bdbc42d449ebe0194.

* Revert "Add User (uid) Welcome Notification"

This reverts commit 831e291e78f27f2ac9382612772126c36490d36b.

* Fix eslint doesnt like nesting ternary operators

* fix space after if
8 years ago
Julian Lam 7e0d0e0eb5 Merge remote-tracking branch 'origin/develop' 8 years ago
Barış Soner Uşaklı d5d6748c71 closes #6013 8 years ago
Peter Jaszkowiak 46fafb20b9 Remove string.js dependency 8 years ago
Baris Usakli 500c978a26 closes #5944 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ı 5344edc2a7 closes #5885 8 years ago
Baris Usakli dc9b21021a escape moderation notes 8 years ago
Baris Usakli 27a6b8a713 lint fixes 8 years ago
Julian Lam d9ad26c7c5 the meat of #5862, making chat loading not require an ajaxification 8 years ago
Baris Usakli 875672522e Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	src/search.js
8 years ago
Julian Lam 61deb962e3 adding notifications.get hook 8 years ago
Baris Usakli a9dbdc75af closes #5825 8 years ago
Julian Lam 701ba73883 updated homepage route logic so that it is all contained in the local function (and plugin hook receives all entries, including custom) @barisusakli 8 years ago
Julian Lam b7e8ecc6d3 updated mentions version and changed topics filter to take its translation from global hash instead 8 years ago
Barış Soner Uşaklı 08aaabd33c closes #5642 8 years ago
Baris Usakli 11d9410229 fix test and image normalize test 8 years ago
Baris Usakli 081ac6535c style change 8 years ago
Baris Usakli 9efa46c65a more account tests 8 years ago
Baris Usakli b9b02a1fab math.ceil pageCount 8 years ago
Barış Soner Uşaklı c9d502320f file.delete method 8 years ago
Barış Soner Uşaklı 6c224c3800 fix cover:url logic 8 years ago
Barış Soner Uşaklı 5b69598f15 Merge pull request #5632 from NodeBB/fix-5631
Fix #5631
8 years ago
Barış Soner Uşaklı 59d0815073 closes #5637 8 years ago
Peter Jaszkowiak 2a0cb3b9ee Fix profile covers not working with subfolders
Remove relative_path from the paths saved in the database so they're more portable
8 years ago
barisusakli 33e8ecc1f4 closes #5404 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
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 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
pichalite d4de345e87 syntax 8 years ago
pichalite 4c89497cc4 Closes #5521 8 years ago
Barış Soner Uşaklı fe27d40ff6 closes #5542 8 years ago
barisusakli 5a2ff8ed0a closes #5527 8 years ago
Julian Lam 793555a344 Merge branch 'master' into develop 8 years ago
barisusakli 992e3128bd closes #5499 8 years ago
Julian Lam b1ceec7571 Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli 0e7740af32 fix tests for subfolder installs 8 years ago
Julian Lam ddea9f534e running eslint again 8 years ago
Julian Lam 72e77772db Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files 8 years ago
Julian Lam 672d7352bb Merge branch 'master' into develop 8 years ago
Julian Lam e887dda37a Merge pull request #5461 from pichalite/image-dimension
Use ACP profile image dimension setting in cropper
8 years ago
pichalite a99572fc48 Use ACP profile image dimension setting in cropper 8 years ago
Peter Jaszkowiak c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 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 a0a50677da ESlint n-loop-func, yoda 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak b1b486f729 ESlint quote-props 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
Peter Jaszkowiak 9f15008247 Address review issues 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
Julian Lam d29361f4c9 added additional visibility masks for profile menu hook, also added isPrivileged user method, closes #5306 8 years ago
barisusakli 190b3759a0 fix tests 8 years ago
Barış Soner Uşaklı 4ff3d06f90 escape labelColor, icon, cover:position, validate toPid 8 years ago
barisusakli cbd6853ccb notif controller test 9 years ago
Julian Lam 33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit 9 years ago
barisusakli 02aadf79b5 account/posts controller tests 9 years ago
barisusakli 4b815449f1 closes #5234 9 years ago
barisusakli dada858565 add canReply to messages 9 years ago
barisusakli 2476ab3684 closes #5202 9 years ago
barisusakli 1e543dd394 fix profile views on redis 9 years ago
barisusakli 8294fc90e3 closes #5084 9 years ago
Barış Soner Uşaklı b38a10f96a add pagination to user profile 9 years ago
barisusakli 553ee7dcdd more chat tests 9 years ago
Julian Lam 2463e85c0d allowing moderators access to the account info page 9 years ago
barisusakli bcdd7b12f0 closes #5149 9 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 9 years ago
barisusakli 6f86621e30 closes #5096 9 years ago
barisusakli aca0a893e7 remove since properly 9 years ago
barisusakli fe50c8d124 closes #5078 9 years ago
barisusakli 15409f92cd escape history data, hide moderation note in api 9 years ago
barisusakli abd99760e5 closes #5070 9 years ago
barisusakli 9f2533b5ba closes #5054 9 years ago
barisusakli 6540b07ab2 closes #5052 9 years ago
barisusakli d1989babf5 closes #5044 9 years ago
barisusakli 15cae8d6ea ability to set moderation note on users 9 years ago
barisusakli 4be20799ec fix getRecentChats 9 years ago
barisusakli 202edfa47e chat history access 9 years ago
Julian Lam 172702565e show username and email history 9 years ago
barisusakli 599ac80f3d use array.find 9 years ago
barisusakli ae8b9c3683 closes #4665 9 years ago
barisusakli aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
9 years ago
barisusakli c01a2bfa33 default sounds to off, show correct setting in user settings page 9 years ago
barisusakli 6d34bb4657 closes #2166 9 years ago