Commit Graph

13977 Commits

Author SHA1 Message Date
Mathias Schreck
b1a48981ef Check if href exists before accessing it (#5281)
I got a lot of errors in Firefox 50 `TypeError: $(...).attr(...) is undefined  nodebb.min.js:25167:24` which points exactly to that line I’ve changed.
Since HTML5 `href` is not a required attribute of an `a` tag. We have a couple of links without `href` and every time you click it you will get this error.
2016-12-12 11:08:21 -05:00
Moritz Schmidt
ec5d13188b sneakily adjust database/sorted tests to include float scores 2016-12-11 15:59:28 +01:00
Moritz Schmidt
c8393d6f87 mongo: set scores as float instead of int 2016-12-11 15:58:57 +01:00
Peter Jaszkowiak
db1fdb897f Fixes for dev-ing on windows
- Change `nodebb.bat` to simply run `node ./nodebb` with same arguments
- Fix `npm test` for windows
2016-12-10 20:57:34 -07:00
Peter Jaszkowiak
bb5fe0cc83 Escape arguments in Translator.compile 2016-12-10 20:41:49 -07:00
Peter Jaszkowiak
a81aad61ab Add tests for translator static methods 2016-12-10 20:24:41 -07:00
Peter Jaszkowiak
375af7ad53 Restructure and rename translator tests 2016-12-10 20:24:41 -07:00
Peter Jaszkowiak
7c697759e9 Escape and ignore % and \, in translator args 2016-12-10 20:24:41 -07:00
barisusakli
1c6cee207f meta/settings test 2016-12-10 00:51:50 +03:00
barisusakli
9627e53922 change group membership methods 2016-12-10 00:25:49 +03:00
barisusakli
4db171985d up composer 2016-12-09 18:57:56 +03:00
barisusakli
0b9829850c closes #5273 2016-12-09 18:53:08 +03:00
Barış Soner Uşaklı
7f455344d8 show seconds in logs 2016-12-09 00:41:19 +03:00
Barış Soner Uşaklı
e0501656b6 parallel startup 2016-12-09 00:18:25 +03:00
Barış Soner Uşaklı
bca6151892 fix lint 2016-12-09 00:00:40 +03:00
Barış Soner Uşaklı
8c8e2ae190 closes #5271 2016-12-09 00:00:39 +03:00
Julian Lam
acf2e4078b fixes #5263 2016-12-08 11:28:20 -05:00
psychobunny
56fb941979 up'd tjs 2016-12-07 15:53:47 -05:00
barisusakli
78b7d5896c convert topic title to string 2016-12-07 16:25:46 +03:00
barisusakli
74b9f1a016 closes #5262 2016-12-07 11:57:27 +03:00
psychobunny
6b7b51eaf0 Merge pull request #5170 from pitaj/master
ACP search updated to support translations
2016-12-06 17:45:19 -05:00
Peter Jaszkowiak
e2ea3cb21e Fix linting error 2016-12-06 15:13:34 -07:00
Barış Soner Uşaklı
a0d32e953a Merge pull request #5261 from stuwil/fix-twitter-share-text
Avoid HTML codes in Twitter social share text
2016-12-06 23:04:31 +02:00
Stuart Williams
647d0e0a75 Avoid encoding HTML in Twitter social share text 2016-12-06 15:49:34 -05:00
Barış Soner Uşaklı
d468b6c466 Merge pull request #5260 from stuwil/fix-5259
Generate Post social share links with relative URL
2016-12-06 21:20:18 +02:00
Stuart Williams
cafc5cd891 closes #5259 2016-12-06 14:08:04 -05:00
psychobunny
b0126267a8 closes #5249 2016-12-06 11:48:59 -05:00
Peter Jaszkowiak
8ca98625b9 Key through search results 2016-12-05 18:32:17 -07:00
Peter Jaszkowiak
f1cfed50a1 Translate skins and themes fully 2016-12-05 18:31:58 -07:00
Peter Jaszkowiak
5843e8dd77 Fix Translator to work with namespace paths 2016-12-05 17:55:42 -07:00
Peter Jaszkowiak
9fd64549a3 Use async instead of Promises 2016-12-05 17:55:04 -07:00
Julian Lam
777f15941f closes #5251 2016-12-05 10:45:06 -05:00
Julian Lam
252574346e tweak gitignores, closes #5250 2016-12-05 10:32:44 -05:00
Julian Lam
ad732935fb closes #5254 2016-12-05 10:23:28 -05:00
barisusakli
cbd6853ccb notif controller test 2016-12-05 17:16:28 +03:00
barisusakli
8691256a67 fix post move test 2016-12-05 16:30:30 +03:00
barisusakli
7d47f4b067 tag tests 2016-12-05 15:09:13 +03:00
Moritz Schmidt
e8e33a8a23 ZSET scores are float: parseInt => parseFloat
In Redis, scores of sorted sets can be floats – so we should use `parseFloat` instead of `parseInt` when converting from string to number.
Should not lead to #4939 again, as `new Date()` works regardless of whether it's being passed a float or integer.
2016-12-04 17:41:27 +01:00
Julian Lam
33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit 2016-12-02 10:50:47 -05:00
barisusakli
aad9a39f02 move post test 2016-12-02 18:22:30 +03:00
barisusakli
55416911f7 category tests 2016-12-02 18:08:15 +03:00
Julian Lam
23cdeeb344 linting :shipit: 2016-12-02 10:07:33 -05:00
Julian Lam
a1b49a98e7 locking down session deletion route to admins and global mods only 2016-12-02 09:49:52 -05:00
barisusakli
69b766bbc8 more tests 2016-12-02 17:05:46 +03:00
barisusakli
1440139903 more tests 2016-12-02 16:10:07 +03:00
barisusakli
091f459f5e search socket test 2016-12-02 14:58:13 +03:00
barisusakli
4b6e4f085d more tests
group cover upload tests
registration approval queue tests
2016-12-02 14:05:59 +03:00
Julian Lam
68f8f57a34 upped composer version 2016-12-01 22:19:50 -05:00
psychobunny
a54a9b512a v1.4.0 2016-12-01 16:29:45 -05:00
psychobunny
bcb3903446 priv table headers 2016-12-01 16:07:40 -05:00