Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove .bowerrc #2407

Merged
merged 1 commit into from
Mar 16, 2014
Merged

Remove .bowerrc #2407

merged 1 commit into from
Mar 16, 2014

Conversation

JohnONolan
Copy link
Member

If there are no further comments or suggestions for #2386 then I think it would be good to get this in. Remove .bowerrc from base repo but allows it to still be used for people with specialised dev environments by adding to .gitignore

If there are no further comments or suggestions for #2386 then I think it would be good to get this in. Remove .bowerrc from base repo but allows it to still be used for people with specialised dev environments by adding to .gitignore
ErisDS added a commit that referenced this pull request Mar 16, 2014
@ErisDS ErisDS merged commit a65d5bb into TryGhost:master Mar 16, 2014
@JohnONolan JohnONolan deleted the no-bowerrc branch July 12, 2014 06:38
tigefa4u pushed a commit to tigefa4u/Ghost that referenced this pull request Aug 3, 2022
refs TryGhost/Product#1613

We use `notifications.showAPIError()` in many of our try/catch routines but those can also pick up standard JS errors which can result in ugly and useless messages showing in alerts.

- added a list of known built-in JS error type names to check against and a generic error message to be used in place of ones we know shouldn't be displayed
- in `showAPIError(obj)` check `obj.name` against the known list and swap the message for a generic one
  - only the message is swapped, we still log the full/original error to Sentry
- in `handleNotification(msg)` which is the final method used when displaying any alert/notification, extract all words in the supplied message and check that against the known list and swap the message on a match. This handles situations where the API might give us a raw JS error message in the message string
SimonBackx pushed a commit to 9larsons/Ghost that referenced this pull request Jan 20, 2023
refs TryGhost#2407
- needed to identify webmention endpoints

add tests

update tests, block intternal addresses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants