62 Commits (5d3900dcd464f262a51f60b19a73311a62fe01fa)

Author SHA1 Message Date
gasoved 077330b764
feat: scheduled topics (#9399)
* feat: scheduled topics

* refactor: linting fixes

* fix: tests

* fix(test): race condition

* fix: make a single request
4 years ago
Barış Soner Uşaklı eb360351e5 fix: #9394, fix guest handles 4 years ago
Peter Jaszkowiak cc9d6fd08b chore: eslint max-len 4 years ago
Peter Jaszkowiak dab3b23575 chore: eslint no-var, vars-on-top 4 years ago
Peter Jaszkowiak b56d9e12b5 chore: eslint prefer-arrow-callback 4 years ago
Julian Lam 6e2da9966e refactor: move plugin hook methods to plugin.hooks.* 4 years ago
Barış Soner Uşaklı dbd814c25f fix: spec, only call modifyUser on unique user objects 5 years ago
Barış Soner Uşaklı 903e9d82b8 feat: #8637 5 years ago
Julian Lam a9dfc9a74e feat: add replies to getPostSummaryByPids 5 years ago
Julian Lam e0c7d65a92 Revert "feat: add reply count to getPostSummaryByPids"
This reverts commit de0f4aadb8.
5 years ago
Julian Lam de0f4aadb8 feat: add reply count to getPostSummaryByPids 5 years ago
Barış Soner Uşaklı fef04fcf6b fix: missing backgroundImage #8386 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ı <[email protected]>
5 years ago
Barış Soner Uşaklı 80bd52fcfa feat: add image and imageClass to post summaries 6 years ago
Barış Soner Uşaklı c0c6c652be feat: #7743, finish post module 6 years ago
Baris Usakli 41bc6ca2c4 feat: add status to post summaries 6 years ago
Barış Soner Uşaklı ac39112271 remove more parseInts 7 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
7 years ago
Julian Lam aaa9561b7f Revert "moved filter:post.getPostSummaryByPids to before parsePosts call"
This reverts commit cf82407a8f.
7 years ago
Julian Lam cf82407a8f moved filter:post.getPostSummaryByPids to before parsePosts call
/@pitaj
7 years ago
Julian Lam bfee23adee basic methods and initial integration for #6463 7 years ago
Peter Jaszkowiak 46fafb20b9 Remove string.js dependency 8 years ago
Barış Soner Uşaklı 1019feb569 fix method name 8 years ago
Barış Soner Uşaklı f42119673f fix string cids in post summaries 8 years ago
Baris Usakli 062bced3dd cleanup and tests 8 years ago
Peter Jaszkowiak 0fe10f5e86 Escape topic titles at the source, deduplicate 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
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
barisusakli f505b47ac9 prevent crash if topic is not found 8 years ago
Julian Lam ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 9 years ago
barisusakli 5f16205d15 closes #5109 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 caf30b5580 use post 9 years ago
barisusakli 460ac17eaa closes #4647
addm upvotes, downvotes and votes to getPostSummary
9 years ago
barisusakli c8f270ec67 another validator.escape fix 9 years ago
barisusakli 805b452ae1 closes #4981 9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
Mega 0f89fc8214 close #4822 9 years ago
barisusakli 5e5e46e95f closes #4499 9 years ago
barisusakli f3d2ad5f1f lets break some themes :evil: 9 years ago
psychobunny 726c3802e1 isMainPost for post summary 10 years ago
barisusakli f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
10 years ago
Julian Lam f6d5b52a8b WIP user-icons 10 years ago
barisusakli 5950f97f96 more refactors 10 years ago