Skip to content

Commit e281a00

Browse files
committed
directly embed ace and pikaday
this will allow them to be embedded in the binary created by `go install`
1 parent 8d9f439 commit e281a00

File tree

2,367 files changed

+737721
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,367 files changed

+737721
-4
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020, Mitchell Cooper
1+
Copyright (c) 2024, Mitchell Cooper
22

33
Permission to use, copy, modify, and/or distribute this software for any
44
purpose with or without fee is hereby granted, provided that the above

NOTICE

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
NOTICE
2+
3+
This project includes third-party libraries and code. We acknowledge and thank the authors of these projects for their contributions.
4+
5+
1. Ace Editor
6+
https://github.com/ajaxorg/ace
7+
License: "New" BSD 3-clause
8+
Copyright (c) 2010, Ajax.org B.V.
9+
10+
2. Pikaday
11+
https://github.com/Pikaday/Pikaday
12+
License: BSD & MIT
13+
Copyright (c) 2014 David Bushell
14+
15+
3. MooTools
16+
https://mootools.net
17+
License: MIT
18+
Copyright (c) 2006-2014 Valerio Proietti
19+
20+
4. tmpl.min.js
21+
https://github.com/blueimp/JavaScript-Templates
22+
License: MIT
23+
Copyright (c) 2011 Sebastian Tschan, https://blueimp.net
24+
25+
5. diff2html
26+
https://github.com/rtfpessoa/diff2html
27+
License: MIT
28+
Copyright 2014-2016 Rodrigo Fernandes https://rtfpessoa.github.io/
29+
30+
6. Font Awesome
31+
https://github.com/FortAwesome/Font-Awesome
32+
License: https://fontawesome.com/license/free
33+
(Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
34+
Copyright (c) 2024 Fonticons, Inc.
35+
36+
7. Color Picker
37+
License: MIT
38+
Copyright (c) 2007 John Dyer (http://johndyer.name)
39+
40+
For full license texts, please refer to the LICENSE files in the respective repositories.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!--
2+
Most of the files here are generated with a build script, so You probably
3+
should submit your pull request to https://github.com/ajaxorg/ace instead
4+
-->
5+
6+
*Issue #, if available:*
7+
8+
*Description of changes:*
9+
10+
11+
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Publish to NPM
5+
on:
6+
push:
7+
tags:
8+
- v*
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
# Setup .npmrc file to publish to npm
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: '12.x'
18+
registry-url: 'https://registry.npmjs.org'
19+
- run: node -p "json=require('./package.json');if (json.dependencies || json.devDependencies) throw new Error()"
20+
- run: node -p "window={}; require('./src-noconflict/ace.js').config.all"
21+
- run: |
22+
# echo testing themes
23+
for dir in src*; do
24+
for theme in $dir/theme-*; do
25+
node -e 'window = global;require("./'$dir'/ace.js");
26+
var theme = require("'./$theme'");
27+
if (!theme.cssClass || !theme.cssText) {
28+
throw new Error("Broken theme ./'$theme'")
29+
} '
30+
done
31+
done
32+
- run: npm publish
33+
env:
34+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
disable jekyll on gh-pages
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
demo/
2+
kitchen-sink.html
3+
* *

resources/adminifier/static/ext/ace/CHANGELOG.md

+1,370
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Code of Conduct
2+
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
3+
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
4+
[email protected] with any additional questions or comments.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Contributing Guidelines
2+
3+
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional
4+
documentation, we greatly value feedback and contributions from our community.
5+
6+
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
7+
information to effectively respond to your bug report or contribution.
8+
9+
10+
## Reporting Bugs/Feature Requests
11+
12+
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
13+
14+
When filing an issue, please check [existing open](https://github.com/ajaxorg/ace-builds/issues), or [recently closed](https://github.com/ajaxorg/ace-builds/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
15+
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
16+
17+
* A reproducible test case or series of steps
18+
* The version of our code being used
19+
* Any modifications you've made relevant to the bug
20+
* Anything unusual about your environment or deployment
21+
22+
23+
## Contributing via Pull Requests
24+
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
25+
26+
1. You are working against the latest source on the *master* branch.
27+
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
28+
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
29+
30+
To send us a pull request, please:
31+
32+
1. Fork the repository.
33+
2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
34+
3. Ensure local tests pass.
35+
4. Commit to your fork using clear commit messages.
36+
5. Send us a pull request, answering any default questions in the pull request interface.
37+
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
38+
39+
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
40+
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
41+
42+
43+
## Finding contributions to work on
44+
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/ajaxorg/ace-builds/labels/help%20wanted) issues is a great place to start.
45+
46+
47+
## Code of Conduct
48+
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
49+
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
50+
[email protected] with any additional questions or comments.
51+
52+
53+
## Security issue notifications
54+
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
55+
56+
57+
## Licensing
58+
59+
See the [LICENSE](https://github.com/ajaxorg/ace-builds/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
60+
61+
We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.

0 commit comments

Comments
 (0)