Hannah Wolfe
2b9be5376e
Added functional tests for Ghost Admin UI using Casperjs
...
Hacky implementation of a suite of casper tests. This is here so that we can start to build up some tests.
Main thing missing is being able to simulate keypresses for CodeMirror
Making the tests run nicely with grunt, travis and be independent rather than interdependent can all come later.
- See tests/functional/base.js for full usage instructions & implementation notes
2013-07-31 08:33:28 +01:00
Hannah Wolfe
97eb827d47
Replaced user menu label with current Ghost version no
...
closes #286
- added current version as an app.local variable available on both client and server
- swapped out the user menu label for the version no
2013-07-30 12:56:16 +01:00
Matthew Harrison-Jones
b089e67154
Improved modal creation, now includes info and action types.
2013-07-26 15:32:44 +01:00
Matthew Harrison-Jones
3057945b70
Refactored menu fading to be a plugin for extendability.
...
Need to find suitable place for the `.overlay` hideAway function call.
2013-07-26 12:32:26 +01:00
Hannah Wolfe
8b0763ee9c
Merge pull request #311 from matthojo/copy-to-html-modal
...
First pass at creating a usuable modal for the copy to HTML keyboard shortcut.
2013-07-25 10:42:18 -07:00
Matthew Harrison-Jones
0786ec5862
First pass at creating a usuable modal for the copy to HTML keyboard shortcut.
...
Has an issue where Google Chrome does not persist to keep code selected.
2013-07-25 16:00:41 +01:00
Matthew Harrison-Jones
17c582ce51
Fixed modal max-height not working
2013-07-25 11:53:19 +01:00
Matthew Harrison-Jones
62486acfd1
Improved Markdown help modal
2013-07-25 11:49:02 +01:00
ErisDS
273e2172cb
Bugfix: data export path wasn't changed during restructure
2013-07-24 23:22:33 +01:00
Ricardo Tomasi
814a3d66b7
Move shared third-party libraries to /shared/vendor
2013-07-24 23:21:57 +01:00
Matthew Harrison-Jones
680bb7a5ab
Reworked modals to take content from modal content templates.
...
This also includes the example modal, which needs to be replaced with content.
2013-07-24 11:29:20 +01:00
Matthew Harrison-Jones
d59f0809cd
Started a jQuery utilities file for Ghost jQuery plugins and helpers
2013-07-24 11:15:10 +01:00
Matthew Harrison-Jones
7111960fac
Added in Modals
2013-07-24 11:15:09 +01:00
Hannah Wolfe
c2ac06cf0c
Merge pull request #298 from matthojo/Markdown-Fixes
...
Additional Keyboard Shortcuts and improvements to text highlighting
2013-07-23 11:44:14 -07:00
Hannah Wolfe
7188c385d1
Merge pull request #297 from matthojo/Editor-Scrolling
...
Debounce scrolling on editor
2013-07-22 08:00:15 -07:00
Matthew Harrison-Jones
3a8b01dbcb
Move notification dismissal events to Backbone
...
Also removes stray notification alert comments
2013-07-22 14:41:28 +01:00
ErisDS
2e0d2c73d6
Bug Fix: title of deleted post in content view notification is now correct
2013-07-22 14:41:28 +01:00
Matthew Harrison-Jones
94ae164086
Success notifications now fade out after 3 seconds
2013-07-22 14:41:28 +01:00
Matthew Harrison-Jones
32b245c53c
Fix notification positions
...
Also fixes the previous editor notification fixes to not include `calc()`
2013-07-22 14:41:27 +01:00
Gabor Javorszky
f10343079b
Fixes undefined this in settings.js
...
Because this and self. Missed it from previous commit :/
2013-07-22 14:41:27 +01:00
Gabor Javorszky
5a1c02b5d7
Adding notifications to settings and content pages
...
Closes #290 . In theory.
* moved flashviews to base.js, renamed to notifications
* added failures to post editor screen
* added notifications to settings (success, failure)
* added notifications when deleting posts
Most of these are not visible due to CSS rules, as overhauling that
is a task in and of itself. The notifications do show up in the inspector
though, so all is well.
2013-07-22 14:41:27 +01:00
Matthew Harrison-Jones
e7cea72935
Fixes wrong positioning of notifications.
2013-07-22 14:41:27 +01:00
Gabor Javorszky
55e0d11f87
Adding notification.hbs
...
Simply because I was an 1d10t
2013-07-22 14:41:27 +01:00
Gabor Javorszky
b77a8fd0d9
Notifications on front end
...
Should close #37 . There are persistent and passive notifications.
Persistent ones:
* are stored on `ghost.notifications`.
* have an api made to add / remove them with client side ajax logic (probably not the most elegant, but works)
* uses a modified `flashes.hbs` template
* will only disappear if user closes the bar
* stack
Passive
* added with backbone view / collection combo
* stack
* disappears on navigation and when user closes it
2013-07-22 14:41:27 +01:00
Matthew Harrison-Jones
4b5932bef2
Added the ability to copy as HTML.
2013-07-22 13:50:50 +01:00
John O'Nolan
d337e16afe
Merge pull request #296 from matthojo/Plugin-Management
...
First pass at Plugin Management design conversion
2013-07-22 04:22:37 -07:00
John O'Nolan
ae348edbdb
Merge pull request #293 from matthojo/Remove-Codemirror-CSS
...
Removed CodeMirror Stylesheet file and moved over required CSS
2013-07-22 04:22:19 -07:00
Matthew Harrison-Jones
f85bbd5422
Improve title casing
2013-07-18 14:42:16 +01:00
Matthew Harrison-Jones
9fd653738d
Additional Keyboard Shortcuts and improvements to text highlighting
...
This fixes the event where text would be selected after manipulation from shortcut, the cursor is now placed after the text. On links and images the url field text is highlighted.
Additional shortcuts;
* Ctrl+U: Make text uppercase
* Ctrl+Shift+U: Make text lowercase
* Ctrl+Alt+Shift+U: Make text titlecase
* Ctrl+Alt+W: Select word
* Ctrl+L: Make into list
2013-07-18 14:02:54 +01:00
Matthew Harrison-Jones
f3462245d5
Debounce scrolling on editor
2013-07-18 12:06:52 +01:00
Matthew Harrison-Jones
482da669aa
First pass at Plugin Management design conversion
2013-07-18 11:36:37 +01:00
ErisDS
4fd9556904
Fixing up validation and tests for pagination helper where prev and next are undefined by default, rather than null.
2013-07-17 14:37:52 +01:00
Hannah Wolfe
061c3d6176
Merge pull request #274 from cobbspur/unittesting
...
improves unit testing for pagination
2013-07-16 12:06:51 -07:00
cobbspur
115996b88d
improves unit testing for pagination and fixes pagination partial template (removed extra </nav>)
...
removes console logs for error handling in testing and travis environments
2013-07-16 19:57:19 +01:00
Hannah Wolfe
6e4755c183
Merge pull request #264 from matthojo/Login-Cursor
...
Automatically focus on first login input
2013-07-16 06:14:12 -07:00
Matthew Harrison-Jones
ce8ed96348
Removed CodeMirror Stylesheet file and moved over required CSS
...
Fixes #6 .
2013-07-16 12:14:17 +01:00
Matthew Harrison-Jones
0d06484b01
Automatically focus on first login input
2013-07-16 10:18:40 +01:00
Hannah Wolfe
92bb75dfdf
Merge pull request #285 from matthojo/Settings-Back-Fix
...
Fixes back button breaking settings panels
2013-07-15 14:29:49 -07:00
Matthew Harrison-Jones
b0c5d7e63a
Fixes back button breaking settings panels
2013-07-15 18:09:10 +01:00
Matthew Harrison-Jones
7904819556
Initial pass at the user profile page
...
Fixes #148 .
2013-07-15 15:54:13 +01:00
Hannah Wolfe
cffc158ea4
Merge pull request #262 from matthojo/User-Menu-Highlighting
...
Fixes persistent menu highlighting
2013-07-13 03:10:26 -07:00
Matthew Harrison-Jones
4d77d2f7bc
Fixed 'G' button not working
...
Fixes #218 .
2013-07-12 17:13:40 +01:00
Matthew Harrison-Jones
390d3cc538
Fixes persistent menu highlighting
...
Fixes #259
2013-07-12 16:50:21 +01:00
ErisDS
51d75aec9b
Docs and tests - closes #235
...
- fixed the test that the fixture change broke (sort of). We should be using separate fixtures for tests really, unless we want to test something about a Ghost install.
- updated readme with better docs
2013-07-11 23:42:50 +01:00
ErisDS
b3b296f003
New fixture
...
- added new getting started fixture
- closes issue #13
2013-07-11 23:10:19 +01:00
Hannah Wolfe
3d3d42bd7c
issue #245
...
hbs templates not building with correct paths
missed a couple of assets paths in settings
2013-07-11 21:00:41 +01:00
Hannah Wolfe
30b4eb07f7
App restructure - closes #245
...
- This is a first pass at getting a more logical structure. The focus is on moving from admin/frontend to client/server.
- The location of the databases is highly important, this isn't expected to change again
In the future
- client/assets should probably become public/
- more stuff should be shared (helpers etc)
- cleanup some confusion around tpl and views
2013-07-11 20:23:34 +01:00
Hannah Wolfe
316a50b7ff
Issue #246 part 12
...
- renamed single.hbs to post.hbs
- casper updated to match
2013-07-11 17:57:12 +01:00
Hannah Wolfe
2b132f32b1
Content helper - closes #254
...
- return content as a safe string so triple taches are not required
- test for content helper
2013-07-11 17:21:42 +01:00
Hannah Wolfe
6b3f835cfb
Rename content fields - closes #253
...
- rename "content" to "content_raw"
- rename "content_raw" to "content"
- change all references
2013-07-11 16:27:19 +01:00