Commit Graph

661 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
d4db8c2d42 removed reset 2018-10-13 20:28:18 -04:00
Barış Soner Uşaklı
1024a0efa1 add reset to pubsub for tests 2018-10-13 18:20:58 -04:00
Baris Usakli
7d8fc09226 add test for pubsub 2018-10-13 14:47:42 -04:00
Baris Usakli
28f2144933 remove time out on plugin upgrade test 2018-10-12 14:46:32 -04:00
Baris Usakli
a867b77509 add assert message to test 2018-10-12 12:58:11 -04:00
Barış Soner Uşaklı
e615391b22 convert values to string before removing 2018-10-11 16:23:05 -04:00
Barış Soner Uşaklı
5c7dd54815 fix zsets and update them on post move, closes #6823 (#6827) 2018-10-11 16:00:22 -04:00
Baris Usakli
5f49a1d82c disable timeout on build templates 2018-10-05 14:24:51 -04:00
Baris Usakli
9ed4239d8e small changes and test for user/:slug/categories 2018-10-05 13:04:17 -04:00
Barış Soner Uşaklı
b58ab48485 add test for /sessions controller 2018-10-04 14:30:16 -04:00
Barış Soner Uşaklı
a7c4c59121 change to series 2018-10-04 14:07:24 -04:00
Barış Soner Uşaklı
1bea247748 add username/email to user-delete event 2018-10-04 11:08:01 -04:00
Barış Soner Uşaklı
f77091d1ed change user delete so it returns quickly 2018-10-03 19:12:46 -04:00
Barış Soner Uşaklı
805da98a36 remove unnecessary groups.resetCache calls 2018-09-30 13:42:33 -04:00
Barış Soner Uşaklı
061b279c48 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-09-30 13:05:20 -04:00
Barış Soner Uşaklı
77beaf2e15 Allow local login,closes #6800 (#6803)
* WIP

* reset groups cache after every suite
2018-09-29 06:49:41 -04:00
Barış Soner Uşaklı
2bd02a7ae1 disable timeout on plugin installs 2018-09-29 06:45:12 -04:00
Barış Soner Uşaklı
944972c6f2 change to series 2018-09-28 23:57:00 -04:00
Barış Soner Uşaklı
18d0deeccb update deprecated methods (#6794) 2018-09-26 15:02:57 -04:00
Barış Soner Uşaklı
1cb2e1e368 remove console.log switch to series 2018-09-26 10:56:19 -04:00
Barış Soner Uşaklı
f618ba8e1e add private category test for unread tids 2018-09-25 12:07:56 -04:00
Barış Soner Uşaklı
95501e8fee closes #6738 closes #6290 (#6785)
* closes #6738 closes #6290

* fix test, delete keys

* delete all bans on user delete

* fix upgrade script to actually read reason
2018-09-24 20:20:52 -04:00
Barış Soner Uşaklı
59b988a205 change test so it checks url 2018-09-20 22:09:20 -04:00
Barış Soner Uşaklı
b7ead6dc9c Replace jimp with sharp (#6774)
* add probe image size and max image size

* replace jimp and image-probe with sharp

* better name for test

* resize with just path

* resize thumb inplace

* use filename
2018-09-20 17:05:52 -04:00
Barış Soner Uşaklı
ea1697d073 remove console.log 2018-09-06 14:41:23 -04:00
Barış Soner Uşaklı
25fed0aa8d change isPasswordCorrect to return false if user does not have password 2018-09-06 14:32:44 -04:00
Barış Soner Uşaklı
2a2e8136cd fix tests 2018-08-28 16:19:37 -04:00
Ben Lubar
33228bb7fe PostgreSQL database driver (#5861)
* [test/database/list] Fix test list 4 being used in two different tests

* [database/postgres] PostgreSQL database driver

* [database/postgres] Make transactions work based on continuation scope.

* [database/postgres] Implement nested transactions

* eslint --fix

* Add database changes from earlier this week to the PostgreSQL driver.

* Fix typo

* Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN

* [database/postgres] Fix sortedSetsCard returning an array of strings.

* Update socket.io postgres adapter

* Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation.

Add a test case to catch this error.

* Fix lint errors.

* Only prune sessions on one instance in a cluster to avoid deadlocks.

They're caught and handled by the database server, but they spam the logs.

* Fix arguments.slice.
2018-08-08 15:13:48 -04:00
Barış Soner Uşaklı
fa499aef18 closes #6680 2018-07-31 14:26:17 -04:00
Baris Usakli
546b13b897 fix lint and tests 2018-07-27 13:10:52 -04:00
Barış Soner Uşaklı
c7d6cacd98 closes #6658 2018-07-26 10:52:06 -04:00
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)
2018-07-15 00:12:37 -06:00
Barış Soner Uşaklı
3449cf321b add back cache and pubsub 2018-07-03 18:43:29 -04:00
Barış Soner Uşaklı
ae0563375e derp 2018-07-03 18:13:47 -04:00
Baris Usakli
584f88e092 blocks WIP 2018-07-03 15:12:23 -04:00
Baris Usakli
be1e83bfc1 fix tests 2018-06-29 15:20:26 -04:00
Barış Soner Uşaklı
82b2a20d0c user tests 2018-06-27 12:15:38 -04:00
Barış Soner Uşaklı
ccad95cf73 closes #6579 2018-06-18 14:37:37 -04:00
Barış Soner Uşaklı
2fd2accf8c add tests for top topics
fix popular page displaying 18 topics per page
2018-06-15 15:23:30 -04:00
Barış Soner Uşaklı
4684ab3bf6 suggest topic test 2018-06-14 17:55:19 -04:00
Barış Soner Uşaklı
c3fc4a06bf test sortedSetUnion with scores 2018-06-14 17:24:29 -04:00
Julian Lam
8d41e319ea fixed tests 2018-06-08 16:17:17 -04:00
Julian Lam
8e832abf1e additional tests for post diffs privilege checking 2018-06-08 11:52:40 -04:00
Julian Lam
510dd268cc fix tests 2018-06-07 14:00:51 -04:00
Barış Soner Uşaklı
14f6e74bad closes #6556 2018-06-06 13:11:48 -04:00
Barış Soner Uşaklı
a7267df404 closes #6464 2018-05-28 11:29:41 -04:00
Barış Soner Uşaklı
4504bbae52 2 diff test 2018-05-26 13:50:31 -04:00
Barış Soner Uşaklı
229e49cf8f closes #6523, closes #6524 2018-05-26 12:49:29 -04:00
Barış Soner Uşaklı
65dc530df5 some controller tests 2018-05-26 11:13:49 -04:00
Barış Soner Uşaklı
d977934c66 adjust username test 2018-05-25 19:05:18 -04:00