Baris Usakli
12f3f1a45c
show admin link in header if user is admin, closes #459
11 years ago
psychobunny
37450ff00c
optimized ajaxify to only recurse through script tags; updated so it looks deeper for embedded scripts (ie. within plugin subtemplates)
11 years ago
psychobunny
338acb8fc2
added a way to disable ajaxify on links manually if needed.
11 years ago
Andrew Darqui
4b0e915698
just changed the 403/404 checking logic to use regex.
12 years ago
Andrew Darqui
ef47f3fd15
if nodebb returns 403/404, don't overwrite previousUrl. If you don't do this, when logging in after a 403/404, it will redirect you to the 403/404 page.
12 years ago
Julian Lam
0e18ec022c
not running init() if there is no init method in each template script
12 years ago
Julian Lam
038e04dee6
revamped client side scripts so that they are loaded using Require.js instead.
12 years ago
psychobunny
22c73f3c12
closes #345
12 years ago
Julian Lam
f08067bab2
fixes #356 - issue where accessing a NodeBB using a different machine name
...
from one that it was set up with causing template data to not load, as it
was being accessed via absolute url, instead of relative url
12 years ago
Baris Usakli
f2c1a92513
closes #215
12 years ago
Julian Lam
49e28f9d1e
fixing bug where outgoing links didn't actually let you leave... oops!
12 years ago
Baris Usakli
4a7cd664fd
fixed a bug in template parsing
12 years ago
psychobunny
1fbc038e64
fixed conflicts, added new language key for users/online
12 years ago
Julian Lam
964fbfe2bb
fixes to get nodebb to at least load on IE
12 years ago
Julian Lam
0d9958afe7
HOTFIX for scripts
12 years ago
Julian Lam
6fd202fe36
closed #321 , removed cheerio use altogether, and made changes to the
...
client side to ajaxify the user to /outgoing when an external link is
clicked
12 years ago
psychobunny
451ffafb9e
finished initial client side & server side language parsing methods; integrated preloading into ajaxify and server app.js
12 years ago
psychobunny
dc41c6bc0d
formatting - core client side
12 years ago
psychobunny
abd909d23b
pagination - scroll to top / bottom arrows
12 years ago
psychobunny
7666ed3010
fixed two bugs in admin, meta.buildTitle errors out because no notification icon is present; pagination element missing
...
& final less cleanup for today
12 years ago
psychobunny
2098bf84a1
finished pagination for topic view
12 years ago
Baris Usakli
cb6f587f24
closes #197
12 years ago
Baris Soner Usakli
5e1e1ecf6f
moved refreshTitle into load_template callback
12 years ago
psychobunny
746fa93c80
added API call for total unread topics; moved unread notification parsing to client side
...
also fixed a bug where the new notification icon glow would disappear on
page refresh even if there were existing notifications.
12 years ago
Baris Usakli
22536e694c
fixes wrong topics getting loaded into wrong categories
12 years ago
Julian Lam
e8f1d645fe
closed #160
...
new build_title function to be called via socket
also added categories.getCategoryField and refactored all calls to
getTopicField to be error-first
12 years ago
Baris Soner Usakli
a5acf31fc6
posts on user account page scroll to the post now
12 years ago
Baris Soner Usakli
7297a26685
scroll to post 2
12 years ago
Baris Usakli
720dd9e960
scroll to posts
12 years ago
Baris Soner Usakli
916b46618c
another fix
12 years ago
Baris Usakli
19b570cdcf
closes #122
12 years ago
psychobunny
6f6a2e4127
closes #114 . updated ajaxify to allow for get parameters to be passed in without issues.
12 years ago
Julian Lam
145898c3ba
using nconf to manage config file now (issue #24 )
12 years ago
Baris Soner Usakli
9f892c2e80
fixed pushState urls
12 years ago
Baris Soner Usakli
43e73e3aba
url fixes for templates
12 years ago
Baris Usakli
6eb9af77e6
first pass at subfolder
12 years ago
Julian Lam
d413d3b29a
closed #40 by removing jquery call that repetitvely bound and unbound anchors
12 years ago
Baris Usakli
7ca2c949dd
fixed safari script problem
12 years ago
psychobunny
a6ff96c455
addressed issue #7 - removed unintentional flicker on page load
12 years ago
Baris Usakli
9309722898
fixed indents
12 years ago
psychobunny
2638c03752
added timeout to address bar hiding (as per the official way of accomplishing this task )
12 years ago
psychobunny
5bb9933f4a
added functionality to post button. also introduced some underlying concepts regarding modules and pulling template vars
12 years ago
Julian Lam
89d484c4ca
removing old post_window (!!) and fixing default focus when the composer is loaded
12 years ago
psychobunny
d4e4d17c5c
prevent ajaxify from working on links with "target" set. added rss button as well as social icons to category listing.
12 years ago
psychobunny
34131ad46c
modified exec_body_scripts to load external scripts. finally moved all the js files out of tpls into their own js
...
todo: still need to organize the individual scripts client side,
12 years ago
Baris Usakli
58d12c9c7c
possible fix to post window opening on page load
12 years ago
Julian Lam
624ccc592c
resolving issue where the post window stays open during navigation
...
- app.close_post_window now neatly closes the post window
12 years ago
psychobunny
ab492f147f
check for online/offline users, added custom redis sismembers method, fix for category view not showing up if it has no topics
12 years ago
psychobunny
fb52dfc6c8
templates refactor part 2
...
updated so that tpls get loaded on demand as opposed to all at once on
load; added a function to pull the tpl list on load instead of having to
manually define new templates in code; some clean up; added utils.walk;
12 years ago
psychobunny
1cdbd376ba
deprecated server side templates finally. code sharing between client side and server side templates; force_refresh parameter added to temasd
...
deprecated server side templates finally. code sharing between client
side and server side templates; force_refresh parameter added to
templates config.json; created initialization fn for webserver
12 years ago