Commit Graph

41392 Commits

Author SHA1 Message Date
confused-Techie
1ec01d1073 Merge branch 'ui-api' of https://github.com/pulsar-edit/pulsar into ui-api 2023-10-27 15:50:11 -07:00
confused-Techie
45c016120b Expect HTML5 preferred <br> instead of <br/>
Most browsers already strip self closing tags within void elements. DOMPurify itself also strips this character.
2023-10-27 15:50:05 -07:00
confused_techie
fff477e683
Don't modify base64 images, strip ending slash in all links, fix href links to use blob URLs 2023-10-27 08:47:10 -07:00
confused_techie
2eaed49ee1
Fix comma 2023-10-27 07:34:06 -07:00
confused-Techie
dc7674b8e5 resolve syntax error 2023-10-27 01:55:13 -07:00
confused-Techie
cbaa3ad10e Allow sanitizing options, ensure links don't double on /, don't modify base64 links, make test results match universal GitHub links 2023-10-27 01:42:39 -07:00
confused-Techie
2db34e2bf0 Add dompurify only require deps once 2023-10-27 00:56:50 -07:00
confused-Techie
8328f9c1ad Modify one spec to different element, fix opts on API usage 2023-10-26 22:52:50 -07:00
confused-Techie
65f2e55d81 Properly create strict disable mode 2023-10-26 22:27:02 -07:00
confused-Techie
78160866b6 Comment out in progress to test properly 2023-10-25 21:35:56 -07:00
confused-Techie
30e07939b9 Compact disable settings 2023-10-20 18:02:31 -07:00
confused-Techie
d72cf655d2 Migrate settings-view 2023-10-18 23:55:02 -07:00
confused-Techie
8f88f11963 Run install against dep changes 2023-10-18 22:28:27 -07:00
confused-Techie
c20005be9b Migrate autocomplete-plus 2023-10-18 21:50:07 -07:00
confused-Techie
06334cbf42 Migrate deprecation-cop 2023-10-18 21:46:02 -07:00
confused-Techie
e64e0a4a02 Include markdown-preview line break settings 2023-10-18 21:44:51 -07:00
confused-Techie
ccd65afe77 Handle local links in link resolving, implement all features into markdown-preview 2023-10-18 21:41:44 -07:00
confused-Techie
0211bf50e8 Fix SyntaxHighlighting, and converting to dom, give markdown-preview a choice 2023-10-18 17:41:24 -07:00
confused-Techie
4c590f07e7 Remove accidentally included test file 2023-10-18 12:01:40 -07:00
confused-Techie
e7c14be227 Migrate notifications to new API 2023-10-18 12:00:23 -07:00
confused-Techie
c9c9f1ab4b Cleanup syntax highlighting callback funcs 2023-10-18 01:38:55 -07:00
confused-Techie
7332137abb Compartmentalize all aspects of markdown handling to leave room for other APIS 2023-10-18 00:00:07 -07:00
confused-Techie
5eb80d8a19 Create basis of UI API 2023-10-15 02:10:51 -07:00
Spiker985
3cea42c614
Merge pull request #758 from pulsar-edit/s985-php-snip-escape 2023-10-11 17:51:50 -04:00
Spiker985
7d0a429fcc
Add escapement to variable literals within snippets
| Name | prefix |
| $GLOBALS[\'…\'] | globals |
| function __construct | con |
| do … while … | do |
| $this->… | this |
| echo $this->… | ethis |
| try … | try |
2023-10-11 14:14:04 -04:00
confused_techie
add45c1f64
Merge pull request #750 from pulsar-edit/dont-crash-on-invalid-config
[core] Handle invalid config on load
2023-10-09 18:56:07 -07:00
confused_techie
00f19c9fe7
Merge pull request #753 from pulsar-edit/autocomplete-html/catch-errors
[autocomplete-html] Wrap completions in `try/catch` handler
2023-10-09 18:55:04 -07:00
confused_techie
81638a8353
Merge pull request #752 from pulsar-edit/renovate/npm-postcss-vulnerability
Update dependency postcss to v8.4.31 [SECURITY]
2023-10-09 16:36:23 -07:00
confused-Techie
a842fe4019 Wrap autocomplete-html completions in try/catch
Co-Authored-By: Andrew Dupont <3450+savetheclocktower@users.noreply.github.com>
2023-10-07 19:25:22 -07:00
renovate[bot]
faf8685e20
Update dependency postcss to v8.4.31 [SECURITY] 2023-10-06 11:07:12 +00:00
confused-Techie
87ab979cd6 Use proper variable 2023-10-05 00:09:31 -07:00
confused-Techie
f1f4dc82d1 Add error handling to initial config load 2023-10-05 00:08:31 -07:00
DeeDeeG
5f3e40a2f5
Merge pull request #745 from pulsar-edit/CI-sign-for-branch-pushes-GitHub-Actions
CI: Sign macOS binaries for branch pushes, not PRs
2023-10-01 12:06:59 -04:00
DeeDeeG
28fb9c4d98 CI: Sign binaries (only) for branch pushes, not PRs
Before, we were unintentionally not signing for pushes, and only
signing for PRs.

We definitely *do* want to sign for pushes,
(such as to `master` branch), so that Rolling releases get signed,
but we probably don't need (and probably don't want?) to sign for PRs.
(Regardless of whether from a fork or not.)

So, this commit essentially reverses the situation from before:
- DO sign for branch pushes. (Note: the workflow currently only
  triggers for `master` branch pushes.)
- DON'T sign for any other events, such as for Pull Requests.

(This change is for GitHub Actions only, as the Cirrus config was
already set up in a very particular way during the migration of most
binary builds to GitHub Actions, which was quite recent,
and doesn't need any changes at this time.)
2023-09-28 20:51:15 -04:00
DeeDeeG
2696b326f8
Merge pull request #743 from pulsar-edit/python-3.11-GitHub-Actions-macOS-signing-fix
CI: Use Python 3.11 to fix macOS signing
2023-09-27 22:44:29 -04:00
DeeDeeG
fb598e5f40 CI: Use Python 3.11 to fix macOS signing
Background and context for this commit...

Not sure why exactly, but our GitHub Actions workflow is producing
*signed* macOS binaries that pass spctl "acceptance" on the CLI, and
various other signing/notarization checks on the CLI, such as stapler,
but nevertheless warn they can't be verified when opening the signed
Pulsar.app in Finder or using `open` on the CLI, and so on.

Through investigating what changes we can make to better-match the
Cirrus environment, which has producing signed binaries that open just
fine without the warning for months now, we have tried many things.

Eventually, disabling actions/setup-node and actions/setup-python was
tried, which incidentally got us Python 3.11 instead of our manually
pinned older Python 3.10. That worked, the signed binaries open as
they should, sans verification warning.

Further narrowing it down resulted in, any way we get Python other
than 3.10 from actions/setup-python seems to be working.

Given that, this commit starts using Python 3.11 in GitHub Actions,
to fix the "macOS is signed but is still not making Gatekeeper happy"
situation we have been having with GitHub Actions.
2023-09-27 01:34:38 -04:00
confused_techie
1dcc7de532
Merge pull request #738 from pulsar-edit/fix-windows-build-failure
[meta] Fix Windows Builds in CI
2023-09-23 03:25:15 -07:00
confused-Techie
2bb09a0e9f Add comment 2023-09-23 01:44:29 -07:00
confused-Techie
d363cc7340 Try reinstalling node-gyp for current NodeJS Version 2023-09-23 01:44:29 -07:00
DeeDeeG
a82b4d01dd
Merge pull request #725 from pulsar-edit/update-ppm-a2ade745bf
ppm: Update ppm submodule to commit a2ade745bfbc5f
2023-09-19 22:44:11 -04:00
Maurício Szabo
3c44af0b58
Merge pull request #479 from pulsar-edit/autocomplete-lsp-compatible-api 2023-09-18 12:39:51 -03:00
Maurício Szabo
d768ca004f Changelog update 2023-09-17 00:46:33 -03:00
Maurício Szabo
fe87354ed4 Merge remote-tracking branch 'origin/master' into autocomplete-lsp-compatible-api 2023-09-16 23:24:21 -03:00
DeeDeeG
76acee0c6c ppm: Update ppm submodule to commit a2ade745bfbc5f
Includes a lot of decaf work from multiple contributors,
a dependency bump, a small code refactor and a Windows postinstall fix
and switching to our fork of npm 6 that includes node-gyp 9.x.
2023-09-16 21:53:45 -04:00
confused_techie
31c5fc2762
Merge pull request #723 from pulsar-edit/1.109.0-release
1.109.0 release
2023-09-15 23:42:23 -07:00
confused-Techie
7984564a92 Add back dev 2023-09-15 23:41:51 -07:00
confused-Techie
91ef3d3258 Bump package.json version 2023-09-15 20:29:51 -07:00
confused-Techie
12fdc30367 Fix some items within Changelog 2023-09-15 20:28:16 -07:00
confused_techie
d9f3b870eb
Merge pull request #722 from pulsar-edit/1.109.0-changelog
Update Changelog for 1.109.0
2023-09-15 19:53:30 -07:00
confused-Techie
10b31b3cf9 Another last PR merged 2023-09-15 19:50:42 -07:00