Barış Soner Uşaklı
7a405da60f
group member search change
2017-07-28 00:55:02 -04:00
Baris Usakli
a9dbdc75af
closes #5825
2017-07-26 14:32:53 -04:00
Barış Soner Uşaklı
9d69224329
up themes fix altenate_logins to be bool
2017-07-22 19:05:22 -04:00
Barış Soner Uşaklı
eecc680761
style
2017-07-17 18:16:23 -04:00
dbolack-ab
c1452db0ba
Adds the filter:uploadStored hook which fires after the file is saved… ( #5798 )
...
* Adds the filter:uploadStored hook which fires after the file is saved in the async waterfall and passes:
var storedFile = {
url: nconf.get('relative_path') + upload.url,
path: upload.path,
name: uploadedFile.name,
}
plugins.fireHook( 'filter:uploadStored', { uploadedFile: uploadedFile, storedFile: storedFile } );
* Corrections per PR. Should match style guide.
* Correction attempts take 2.
Per:
/home/travis/build/NodeBB/NodeBB/src/controllers/uploads.js
234:5 error Missing semicolon semi
235:3 error Expected indentation of 3 tabs but found 2 indent
235:19 error There should be no spaces inside this paren space-in-parens
235:105 error There should be no spaces inside this paren space-in-parens
236:3 error Expected indentation of 3 tabs but found 2 indent
* next() shouldn't fire twice, but I see no documentation suggesting that the paramaters will fire correctly.
Previous comments imply it is preferred to have fireHook fire fof the callback rather than having it happen next, so I'm wrapping next in an anonymous function to ensure it passes the parameters.
If this is not the preferred method, please provide a thorough correction.
* Meh. Figuring out this style requirement is so hit and miss.
* Corrected for proper callback? technique.
Might blow up on style. Will watch.
2017-07-17 18:15:24 -04:00
Barış Soner Uşaklı
cc4f4e7282
style changes
2017-07-15 16:57:41 -04:00
Julian Lam
701ba73883
updated homepage route logic so that it is all contained in the local function (and plugin hook receives all entries, including custom) @barisusakli
2017-07-11 15:40:47 -04:00
Baris Usakli
e036e26238
closes #5813
2017-07-10 14:55:57 -04:00
Barış Soner Uşaklı
923bd86662
Widgets refactor ( #5817 )
...
* widgets refactor
render widgets server side
widgets can use all the data the template can use
* fix tests
2017-07-10 12:54:45 -04:00
Baris Usakli
e0de922ede
Revert "widgets refactor"
...
This reverts commit 9e94edb5aa .
2017-07-07 15:35:06 -04:00
Baris Usakli
9e94edb5aa
widgets refactor
...
render widgets server side
widgets can use all the data the template can use
2017-07-07 15:33:16 -04:00
Julian Lam
b7e8ecc6d3
updated mentions version and changed topics filter to take its translation from global hash instead
2017-07-05 16:43:46 -04:00
Barış Soner Uşaklı
b807d3750c
encodeURI redirect url
2017-07-05 11:36:35 -04:00
Peter Jaszkowiak
6cb8440715
Fix #5793
...
Use a custom header instead
2017-06-30 23:38:31 -06:00
Baris Usakli
1f5b3ba636
closes #5771
2017-06-23 15:57:23 -04:00
Barış Soner Uşaklı
0f234601f1
style changes
2017-06-22 19:03:49 -04:00
Barış Soner Uşaklı
78005d6124
show old groups first
2017-06-22 18:12:35 -04:00
Baris Usakli
77994dcf69
fix link tag url
2017-06-22 13:04:24 -04:00
Baris Usakli
ef9e656f34
closes #5740
...
added token to topic page as well
check privilege even if token is provided
tests
2017-06-22 12:44:37 -04:00
psychobunny
228e9ab8e3
proof of concept for #5740
2017-06-20 16:12:55 -04:00
Ben Lubar
07982a3fa2
Fix uploading a file with no extension resulting in invalid-extension even if the file extension list is blank (allow all)
2017-06-16 10:37:23 -05:00
Barış Soner Uşaklı
b13ed26587
closes #5755
2017-06-13 20:15:48 -04:00
Peter Jaszkowiak
44e55d2a98
Less synchronous stuffs
2017-06-01 14:14:43 -06:00
Baris Usakli
da8b1b605c
#5723
2017-05-30 17:21:34 -04:00
psychobunny
88d5f97280
closes #5717
2017-05-29 17:12:02 -04:00
Baris Usakli
d7684b042f
fix tab
2017-05-29 14:52:10 -04:00
Baris Usakli
1fa52267d4
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/src/admin/manage/category.js
2017-05-29 14:48:25 -04:00
Baris Usakli
de5fe25e57
closes #5715
2017-05-29 14:47:01 -04:00
Barış Soner Uşaklı
59b1d8fbae
Merge pull request #5710 from NodeBB/_lodash
...
Switch from underscore to lodash
2017-05-29 13:38:21 -04:00
Baris Usakli
dc0971c122
up composer
2017-05-29 13:13:16 -04:00
Barış Soner Uşaklı
9664033b73
add memory usage to info page
2017-05-28 18:40:32 -04:00
Barış Soner Uşaklı
08aaabd33c
closes #5642
2017-05-27 23:32:55 -04:00
Peter Jaszkowiak
3c2d4fe649
Switch from underscore to lodash
2017-05-27 14:51:45 -06:00
Barış Soner Uşaklı
bcc566fb68
remove unnecessary checks
2017-05-27 00:47:04 -04:00
Baris Usakli
11d9410229
fix test and image normalize test
2017-05-26 16:37:31 -04:00
Baris Usakli
081ac6535c
style change
2017-05-26 16:14:25 -04:00
Baris Usakli
9efa46c65a
more account tests
2017-05-26 16:11:47 -04:00
Baris Usakli
69b5bb39ec
unread tests
2017-05-26 14:25:19 -04:00
Barış Soner Uşaklı
79a48cec5f
controllers/category tests
2017-05-25 20:01:07 -04:00
Baris Usakli
062bced3dd
cleanup and tests
2017-05-25 16:40:07 -04:00
Baris Usakli
b9b02a1fab
math.ceil pageCount
2017-05-25 14:40:18 -04:00
Barış Soner Uşaklı
b0dd1ad4d7
admin navigation test
2017-05-24 13:25:56 -04:00
Barış Soner Uşaklı
c9d502320f
file.delete method
2017-05-24 00:02:30 -04:00
Barış Soner Uşaklı
b29745aa44
more auth tests
2017-05-23 22:09:25 -04:00
Barış Soner Uşaklı
b8cc67dfff
social tests
2017-05-23 20:43:09 -04:00
Barış Soner Uşaklı
a8c649cca6
check data.uid
2017-05-23 17:41:40 -04:00
Barış Soner Uşaklı
e4714a0c58
more auth tests
2017-05-23 17:37:16 -04:00
Barış Soner Uşaklı
9625f89665
remove for loop
2017-05-23 15:53:38 -04:00
Barış Soner Uşaklı
1e83d33283
tests for login
2017-05-23 15:37:32 -04:00
Barış Soner Uşaklı
a4ba88dc60
more feed tests
2017-05-21 19:45:29 -04:00