8200 Commits (03bd76dea2c8214148211e28238c91947d3df143)

Author SHA1 Message Date
Barış Soner Uşaklı 65c0adc720 fix: openapi 5 years ago
Barış Soner Uşaklı ac6b571ed5 fix: dont allow searching by email/ip if not privileged 5 years ago
Julian Lam c468942f14 fix(openapi): tests 5 years ago
Julian Lam f3441fce4f fix: admin privileges client-side regression 5 years ago
Julian Lam da29b947bf feat: add js-enabled.css to list of preloaded css files 5 years ago
Barış Soner Uşaklı bd228d5ee7 feat: fix blocksCount not being returned on user profile
add hook action:user.blocks.toggle
5 years ago
Misty (Bot) fe908cc022 Latest translations and fallbacks 5 years ago
Julian Lam 6cb31791ff feat: polish for user blocks UX 5 years ago
Misty (Bot) a1a5424047 Latest translations and fallbacks 5 years ago
Julian Lam 6931f29d53 feat: allow flagging of user acounts from post tools menu 5 years ago
Misty (Bot) 1b1e9b6725 Latest translations and fallbacks 5 years ago
Misty (Bot) e66b526ca0 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı e09ab3dc19 feat: closes #8440, allow configuring max topic count 5 years ago
Barış Soner Uşaklı 2355d9d5dd fix: escape navigation item fields, theme:id, category fields 5 years ago
Misty (Bot) c0857f6390 Latest translations and fallbacks 5 years ago
Misty (Bot) 9b20d0ce20 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı e53a18f219 fix: #8437, #8433 5 years ago
Barış Soner Uşaklı bffb830d87 feat: add missing translation key 5 years ago
Barış Soner Uşaklı c718b7293e feat: #3783, min/max tags per category 5 years ago
Barış Soner Uşaklı ed4b5caf2c fix: copy settings showing empty category selection 5 years ago
Barış Soner Uşaklı 0482fb2998 feat: use tags partial instead of post_bar 5 years ago
Barış Soner Uşaklı 8482a54a68 fix: don't init autocomplete if user doesn't have privs 5 years ago
Barış Soner Uşaklı 4f6b6c5631 feat: hide elements if search element is a direct child of dropdown
this fixes themes if they put the search input inside the dropdown
5 years ago
Misty (Bot) d50f7c7dfa Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı f03ca0867b fix: tests 5 years ago
Barış Soner Uşaklı 8383992dcc feat: move export functions into child processes 5 years ago
Barış Soner Uşaklı 48b41debe6
fix: vulnerability in cover and admin uploads (#8419)
* fix: vulnerability in cover and admin uploads

* fix: remove old test

* fix: update tests
5 years ago
Misty (Bot) 76c577fa3c Latest translations and fallbacks 5 years ago
Misty (Bot) 55f8f99bcd Latest translations and fallbacks 5 years ago
Julian Lam 040e6a9a4c fix: reverse tabnabbing exploit in post images 5 years ago
Misty (Bot) 757cfe80be Latest translations and fallbacks 5 years ago
Misty (Bot) f5b3713313 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı bfd7eafe5b fix: ban 5 years ago
Barış Soner Uşaklı b459592a4e Merge branch 'master' of https://github.com/NodeBB/NodeBB 5 years ago
Barış Soner Uşaklı f70d1648c6 feat: show more relevant snippets 5 years ago
Julian Lam 4cae893f49 fix(openapi): tests for #8412 5 years ago
Julian Lam 35a06a8419 feat: #8412 breadcrumbs for ip-blacklist/post queue/flags 5 years ago
Misty (Bot) 7fe9c1a26d Latest translations and fallbacks 5 years ago
Julian Lam 5a367ecbb4 fix: remove use of 'hidden' class in navbar toggling 5 years ago
Julian Lam f909ed2541 feat: show editor in post diffs if available 5 years ago
Julian Lam 2515aa77ba fix: bug where category privs page thought it was on admin 5 years ago
Julian Lam b3115ea813 fix: #8410 5 years ago
Misty (Bot) cdf81159df Latest translations and fallbacks 5 years ago
Julian Lam d5af976915 feat: #8408 flags' quick assignment 5 years ago
Barış Soner Uşaklı 42466d3c6e fix: add missing translations 5 years ago
Julian Lam 58b3d608fc feat: allow post diffs to be restored, #8406 5 years ago
Misty (Bot) 8f81651e2f Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 3a80a1651a feat: add missing translation 5 years ago
Barış Soner Uşaklı 6349fa03e1 feat: more search changes 5 years ago
Barış Soner Uşaklı 4b38533b15 feat: more merge/search fixes 5 years ago
Barış Soner Uşaklı bb3aa54006 feat: merge changes
allow selecting main topic to merge into
allow specifying a new title for merge topic
upon merge go to correct topic
new tests for merging with options
5 years ago
Barış Soner Uşaklı 8591f5d2cc fix: return false 5 years ago
Barış Soner Uşaklı 5fd05dc942 feat: more search & merge fixes 5 years ago
Barış Soner Uşaklı c4bdeae06e feat: merge improvements wip 5 years ago
Barış Soner Uşaklı a255c8f6fd fix: language 5 years ago
Julian Lam 6a96944247 fix(openapi): api change for #8387 5 years ago
Misty (Bot) 2287963388 chore: latest translations and fallbacks 5 years ago
Barış Soner Uşaklı d92032dad1 fix: prevent logout form from submitting 5 years ago
Julian Lam 4d60eac60f feat: #8384 options to delete account, content, or both 5 years ago
Julian Lam 67aca822e6 feat: account content deletion, closes #8381 5 years ago
Julian Lam 656b391fc5 feat: add missing language files for #8347 5 years ago
Misty (Bot) 8019d316e2 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 50703db879 fix: #8363, dont break history 5 years ago
Barış Soner Uşaklı 0c265a41d4 fix: #8363, go to hash when entering topic 5 years ago
Julian Lam a82e9bd7f6
feat: privileges for Admin Control Panel (#8355)
* feat: acp privileges (WIP)

* fix: restore global privilege hooks

* refactor: using cid 0 in admin privs

* fix: no need for zebrastripe-reset

* feat: manage:categories privilege WIP

* feat: renamed prefix to admin:, settigns and dashboard privs

* fix: nofocus on acp privs group find modal

* refactor: privileges.x.get() to not used hardcoded privs

* fix: crash if unable to get latest version

* feat: setting acp priv

* Revert "fix: crash if unable to get latest version"

This reverts commit afdb235f48eb0072d88de45f3a1e0151281095b3.

* feat: user/privilege acp privs

* fix: category selector in manage/privileges

* fix: guests potentially becoming admins

* fix: bug in setting admin privs

* fix: some last minute things + api docs

* fix: some more last minute fixes
5 years ago
Barış Soner Uşaklı 30cc83c033 fix: #8374, revert event delete 5 years ago
Julian Lam 09184f4027 fix: new language tag for select_tags 5 years ago
Julian Lam 260a482caa fix: remove duplicate link to manage/tags in settings/tags 5 years ago
Misty (Bot) 73055bfccc Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 1b5d5425b4 fix: handle search tag permission as well 5 years ago
Barış Soner Uşaklı 2100a03c1a refactor: change name to privileges to match other apis 5 years ago
cryptoethic f6b92d241a
fix: checking correct permissions for user search (#8371)
* fix: checking correct permissions for user search

* fix: missing permissions porperty in openapi /api/search
5 years ago
Barış Soner Uşaklı c1d8b9bb5a Merge branch 'master' of https://github.com/NodeBB/NodeBB 5 years ago
Barış Soner Uşaklı 7786187e84 fix: change event name so it doesnt trigger complete event
add data to complete event
5 years ago
Misty (Bot) 5dc8982da3 Latest translations and fallbacks 5 years ago
Julian Lam 8ea1634824 feat: #8360 flag quick actions for delete/restore/purge 5 years ago
Julian Lam 922d49be0b fix(style): switch..case 5 years ago
Peter Jaszkowiak de7ec47f13
fix: #8352, remove webfonts (#8354) 5 years ago
Misty (Bot) b31482092d Latest translations and fallbacks 5 years ago
Julian Lam 98dffa3af8 fix: tests due to 0633ad327 5 years ago
Misty (Bot) bad23159d2 Latest translations and fallbacks 5 years ago
Misty (Bot) d7b2f163f2 Latest translations and fallbacks 5 years ago
Julian Lam 0633ad3277 fix: acp menu items
- Shuffled items in settings
- Moved post-queue and ip-blacklist to front-end
- Removed Settings > Sockets, merged with Settings > Advanced
5 years ago
Julian Lam a83f4259e8 fix: re-jigged tags acp pages 5 years ago
Julian Lam a51fff8bd1
refactor: remove general menu from ACP (#8347)
* refactor: remove general menu from ACP

* fix: incorrect translation keys, fixed tests
5 years ago
Misty (Bot) 3338c3112e Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 9ffcb6f7ba feat: add results into results container 5 years ago
Barış Soner Uşaklı f12d448ef5 feat: quick search changes 5 years ago
Barış Soner Uşaklı bb1a56f0fe feat: move quick search into search module
so it can be used directly
5 years ago
Barış Soner Uşaklı 47d73a2ab4 fix: move checks into timeout 5 years ago
Barış Soner Uşaklı a9315aee7d fix: #8339, add missing translation 5 years ago
Barış Soner Uşaklı 84c20f919b fix: don't explode if server sends `checkSession` 5 years ago
Barış Soner Uşaklı 5781a2dc65
feat: fix session mismatch errors by clearing cookie on logout (#8338)
* feat: fix session mismatch errors by clearing cookie on logout

* feat: remove app.upateHeader

ported from 2.0

* feat: handle if user doesn't click button and just refreshes page
5 years ago
Misty (Bot) 938c232377 Latest translations and fallbacks 5 years ago
Julian Lam f0e59c149d fix: eliminate unnecessary try..catch 5 years ago
Julian Lam a0e243eea1 fix(openapi): schema for new flags api 5 years ago
Julian Lam 8d995d1eb6 refactor: flags detail page
- Show account moderation history
- Ban and delete quick actions

Squashed commit of the following:

commit 0e782e65f4d48ae814708e510ec9d01bcdd914e0
Author: Julian Lam <julian@nodebb.org>
Date:   Tue May 26 20:24:53 2020 -0400

    fix(deps): use persona 10.1.41/vanilla 11.1.17

commit 369e073d3c3189d8ce181eb3d573489cbe54d4fc
Author: Julian Lam <julian@nodebb.org>
Date:   Tue May 26 20:23:24 2020 -0400

    fix: allow ban and delete exported methods to have cbs

commit b83a086ea31a77ec82d161306c0b9bc115cb2a3a
Merge: 525aae1ea 256ee45d3
Author: Julian Lam <julian@nodebb.org>
Date:   Tue May 26 08:54:25 2020 -0400

    Merge remote-tracking branch 'origin/master' into flags-improvements

commit 525aae1ea2e5d0103028a0f0c8dde05f172d088e
Author: Julian Lam <julian@nodebb.org>
Date:   Tue May 26 08:53:39 2020 -0400

    feat: integrate ban history and username changes to flag history list

commit 3e68ad28ba266f4c8620a676aa7f463f0a9d1df7
Author: Julian Lam <julian@nodebb.org>
Date:   Mon May 25 18:22:53 2020 -0400

    feat: allow ban and deletion from flag details page

commit a559ea1d8e8883385c2876868d855a0b93516c54
Author: Julian Lam <julian@nodebb.org>
Date:   Mon May 25 18:22:00 2020 -0400

    feat: export banAccount and deleteAccount methods from accounts module
5 years ago
Ali Cihan 256ee45d37
typo (#8334) 5 years ago
Misty (Bot) d2edf0c371 Latest translations and fallbacks 5 years ago
Misty (Bot) 31edcdee7d Latest translations and fallbacks 5 years ago
Misty (Bot) 8eb89156fb Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı d6c2764fe7 fix: don't trigger quick search if val doesn't change 5 years ago
Barış Soner Uşaklı 6f78113ee3 fix: prevent duplicate search triggers
if app.handleSearch is called from a plugin in action:ajaxify.end events are fired multiple time
5 years ago
Misty (Bot) 478c8dd72b Latest translations and fallbacks 5 years ago
Julian Lam 6f504c4142
Remove allowFileUploads ACP option (#8324)
* feat: allow awaitable upgrade scripts

* feat: allowFileUploads removal upgrade script

* refactor: remove unnecessary ACP option `allowFileUploads`

* fix: updated upgrade script template to not use callback arg

* fix: upgrade script as per @baris

* fix: add missing await

* fix: add missing await
5 years ago
Barış Soner Uşaklı ada45a34d5 fix: search post snipets incase content is plain text 5 years ago
Barış Soner Uşaklı cb662e15ce feat: improve grunt restart/rebuild speed 5 years ago
Barış Soner Uşaklı 2a00b0e973 fix: utils.params({url: ''}) 5 years ago
Misty (Bot) 2203398efc Latest translations and fallbacks 5 years ago
Misty (Bot) 981db6429a Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı f0323b6cfa feat: closes #8316, add more data to export profile 5 years ago
Misty (Bot) 5e3760d276 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 40b5cbab2c refactor: remove console.log 5 years ago
Barış Soner Uşaklı 765b8156d5 feat: parse quick search tpl even if no results
allows showing "no results found" in theme
5 years ago
Misty (Bot) 83b5a20c7c Latest translations and fallbacks 5 years ago
Julian Lam 45dfeeb033 fix(openapi): broken tests 5 years ago
Barış Soner Uşaklı 1f992cf371 fix: if category in selector has url use it 5 years ago
Julian Lam aa4ae78b63 fix(docs): added titles to all routes 5 years ago
Julian Lam 9fd5c439b2 feat: write-api update, WIP 5 years ago
Barış Soner Uşaklı 4e14cb5767 fix: add missing schema item 5 years ago
Misty (Bot) 928a94426b Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı a73c755b05 feat: closes #8308, edit post notif for watched topic posts 5 years ago
Misty (Bot) b4494cb876 Latest translations and fallbacks 5 years ago
Misty (Bot) 64c3310aa4 Latest translations and fallbacks 5 years ago
Julian Lam 6765de3db3 fix: sortable topics even if only 1 pinned topic 5 years ago
Julian Lam dd2bc18927 fix: #8298, use class name added by jQueryUI instead
This reverts commit 2e57d8ac31.
5 years ago
Julian Lam 2e57d8ac31 fix: discoverability of topic reordering, re: #8298 5 years ago
Julian Lam f2c725c658 fix: topic search shortcut for macs 5 years ago
Misty (Bot) 6567e47494 Latest translations and fallbacks 5 years ago
Julian Lam fcb81cb8ca fix: #8297 guest handles shown in category.tpl 5 years ago
Barış Soner Uşaklı be305410fb fix: #8293, don't show error if there are no self messages 5 years ago
Barış Soner Uşaklı 84383d3995 fix: spec 5 years ago
Barış Soner Uşaklı 9839346ec3 fix: #8290, if there are no filters go to ?reset=1
dont count ?page=1 as a filter
5 years ago
Misty (Bot) 2cf0a9b62d Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 2d07634494
fix: #8283, update gdpr link again 5 years ago
Misty (Bot) c0e441d3b2 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 3fcbd69149 feat: reduce infinite scroll area 5 years ago
Barış Soner Uşaklı 17d664e098 fix: #8283, point to official site 5 years ago
psychobunny 275e837bcf fix: jquery xhtml violations 5 years ago
Opliko 4855f1deca
fix:#8274 Don't escape HTML in manage users (#8275)
Perhaps the HTML for managing groups should ba actually rendered as HTML to serve its function. fixes #8274
5 years ago
Misty (Bot) 75aaba3f4e Latest translations and fallbacks 5 years ago
Julian Lam 23a0b8c54c fix(openapi): v14 test fix 5 years ago
Barış Soner Uşaklı 9ffdab02d0 fix: tag of /api/unread/total 5 years ago
Julian Lam ccc6118d30
Testing suite integration for openapi spec (#8263)
* feat: testing suite integration for openapi spec

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

* fix(openapi): removed debug stuff from tests

* fix(openapi): fixed some tests

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

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

* fix(openapi): bad conditional in test

* fix: oops

* fix(openapi): more tests fixing

* fix(openapi): more tests

* fix(openapi): fix some more tests

* fix: verbose'd an info log

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

* fix(openapi): more test/spec fixes

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

* fix(openapi): more test/spec fixes

* fix(openapi): more spec fixes

* fix: timestampReadable Invalid Date

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

* fix(openapi): more tests fixing

* fix(openapi): finally all tests passing

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

... and fixed all the tests that broke

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

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

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

* fix: tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
5 years ago
Misty (Bot) 267567a086 Latest translations and fallbacks 5 years ago
Misty (Bot) c1429fbbf1 Latest translations and fallbacks 5 years ago
Opliko 47e7e9572c Add loading=lazy tag to avatars
There is no reason why avatars should be a blocking reasorce, and browsers are now adding support for lazy loading of images (and iframes). According to [caniuse.com](https://caniuse.com/#feat=loading-lazy-attr) 62% of users use a browser that supports this attribute.

So there doesn't seem to be any downside to just adding this attribute here. It won't affect browsers that don't support it and might speed up page loads on browsers that do.
5 years ago
Opliko 6e5ebb6184
feat: manifest.json improvements from #8126 (#8264)
* feat: manifest.json improvements from #8126

* Fix short title placeholder

* use lowercase letters for hex colors
5 years ago
Julian Lam d342a28c16 fix(openapi): remove account and group upload routes
re: #8260
5 years ago
Julian Lam 058a15dbb2 fix(openapi): more fleshing out 5 years ago