Commit Graph

5262 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
6fb90a17e0 closes #5613 2017-05-01 21:38:03 -04:00
Barış Soner Uşaklı
2f3aceb7d3 dont do anything if config is off 2017-04-28 23:09:36 -04:00
Barış Soner Uşaklı
82863a28f0 add the loaded topics after the last topic on the list 2017-04-28 02:08:14 -04:00
Peter Jaszkowiak
65e31493a9 Escape ACP search values 2017-04-24 11:40:39 -06:00
Peter Jaszkowiak
81e23a8a9a Fix #5622 2017-04-23 12:48:35 -06:00
Barış Soner Uşaklı
081578c7f4 Merge pull request #5616 from NodeBB/auto-lang
Automatically detect user language based on browser accepts header
2017-04-22 12:58:54 -04:00
Peter Jaszkowiak
64bf542d17 Fix HTML lang attribute using the defaultLang
Themes need `lang="{function.localeToHTML, userLang, defaultLang}"` in
their header.tpl file
2017-04-21 23:56:19 -06:00
Barış Soner Uşaklı
c43a4e4b82 Merge pull request #5615 from NodeBB/fix-5536
Fix #5536
2017-04-21 23:33:15 -04:00
barisusakli
08dd412896 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	src/upgrade.js
2017-04-21 21:43:39 -04:00
barisusakli
75e5f2da74 closes #5485 2017-04-21 21:36:42 -04:00
barisusakli
73700ed747 closes #5617 2017-04-21 13:48:43 -04:00
Peter Jaszkowiak
cc76a8663d Add flag for detecting if the mock is being used 2017-04-19 20:44:11 -06:00
Peter Jaszkowiak
30b47d39f3 Fix #5536 2017-04-19 20:33:03 -06:00
barisusakli
b45111d44b show max message length in error message 2017-04-19 20:56:12 -04:00
Peter Jaszkowiak
9d8ff4ea3e Fix images not displaying in signatures 2017-04-19 17:19:38 -06:00
barisusakli
236758b712 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2017-04-18 14:00:14 -04:00
barisusakli
fb3020f892 closes #5604 2017-04-17 18:59:46 -04:00
Peter Jaszkowiak
2827db3309 Fix sounds playing through multiple tabs 2017-04-17 15:56:24 -06:00
barisusakli
20eac0de94 closes #5518 2017-04-17 12:23:05 -04:00
barisusakli
e3205bcfad merge 2017-04-16 14:26:12 -04:00
Peter Jaszkowiak
baa2a59f4c Fix ace editor not working 2017-04-15 16:10:28 -06:00
Peter Jaszkowiak
0fe10f5e86 Escape topic titles at the source, deduplicate 2017-04-15 01:38:42 -06:00
barisusakli
36df4cdf97 fix cyclic dependency issue 2017-04-14 13:37:15 -04:00
barisusakli
b8c606cbbd closes #5519 2017-04-14 10:08:50 -04:00
Julian Lam
a141835cf8 Merge branch 'master' into develop 2017-04-13 16:45:46 -04:00
Peter Jaszkowiak
1fb48ef7a7 Fix #5592 (#5593)
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents

* Fix tests
2017-04-13 21:37:54 +03:00
Julian Lam
d18cfced96 Merge remote-tracking branch 'origin/master' into develop 2017-04-12 23:57:14 -04:00
Peter Jaszkowiak
a8add6477c Fix merge conflicts 2017-04-12 21:29:54 -06:00
Julian Lam
a62a4e698f Merge pull request #5578 from NodeBB/utils-translator-require
Make utils and translator easier to require
2017-04-12 23:16:59 -04:00
Peter Jaszkowiak
484a800327 Merge branch master into develop 2017-04-12 21:11:39 -06:00
Peter Jaszkowiak
980e9026f3 Fix #5588, translator ignores unclosed tokens 2017-04-12 20:34:31 -06:00
Peter Jaszkowiak
9368e666d8 Fix failing test 2017-04-11 21:53:17 -06:00
Peter Jaszkowiak
010473e5cc Merge branch 'master' into patch-pitaj 2017-04-09 23:09:52 -06:00
Peter Jaszkowiak
dc4f2be156 Remove ace global for eslint 2017-04-09 21:47:05 -06:00
Julian Lam
126237e2c9 Merge pull request #5576 from pichalite/zxcvbn
Closes #5521
2017-04-09 16:52:52 -04:00
Peter Jaszkowiak
1892492505 Deprecate utils.walk, remove prototype modification 2017-04-08 21:02:06 -06:00
Peter Jaszkowiak
1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Peter Jaszkowiak
0ef30e91ba Use ace-builds npm package instead of vendor
ace can be referenced as an r.js module, reduces acp bundle size
2017-04-08 19:05:10 -06:00
pichalite
4c89497cc4 Closes #5521 2017-04-07 20:57:00 +00:00
Anil Mandepudi
da183e196a Fixes #5572 (#5575)
* Fixes #5572

* Adding trailing commas but in protest
2017-04-07 14:35:24 -04:00
Peter Jaszkowiak
1deeaaeb39 Fix #5563 2017-04-06 15:20:07 -06:00
Julian Lam
7afe8a32f6 Merge branch 'master' into develop 2017-03-29 15:26:49 -04:00
Julian Lam
1594a84e1c fixes #5536 2017-03-28 12:13:44 -04:00
Julian Lam
b649eb95f8 Merge remote-tracking branch 'origin/master' into develop 2017-03-24 14:37:39 -04:00
Julian Lam
6060b8e13b fix tests 2017-03-23 14:39:46 -04:00
Barış Soner Uşaklı
fe27d40ff6 closes #5542 2017-03-23 10:58:28 +03:00
Aziz Khoury
6682e048ea wrapImagesInLinks with <a download> attribute
if the `src` of the `img` does not have an extension, most browsers will trigger a download with whatever filename is set, also without an extension, so when it's opened in any OS, it wont have a default application to open it with.

So, In this case, if the `alt` attribute has an extension (meaning if it looks like filename) - we use that with the html5 [`download` attr](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download)

The PR does not affect any src if they have an extension.
2017-03-22 12:19:31 +02:00
Julian Lam
7f8f197e60 Merge branch 'master' into develop 2017-03-16 14:58:39 -04:00
Julian Lam
23d4497c73 Merge pull request #5531 from NodeBB/patch_5491
Fix #5491
2017-03-15 23:01:42 -04:00
Peter Jaszkowiak
8c45411ccc Fix #5491 2017-03-15 20:00:05 -07:00