Commit Graph

5262 Commits

Author SHA1 Message Date
barisusakli
aadca3a675 fix calls to removeRelativePath in ajaxify.js 2014-06-09 02:13:19 -04:00
barisusakli
db84ced78f removeRelativePath public 2014-06-09 02:03:36 -04:00
barisusakli
4bdbce9cd8 use removeRelativePath in app.js too 2014-06-09 01:28:58 -04:00
Charles
9734403114 Fix removeRelativePath
Instead of checking the existence of relative_path (without /) anywhere on the url, it really should check that the url only starts with the relative_path.

Example

```
relative_path = /forum
without / = forum
url = /category/forum/5
removeRelativePath = ory/forum/5
```
2014-06-09 12:21:58 +07:00
barisusakli
178f567659 closes #1655 2014-06-07 15:34:25 -04:00
barisusakli
7610c11cd1 closes #450
backup database before upgrade!
upgrade script will take the first post of each topic and set the
`mainPid` property on the topic. then it will remove that pid from the
sorted sets for that topic, this was done to make alternative sorting
work.

added a new sorted set called `tid:<id>:posts:votes` that is used to
sort topic posts by vote count, the original sorted set `tid:<id>:posts`
is used to sort by oldest first or newest first.

the main post is added to the returned posts array on topic load and is
always at the top.
theme changes are minimal just a few new data properties on the posts
and the sorting dropdown.
hopefully didn't miss anything too critical.
2014-06-06 22:12:19 -04:00
barisusakli
efe04c12d3 closes #1635
if email isnt confirmed, show a warning in account/edit and let users
resend confirm email
2014-06-03 18:39:54 -04:00
barisusakli
b2e48b21a2 pass url to onAjaxError 2014-06-03 14:58:24 -04:00
psychobunny
e88abcc1d9 fixed updated language strings 2014-06-03 14:38:33 -04:00
psychobunny
b881131a65 fixes #1632 2014-06-03 14:32:41 -04:00
barisusakli
6bd4524a79 fixed share for category 2014-06-03 13:16:19 -04:00
barisusakli
573cb4b4d7 fixed share links 2014-06-03 13:12:28 -04:00
barisusakli
0574022e02 fixes to infinitescroll 2014-06-02 20:41:08 -04:00
psychobunny
c342e75f6e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2014-06-02 17:42:52 -04:00
psychobunny
94312cfda8 closes #1595 2014-06-02 17:42:29 -04:00
barisusakli
55dbc5c823 closes #1612
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
2014-06-02 17:31:14 -04:00
psychobunny
46028e49f7 closes #1600 2014-06-02 16:58:38 -04:00
psychobunny
0816928949 unset preloader cache after loading url 2014-06-02 15:00:43 -04:00
psychobunny
22d459d4cc temporary fixes for chrome users who have cookies disabled 2014-06-02 14:58:27 -04:00
barisusakli
aa0b9f9029 semicolon 2014-06-02 14:03:01 -04:00
barisusakli
09d4f4b47b leaving tags box will create tag 2014-06-02 13:10:52 -04:00
barisusakli
69ac63ed4e updated repo link in admin 2014-06-01 11:57:44 -04:00
psychobunny
09c632330b render widgets sooner 2014-05-30 17:52:33 -04:00
psychobunny
cad10a3f9e implemented caching for widgets 2014-05-30 17:38:03 -04:00
psychobunny
bfcd13144e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2014-05-30 15:35:30 -04:00
psychobunny
4ee055c3ea closes #1608 2014-05-30 15:30:37 -04:00
psychobunny
bbcff6a0a5 moved widget rendering up a bit 2014-05-30 15:29:17 -04:00
barisusakli
e035d8f1de closes #1497
fixes user images in subfolder installs, if user image has https dont
append relative_path,
also removes relative_path in ajaxify.loadData so it doesnt call
/forum/api/forum/category etc.
2014-05-30 15:22:52 -04:00
psychobunny
c7691a8cdc Merge remote-tracking branch 'origin/master' into require.js
Conflicts:
	src/meta.js
2014-05-30 15:18:17 -04:00
Julian Lam
be19222817 en_US will no longer throw js error from missing timeago file 2014-05-30 14:45:55 -04:00
psychobunny
3ba51b05f7 fixing the minified version of string.js instead 2014-05-29 17:46:44 -04:00
psychobunny
65f3fa1bbc fixing string.js compatibility 2014-05-29 17:44:41 -04:00
psychobunny
f98a52013a Merge remote-tracking branch 'origin/master' into require.js 2014-05-29 17:25:16 -04:00
psychobunny
281aa0049c init, attempt to increase cold load speed 2014-05-29 17:24:38 -04:00
barisusakli
652e1ef574 closes #1597
turns out clicking back causes double script.init() calls and
ajaxify.variables.get('topic_id') can be undefined in one of those
calls.
2014-05-29 12:09:54 -04:00
psychobunny
5b17f9a7a4 added caching per url + rate limiting mechanism to prefetcher, closes #1576 2014-05-28 19:03:54 -04:00
psychobunny
1e05a92c1e no need to send prefetched state anymor 2014-05-28 18:24:30 -04:00
psychobunny
d81351579d don't require passing in uid for topics.markAsRead 2014-05-28 18:21:15 -04:00
psychobunny
791fde7904 fixing #1587 properly for unread count 2014-05-28 18:20:02 -04:00
psychobunny
08bbf7fdd8 console.log 2014-05-28 18:16:26 -04:00
psychobunny
0334a487b5 fixing #1587 properly for profile views 2014-05-28 18:15:53 -04:00
psychobunny
71214c6255 fixed preloader 2014-05-28 17:48:03 -04:00
psychobunny
fee591e551 fixes #1587 2014-05-28 17:43:03 -04:00
psychobunny
1fecbd0b90 fixed function signature for ajaxify.loadData 2014-05-28 17:26:28 -04:00
psychobunny
bfa3b0f22f global header widgets 2014-05-28 16:30:29 -04:00
barisusakli
351e376812 hide area if there are no widgets 2014-05-28 16:24:10 -04:00
barisusakli
e1ad2537b6 fixes navigator progress bar 2014-05-28 13:13:29 -04:00
barisusakli
60742ce316 closes #1590, closes #1589 2014-05-27 21:12:57 -04:00
barisusakli
eb0a06b777 closes #1577 2014-05-27 14:53:51 -04:00
Julian Lam
667a78902e closed #1586 2014-05-27 13:30:27 -04:00