1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Commit graph

2726 commits

Author SHA1 Message Date
Kevin Ansfield
8511eb3a15 deps: moment@2.13.0 2016-06-01 12:21:57 +01:00
Kevin Ansfield
b1f4daef2c deps: jquery-file-upload@9.12.3 2016-06-01 12:15:00 +01:00
Kevin Ansfield
49475aea4c deps: google-caja@6005.0.0 2016-06-01 12:02:00 +01:00
Kevin Ansfield
594bd0c980 deps: codemirror@5.15.2 2016-06-01 11:50:18 +01:00
Kevin Ansfield
9c724846a0 Merge pull request #31 from TryGhost/greenkeeper-ember-power-select-0.10.10
Update ember-power-select to version 0.10.10 🚀
2016-05-31 15:38:51 +01:00
greenkeeperio-bot
ad2fd28053 chore(package): update ember-power-select to version 0.10.10
https://greenkeeper.io/
2016-05-31 15:28:59 +01:00
Hannah Wolfe
5cec40ff07 Merge pull request #27 from kevinansfield/improve-file-upload-tests
Improve uploader tests + test subscribers CSV import
2016-05-27 19:29:07 +01:00
Kevin Ansfield
3ce26bc347
Improve uploader tests + test subscribers CSV import
no issue
- override `x-file-input` in `gh-file-input` to look for a custom property on the change event if we are in testing mode (this is necessary because Ember 2.5+ use native rather than jQuery events so `target.files` is readonly, see https://github.com/emberjs/ember.js/issues/13540)
- migrate unit tests for the uploader components to the integration tests
- add skipped acceptance tests for the subscribers CSV import now that it's possible to simulate file uploads
2016-05-27 13:34:31 +01:00
Hannah Wolfe
c8afbc51a0 Merge pull request #26 from kevinansfield/remove-search-outline
Remove outline from search input
2016-05-25 18:20:49 +01:00
Kevin Ansfield
b219fc8ea5 Remove outline from search input
no issue
- remove the outline that is shown on the search input once the dropdown box has closed
- remove unused styles for the old selectize-based search input
2016-05-25 10:52:21 +01:00
Austin Burdine
11e017cb3f Merge pull request #24 from TryGhost/greenkeeper-ember-power-select-0.10.9
Update ember-power-select to version 0.10.9 🚀
2016-05-24 11:57:28 -06:00
greenkeeperio-bot
a21c5b80e7 chore(package): update ember-power-select to version 0.10.9
https://greenkeeper.io/
2016-05-24 17:32:07 +01:00
Kevin Ansfield
450eaa6b73 Merge pull request #21 from TryGhost/greenkeeper-ember-cli-htmlbars-inline-precompile-0.3.2
Update ember-cli-htmlbars-inline-precompile to version 0.3.2 🚀
2016-05-23 12:14:02 +01:00
greenkeeperio-bot
e235873a9c chore(package): update ember-cli-htmlbars-inline-precompile to version 0.3.2
https://greenkeeper.io/
2016-05-23 12:04:43 +01:00
Kevin Ansfield
fc5a07f62b Merge pull request #22 from TryGhost/greenkeeper-ember-cli-htmlbars-1.0.8
Update ember-cli-htmlbars to version 1.0.8 🚀
2016-05-23 12:04:29 +01:00
Kevin Ansfield
cfaf566949 Rename PULL_REQUEST_TEMPLATE to PULL_REQUEST_TEMPLATE.md 2016-05-23 10:50:15 +01:00
Kevin Ansfield
b3bc1be4f3 Create PULL_REQUEST_TEMPLATE 2016-05-23 10:49:08 +01:00
greenkeeperio-bot
1fa6d3c97c chore(package): update ember-cli-htmlbars to version 1.0.8
https://greenkeeper.io/
2016-05-22 23:18:02 +01:00
Kevin Ansfield
61fe83dff3 Merge pull request #3 from TryGhost/greenkeeper-update-all
Update all dependencies 🌴
2016-05-22 09:56:28 +01:00
greenkeeperio-bot
e591aeda44 chore(package): update dependencies
https://greenkeeper.io/
2016-05-22 09:42:57 +01:00
Kevin Ansfield
0f5c3d1591 Merge pull request #14 from TryGhost/greenkeeper-ember-cli-jshint-1.0.3
Update ember-cli-jshint to version 1.0.3 🚀
2016-05-22 09:35:21 +01:00
greenkeeperio-bot
29e3ad2b63 chore(package): update ember-cli-jshint to version 1.0.3
https://greenkeeper.io/
2016-05-22 09:27:48 +01:00
Kevin Ansfield
6120549172 Merge pull request #12 from TryGhost/greenkeeper-loader.js-4.0.7
Update loader.js to version 4.0.7 🚀
2016-05-22 09:27:34 +01:00
greenkeeperio-bot
3c785e5298 chore(package): update loader.js to version 4.0.7
https://greenkeeper.io/
2016-05-21 02:31:44 +01:00
Austin Burdine
68cc5af9dd Merge pull request #15 from TryGhost/greenkeeper-ember-cli-2.5.1
Update ember-cli to version 2.5.1 🚀
2016-05-20 19:31:30 -06:00
greenkeeperio-bot
f7535f1cc0 chore(package): update ember-cli to version 2.5.1
https://greenkeeper.io/
2016-05-20 16:30:21 +01:00
Kevin Ansfield
30ca83b5ed Merge pull request #10 from TryGhost/greenkeeper-ember-cli-htmlbars-1.0.7
Update ember-cli-htmlbars to version 1.0.7 🚀
2016-05-20 12:24:45 +01:00
greenkeeperio-bot
971c047cdf chore(package): update ember-cli-htmlbars to version 1.0.7
https://greenkeeper.io/
2016-05-20 06:11:11 +01:00
Kevin Ansfield
39622c4e28 Add initial Travis config file
no issue
- basic testing of the admin client with both Chrome and Firefox
2016-05-19 13:33:14 +01:00
Kevin Ansfield
59c5a4f70b Match .gitignore and .editorconfig with Ghost repo
no issue
- as it's more likely that Ghost-Admin will be checked out separately it makes sense that it has its own `.gitignore` and `.editorconfig` that match the core repository
2016-05-19 11:39:15 +01:00
Kevin Ansfield
349917aa96 Initial sub-project README.md
no issue
- point visitors to the core repo for instructions and bugs
2016-05-19 11:39:15 +01:00
Kevin Ansfield
44409b5467 Fix broken editor when content contains wrapped images
no issue
- don't assume that the upload element that is being replaced is top-level, target the element's parentNode rather than the overall fragment
2016-05-18 21:52:07 +01:00
Kevin Ansfield
2a16e2ec26 Fix drag-n-drop files from Chrome's download bar
closes #6850
- HTML5 drag-n-drop has some weird inconsistencies around the `dragOver` event where it defaults the "drop" behaviour to nothing so you need to cancel the defaults and override
	- http://stackoverflow.com/questions/19526430/drag-and-drop-file-uploads-from-chrome-downloads-bar
2016-05-18 09:53:10 +01:00
Kevin Ansfield
a45c0884c3 Fix unwanted clearing of social inputs on blur with no edits
no issue
- updates the logic to expect `null` scratch values as the scratch values won't be set until the input value has changed
- adds tests for initial value display and regression tests for the cleared input bug
2016-05-17 19:14:14 +01:00
Aileen Nowak
7923641cb1 Fixes error in validation
closes #6826

- refactors the validation of facebook and twitter input field in `general.js` and `user.js` controller
	- Example validations for facebook:
		- `facebook.com/username` will be corrected to the full URL
		- `user` will show error `Your Page name is not a valid Facebook Page name' for `general.js` and `Your Username is not a valid Facebook Username` for `user.js` as the username in facebook has to be at least 5 characters long
		- `twitter.com/username` will be autocorrected to the valid facebook URL incl. the `username`
	- Example validations for twitter:
		- `twitter.com/user_` will be corrected to the full URL
                - `user:99` will show error `Your Username is not a valid Twitter Username`
                - `facebook.com/username` will be autocorrected to the valid twitter URL incl. the `username`
- updates both acceptance tests
- adds further validation for facebook pages in general settings and user. Submitting a url which incl. `/page/` or `/pages/` will now accept any username followed incl. further `/`.
- adds a custom transform `facebook-url-user` which will extract the username (if it's a facebook page, incl. `pages/`) to store only this in the backend
- uses the `twitter-url-user` transform now also for user
2016-05-17 17:44:23 +01:00
Kevin Ansfield
1ebe742494 Merge pull request #6838 from acburdine/esa-1.1
deps: ember-simple-auth@1.1.0
2016-05-16 11:51:23 +02:00
Kevin Ansfield
9d522e38b2 Merge pull request #6830 from acburdine/no-show-nav-menu
Don't show the nav menu when on a 404 route and not signed in
2016-05-16 11:01:44 +02:00
Austin Burdine
2f58e17b7e update document title on blog title change
no issue
- force document.title to recompute when the blog title is changed in settings/general
2016-05-15 18:41:28 -06:00
Austin Burdine
df3f62ee6e deps: ember-simple-auth@1.1.0 2016-05-15 16:45:16 -06:00
Austin Burdine
6ebaffa041 don't show the nav menu when on a 404 route and not signed in
no issue
- fixes problem when the nav menu would be shown on an error404 route when the user is not logged in
- adds failing test that passes with this change
2016-05-13 19:02:55 -06:00
Kevin Ansfield
a960c6210e Fix initial loading of a route with an invalid session
no issue
- if the session is "authenticated" but is invalid, the initial load of the app would fail. It could be replicated by:
	1. Authenticating in a running ghost instance
	2. Stopping ghost
	3. Deleting the database
	4. Re-starting ghost
	5. Closing the browser
	6. Re-opening the browser and visiting http://localhost:2368/ghost
- this fix stores the `transition` object for the duration of the initial load so that `sessionInvalidated` method can trigger actions before the transition has finished
2016-05-13 13:47:39 +02:00
Kevin Ansfield
5f01039671 Fix loss of private settings when saving in certain circumstances
no issue
- always ensure we load a full settings object so that we don't risk saving a partial settings object back to the server
- should fix the issues reported in Slack of disappearing private settings over time
2016-05-13 12:24:17 +02:00
Kevin Ansfield
09a63c9ff5 Allow table content to be selectable
no issue
- overrides the global `user-select: none` style for `th` and `td` elements
2016-05-12 17:42:52 +02:00
Brian Tedder
845e8fe2f4 Remove select-all on click for PSM slug input
issue #6655
-remove selectOnClick from input
2016-05-11 19:59:54 -06:00
Hannah Wolfe
ee453c3847 Merge pull request #6811 from kevinansfield/fix-new-subscriber-validation
Fix display of server-provided validation error when adding subscriber
2016-05-11 22:24:28 +02:00
Kevin Ansfield
6a07a0a985 Fix display of server-provided validation error when adding subscriber
no issue
- make the check for "email" in the server provided error case-insensitive
2016-05-11 19:56:58 +02:00
Hannah Wolfe
41250cbbe6 Pre-populate setup values from config
no issue
- Check for title, user_name and user_email in the top level of config.
- If they exist, return them as part of the setup check, so that the setup screen can be prepopulated
2016-05-11 19:30:56 +02:00
John O'Nolan
bf8571c73c Merge pull request #6764 from TryGhost/subscribe
Subscribers
2016-05-11 13:53:53 +02:00
Hannah Wolfe
914cfcd9a6 Merge pull request #6703 from kevinansfield/6640-tests
Improve `gh-profile-image` tests for #6640
2016-05-11 13:00:19 +02:00
Kevin Ansfield
af2e880b0d Fix cmd-s shortcut not saving changes in text fields with focusout
closes #4556
- when <kbd>CMD-S</kbd> is used, if the focused element is an input, trigger it's `focusout` handler then schedule the save action to happen after any actions resulting from the trigger
2016-05-11 11:59:36 +02:00