psychobunny
1fecbd0b90
fixed function signature for ajaxify.loadData
11 years ago
Julian Lam
667a78902e
closed #1586
11 years ago
psychobunny
bf63c927c6
trigger ajaxify.loadingData regardless of cached state
11 years ago
psychobunny
7f011fe583
calling it ajaxify.preloader instead
11 years ago
psychobunny
d5bf83f43f
closes #1570
11 years ago
psychobunny
10716c37d3
closes #1376
11 years ago
Julian Lam
b56df975e0
fixed 1495
11 years ago
barisusakli
d43d363a7a
refactored topics.js
...
removed ajaxify.register_events using removeListener now
11 years ago
psychobunny
111898ab0f
closes #1467
11 years ago
psychobunny
a14ce9d0c6
closes #1352
11 years ago
barisusakli
c8efeb7d7c
closes #1400 , bunch of other fixes to 404, 403 in accounts
11 years ago
barisusakli
80ef7e5085
closes #1423
11 years ago
psychobunny
090c4e2aa9
action:ajaxify.contentLoaded - after #content is populated but before fade in animation - append elements to DOM at this stage.
11 years ago
psychobunny
f3993aca4d
closes #1397
11 years ago
Julian Lam
126260a027
added cache-buster to template xhr urls -- closed #1392
11 years ago
barisusakli
3e60451ce4
closes #1013
...
lets user change languages,
11 years ago
psychobunny
591fb41c08
removed unused content variable
11 years ago
psychobunny
f01cb88c57
deprecated: plugins/fireHook, filter:server.create_routes, filter:admin.create_routes
11 years ago
psychobunny
d27eb17b32
fixes #1294
11 years ago
psychobunny
b023ef01af
moving widgets and variables code out of ajaxify
11 years ago
psychobunny
1b206a6ae8
ajaxify cleanup
11 years ago
psychobunny
7e11d29f06
got rid of all templates.prepare; pull blocks using templates.getBlock instead of parsing twice
11 years ago
psychobunny
113eb38f9a
moving ajaxify-related things out of templates and into ajaxify
11 years ago
barisusakli
d2af4a6b69
user images wont be responsive in widgets
11 years ago
psychobunny
ef97f627f4
closes #1237
11 years ago
psychobunny
653007b72e
closes #1231
11 years ago
psychobunny
e60b2f7716
closes #1174
11 years ago
psychobunny
0d625761be
fixing bug introduced @ da0355ef79
(multiple widget areas defined = explosion)
11 years ago
psychobunny
bdc7a19bd7
don't attempt to parse a non-existing widget area
11 years ago
psychobunny
da0355ef79
remove async dep for widgets (30kb was overkill for one use of async.each); linting
11 years ago
psychobunny
62afe65ccf
bugfix + deprecated templates.getTemplateNameFromUrl
11 years ago
psychobunny
712c382a28
optimizing ajaxify (still needs work though)
11 years ago
psychobunny
bcd8137d0e
console.log
11 years ago
psychobunny
55a7838725
temporary templateMapping fix for admin side; will come back to this after merging this branch
11 years ago
psychobunny
88e5ddac76
deprecating hook events on body
11 years ago
psychobunny
c67182204f
clean-up + bugfixes
11 years ago
psychobunny
c26af77a24
fixing cold load of admin/index
11 years ago
psychobunny
b9264dea76
ajaxify.loadScript
11 years ago
psychobunny
6f21547a8d
ajaxify.fadeIn, ajaxify.fadeOut
11 years ago
psychobunny
6827dbc9c4
render widgets on cold load
11 years ago
psychobunny
23c283f06c
ajaxify.getTemplateMapping
11 years ago
psychobunny
49997639e9
moved widget rendering code into ajaxify.renderWidgets
11 years ago
Baris Soner Usakli
091723a8c5
closes #1101
11 years ago
Baris Soner Usakli
c49c3e3550
fixed jquery ui package
11 years ago
akhoury
2209a55afc
- changes per PR conversation
11 years ago
akhoury
1b207d8276
IE8 support, general cleanups, from native to $ objects ...
11 years ago
psychobunny
a3191227de
closes #1080
11 years ago
psychobunny
ef65f510a5
fomatting
11 years ago
psychobunny
599027f2d3
send full url to widgets as well so they can parse based on path
11 years ago
psychobunny
aea7329871
animate page load only after widgets load
11 years ago
psychobunny
163b0f964e
Merge remote-tracking branch 'origin/master' into Widgets
11 years ago
psychobunny
c0df95b2dc
render widgets upon ajaxify - this widget feetorez iz completified!
11 years ago
Baris Soner Usakli
ea222c4f8a
crash fix for notifications, removed exec_body_script, closes #1058
11 years ago
psychobunny
d69835e115
allow any hash to be pushed to history
11 years ago
psychobunny
1e47953efd
expanding hash regex to alphanumeric
11 years ago
Baris Soner Usakli
21367a1847
reverse infinite loading
11 years ago
psychobunny
a53c35f071
added back 'body' trigger - to be deprecated in 0.4x
11 years ago
psychobunny
3955ca560f
changed hook triggers to window from body
11 years ago
Baris Soner Usakli
d0702f663b
disable scroll events on ajaxify'
11 years ago
Julian Lam
3f876fec80
added ajaxify.start and ajaxify.end client-side hooks
11 years ago
Baris Soner Usakli
5759b1b1a2
closes #857
11 years ago
Julian Lam
ab85ef6b7b
fixed issue where back button stopped ajaxifying internally.
11 years ago
Julian Lam
459d5ddccd
fixed #867 - added proper detection so that onpopstate would not react if it was a proper page load
11 years ago
Julian Lam
b587d7b5ad
fixed issue where calls to ajaxify.go were sending in a "template" argument that had since been removed, navigating back to NodeBB from an external link now no longer clobbers the History stack.
11 years ago
Julian Lam
ef450edfea
Revert "possible fix to #840", please see #867
...
This reverts commit 1d666bf7f0
.
11 years ago
Baris Soner Usakli
1d666bf7f0
possible fix to #840
11 years ago
Baris Soner Usakli
cd4cb240c8
upload file icon in composer was visible even when uploads were disabled
11 years ago
Julian Lam
127261100e
fixed #698 - ajaxify.go will now cancel any active API requests when it is called
11 years ago
psychobunny
0e5358a701
closes #698
11 years ago
Julian Lam
d86aefb518
removing defunct "template" argument in ajaxify.go
11 years ago
psychobunny
67e49db797
ajaxify.refresh(); removed console.log
11 years ago
psychobunny
4348e1efa4
use ajaxify.currentPage to find the user's location easily
11 years ago
psychobunny
ca087e6fa7
fixes #576
11 years ago
psychobunny
98cf6eec71
shift clicking now opens links in a new window, closes #630
11 years ago
Julian Lam
b81737bc0f
moved refreshTitle into app.js, messaging someone now invokes an alternating title, hehe
11 years ago
Julian Lam
b9f1176ec1
moved paginator progress bar into paginator block, better mobile handling, and hiding it on page load
11 years ago
Julian Lam
e5c1edd5f5
using ajaxifying class for content and footer instead of jquery fadein/out
11 years ago
Julian Lam
0b39968a9c
fixing back button behaviour and playing nice with History API
11 years ago
psychobunny
3dbcf8112d
fixes navigation - back button
11 years ago
Baris Soner Usakli
2174aec0e1
closes #542 and other refactors on client side
11 years ago
Julian Lam
a9ce8393e4
added footer.build and page.load hooks
11 years ago
Julian Lam
2cf55dcf9f
added action:page.load hook
11 years ago
Baris Usakli
4da819b02b
changesto category.tpl
11 years ago
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
psychobunny
88de8cd824
fixed an issue in bootstrap.js causing ctrl-click to not work. removed ctrl-click / middle click simulation code in ajaxify. am currently using unminified bootstrap TODO minifiy fixed version;
12 years ago
Julian Lam
5e9340a4fe
fixing ajaxify bug where external links (and the logout link!) did not
...
work -- basically any link that wasn't a template didn't work
12 years ago
Julian Lam
6c82ffa09a
fixed bug where middle-click didn't work on firefox. Now ajaxify is capturing both onclick and mouseup
12 years ago
Julian Lam
1d78c6a35d
removing debug statements from ajaxify
...
building in middle click and ctrl-click listeners for new tab opening
instructing git to ignore everything in the /uploads folder
12 years ago
Julian Lam
e4364b5362
pushing fix to ajaxify where the homepage did not get added to the history (and thus was unreachable via history action
12 years ago
Julian Lam
613b53ac3d
removing console logs
12 years ago
Julian Lam
c351d83418
added popstate functionality
12 years ago
psychobunny
42b4f90fed
bad commit earlier, lost the footer. just reduced delay to 200ms now and it looks much better
12 years ago
psychobunny
88f64b4a79
optimized the transition between pages just a bit
12 years ago
psychobunny
f3f08a9c94
more fixes to ajaxify, updated /users blocks to sit flush to the left, started work on the ACP including basic templates, added a method to get active users in all rooms (socket connections), added more routes mostly pointing to admin, added a routing folder to start organizing routes better, starting with admin.
12 years ago
psychobunny
8e1ee88878
removed derpy + from header ill come back to that later when im more inspired... fixed ajaxify for custom routed urls, fixed recent/popular/active tab's invalid object initializer
12 years ago
psychobunny
31e845f4b0
added regex matching to templates/ajaxify. needs cleanup, just unblocking baris
12 years ago
psychobunny
09c6aace09
custom template half in
12 years ago
Julian Lam
7ed2413d96
Merge remote-tracking branch 'origin' into thread_options
...
added some styling and elements to thread deletion
Conflicts:
public/src/ajaxify.js
12 years ago
psychobunny
4b32089367
temporary fix for templates loading twice
12 years ago
psychobunny
6ebc5398a7
fixed custom_mapping bug
12 years ago
Julian Lam
7bbc630dfb
Merge remote-tracking branch 'origin' into thread_options
...
Conflicts:
public/src/templates.js
12 years ago
psychobunny
5153aa7652
added template mapping, did users->account
12 years ago
Julian Lam
b2c6d4f7c7
interim commit to thread options
12 years ago
psychobunny
178bc82a55
removed deprecated functions from topics.js (server side parsing) and fixed the 150ms initial delay on first load
12 years ago
psychobunny
8a2c18de5b
fixed ajaxify bug that was rendering pages twice (solved flicker issue); fixed entering rooms that was casuing rep/streaming posts to not work; fixed /accounts to work by adding get data route; fixed bug that preventing gravatars from loading if there was more than one post in the thread
12 years ago
psychobunny
3947b6b6fd
modified ajaxify slightly to make transitions between pages a bit more fluid (although first load doesn't look that awesome); fixed up rooms - resolved DRY failure and properly leave rooms
12 years ago
psychobunny
8133ac53de
small change to ajaxify to ignore href='#', added some design to future features, up for grabs if anybody wants to do them
12 years ago
psychobunny
5aa3dab289
added popstate check to trigger ajaxify on back button keypress. forward button doesn't work yet
12 years ago
psychobunny
3e96f64191
streaming posts. also moved topics to be entirely client side parsed. made some changes. added block level caching to templates. added a prepare method to templates
12 years ago
psychobunny
bcb672e1fe
socket rooms! and almost finished rep (socket updates) except for one small bug where current_user isnt being pulled
12 years ago
psychobunny
9119a9d104
small refactor of routing, cleanup, templates are now parsed entirely on client side for /, /register, /login for now
12 years ago
psychobunny
b2bc967e9b
got ajaxify working with threads, some cleanup, fixed anon posting, got rid of a few more global.sockets calls
12 years ago
psychobunny
98ca14e31c
started working on threadss, implemented slug url, fixed crashing bug during post creation
12 years ago
psychobunny
e5a6d1bf8b
added a way to track socket listners added to the page to prevent memory leaks and duplicated definitions of events
12 years ago
psychobunny
faa3924734
prevent scripts in tpls from being executed more than once
12 years ago
psychobunny
5173498180
client side templates in, fixed home page to parse templates on ajaxify, added footer to the page transition animation for smoothness
12 years ago
Julian Lam
8e49e0f203
fixing event propagation in ajaxify.go
12 years ago
psychobunny
a06b3519a1
moved event alert to serverside, now node controls the registration alert. added some transition animation to page changes
12 years ago
psychobunny
67bf1b6041
updated ajaxify to do a callback after page change, added toaster style notifications (app.alert), changes to webserver to update automatically
12 years ago
Julian Lam
96a4cbd8d1
fixed menu "active" state
12 years ago
Julian Lam
3c04a71b08
renaming functions so that they're less derpy (from enable/enableAll to
...
enable/onclick)
12 years ago
Julian Lam
2b4e562e21
committed fix to ajaxify that caused any newly appended anchors to not be
...
ajaxified, also tweaked ajaxify so that it only unbinds its own events
instead of clobbering any other events attached to anchors (#futureproof)
12 years ago
psychobunny
fd9cb2eaf7
ajaxify.go(relative_url); - use this to navigate to a page manually
12 years ago
psychobunny
be954d176d
prevent same state from loading again
12 years ago
psychobunny
1d35f369d9
clean up client side + config.json
12 years ago