Commit Graph

8214 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
3fcbd69149 feat: reduce infinite scroll area 2020-04-30 19:22:38 -04:00
Barış Soner Uşaklı
17d664e098 fix: #8283, point to official site 2020-04-30 13:22:16 -04:00
psychobunny
275e837bcf fix: jquery xhtml violations 2020-04-29 20:46:00 -04:00
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
2020-04-28 20:32:15 -04:00
Misty (Bot)
75aaba3f4e Latest translations and fallbacks 2020-04-25 09:27:49 +00:00
Julian Lam
23a0b8c54c fix(openapi): v14 test fix 2020-04-24 17:45:40 -04:00
Barış Soner Uşaklı
9ffdab02d0 fix: tag of /api/unread/total 2020-04-24 12:37:21 -04:00
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>
2020-04-23 21:50:08 -04:00
Misty (Bot)
267567a086 Latest translations and fallbacks 2020-04-21 09:34:14 +00:00
Misty (Bot)
c1429fbbf1 Latest translations and fallbacks 2020-04-20 09:30:00 +00:00
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.
2020-04-19 13:33:23 -04:00
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
2020-04-19 13:32:49 -04:00
Julian Lam
d342a28c16 fix(openapi): remove account and group upload routes
re: #8260
2020-04-17 10:10:13 -04:00
Julian Lam
058a15dbb2 fix(openapi): more fleshing out 2020-04-16 22:46:27 -04:00
Julian Lam
bae88e089a fix(openapi): fleshed out admin routes 2020-04-16 21:57:04 -04:00
Julian Lam
8387178b25 feat(openapi): merging openapi-test branch into master 2020-04-16 20:39:15 -04:00
Barış Soner Uşaklı
ba6d3fd372 fix: only trigger infinitescroll on scroll end 2020-04-16 12:21:40 -04:00
Julian Lam
ab4bd7e146 fix(openapi): added some descriptions 2020-04-15 14:44:05 -04:00
Misty (Bot)
d678793cd4 Latest translations and fallbacks 2020-04-15 09:40:29 +00:00
Julian Lam
2395d2be2e fix(openapi): added PostsObject component 2020-04-14 20:58:17 -04:00
Julian Lam
1b425ef108 fix: no focus on find user modal 2020-04-14 10:18:20 -04:00
Julian Lam
bcbf98aa4c fix: accidental fp precision on flag and acp dash graphs 2020-04-14 10:16:02 -04:00
Misty (Bot)
d387cc231e Latest translations and fallbacks 2020-04-10 09:29:03 +00:00
Julian Lam
23dd2727f2 fix(openapi): finished moving all category objects out 2020-04-08 22:15:49 -04:00
Julian Lam
c939f8c66d fix(openapi): changed some descriptions 2020-04-08 22:15:40 -04:00
Julian Lam
55d0a9ffea fix(openapi): added CategoryObject component 2020-04-08 22:06:22 -04:00
Julian Lam
646fac1e53 fix(openapi): removed repeated breadcrumb blocks in favour of $ref 2020-04-08 17:06:26 -04:00
Julian Lam
ac579f9dc2 fix(openapi): remove all repeated pagination blocks in favour of 2020-04-08 17:04:00 -04:00
Julian Lam
1cf62095dc fix(openapi): removed warning for category mods route 2020-04-08 16:42:18 -04:00
Julian Lam
3a5c6e07f9 fix(openapi): normalising the file for programmatic updates 2020-04-08 16:24:20 -04:00
Misty (Bot)
0252e149d9 Latest translations and fallbacks 2020-04-08 09:30:21 +00:00
Julian Lam
65c78de6fe feat(openapi): move all commonprops out for commonprops component 2020-04-07 17:13:15 -04:00
psychobunny
cd5065572c feat: moved component specs into separate files 2020-04-07 16:17:00 -04:00
Julian Lam
2425f4533f feat(openapi): added template to commonprops 2020-04-07 16:08:30 -04:00
Julian Lam
64d79fe5f6 feat: added UserObject, UserObjectFull, Breadcrumb, Pagination component 2020-04-07 15:32:22 -04:00
psychobunny
ae3e90d693 feat: added some summary and descriptions 2020-04-07 15:29:59 -04:00
Misty (Bot)
390dbb1bf3 Latest translations and fallbacks 2020-04-07 09:29:49 +00:00
Barış Soner Uşaklı
442c018ec0 feat: add some descriptions 2020-04-07 00:23:10 -04:00
Barış Soner Uşaklı
eade13f928 feat: common schema 2020-04-06 23:49:41 -04:00
Julian Lam
32985eb12e Merge remote-tracking branch 'refs/remotes/origin/master' 2020-04-06 21:27:49 -04:00
Julian Lam
7b31fb34a7 fix: missing descriptions for common properties 2020-04-06 21:11:24 -04:00
Barış Soner Uşaklı
9987813f30 feat: add page query param to docs 2020-04-06 21:09:49 -04:00
Barış Soner Uşaklı
bbddaadf51 feat: tag route doc 2020-04-06 21:00:08 -04:00
Julian Lam
03739b6f83 fix: some definitions in read API spec 2020-04-06 10:28:32 -04:00
Julian Lam
455d42bcfa fix: tagged all routes in read api spec 2020-04-03 15:30:50 -04:00
Julian Lam
1136a369f3 feat: local redoc view on development mode only 2020-04-03 14:10:13 -04:00
Julian Lam
7b155dab74 feat: added auto-generated, slimmed-down openapi 3.0 file for read api 2020-04-03 12:07:50 -04:00
Misty (Bot)
bb565b0a81 Latest translations and fallbacks 2020-03-31 09:30:44 +00:00
Misty (Bot)
aabddea2b7 Latest translations and fallbacks 2020-03-24 09:29:53 +00:00
Misty (Bot)
5e849c6b52 Latest translations and fallbacks 2020-03-23 09:29:16 +00:00