Commit Graph

16569 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
Julian Lam
aaec71bc0c added stepSize to flags chart, #5232 2016-12-09 14:59:23 -05:00
Julian Lam
dc508fa0cb Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-09 14:54:01 -05:00
Julian Lam
4753042306 lowered analytics disk writes to every ten seconds, because why every 10 minutes? :shipit: 2016-12-09 14:53:49 -05:00
Julian Lam
9ada35cfb9 allowing Analytics.increment to have a callback 2016-12-09 14:39:31 -05:00
Julian Lam
ebc9abd773 upgrade script and graphs for #5232 2016-12-09 14:33:59 -05: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
5d63c0aa3b Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-08 14:25:53 -05: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
Julian Lam
31996f9377 added page titles 2016-12-07 15:51:05 -05:00
Julian Lam
6533fa066d removed unneeded fixes #5232 2016-12-07 15:42:47 -05:00
Julian Lam
e40eb75f8f change history saving to append an object not a serialised array, #5232 2016-12-07 15:33:30 -05:00
Julian Lam
a5fb4825b4 deprecating old hook for #5232 2016-12-07 13:06:55 -05:00
Julian Lam
5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 2016-12-07 12:07:22 -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
Julian Lam
57fcb92bbc added a smattering of tests for #5232 2016-12-06 20:28:54 -05: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
Julian Lam
a2fecf5ae4 Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-06 16:12:42 -05:00
Julian Lam
9f9051026b more work on #5232 2016-12-06 16:11:56 -05: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
cd3002e812 removed user flag reset method and associated socket call from ACP 2016-12-05 15:52:01 -05:00
Julian Lam
88958049eb added some more filters, and appending event to history on flag creation
issue #5232
2016-12-05 15:33:08 -05:00
Julian Lam
8e1d441e20 Added some quick filters, #5232 2016-12-05 12:40:25 -05:00
Julian Lam
b7217e8841 Merge remote-tracking branch 'origin/master' into flagging-refactor 2016-12-05 11:28:10 -05:00
Julian Lam
777f15941f closes #5251 2016-12-05 10:45:06 -05:00