Skip to content

Commit 13514cf

Browse files
authored
Merge pull request #48 from hollaex/admin-endpoints
Admin endpoints
2 parents 4ea6829 + e286809 commit 13514cf

36 files changed

+15551
-10601
lines changed

CHANGELOG.md

Lines changed: 335 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,335 @@
1+
# Changelog
2+
3+
## Version 2.13.1
4+
5+
*January 31, 2023*
6+
7+
* Fix Vagrantfile gem install for ruby >= 2.6 (thanks @Cyb0rk)
8+
* Disable file watcher in run_build() for sake of qemu on arm64 (thanks @anapsix)
9+
* Expand deprecated git.io links to full url in docs (thanks @judge2020)
10+
* Add margin to paragraph following code-block on phones (thanks @tlhunter)
11+
* Bump nokogiri from 1.13.4 to 1.13.9
12+
* Bump rouge from 3.28.0 to 3.30.0
13+
* Bump redcarpet from 3.5.1 to 3.6.0
14+
* Bump middleman from 4.4.2 to 4.4.3
15+
* Bump middleman-syntax from 3.2.0 to 3.3.0
16+
* Bump webrick from 1.7.0 to 1.8.1
17+
18+
## Version 2.13.0
19+
20+
*April 22, 2022*
21+
22+
* __Drop support for ruby 2.5__
23+
* Bump rouge from 3.26.1 to 3.28.0
24+
* Formally support ruby 3.1
25+
* Bump nokogiri from 1.12.5 to 1.13.4
26+
* Build docker images for multiple architectures (e.g. `aarch64`)
27+
* Remove `VOLUME` declaration from Dockerfile (thanks @aemengo)
28+
29+
The security vulnerabilities reported against recent versions of nokogiri should not affect slate users with a regular setup.
30+
31+
## Version 2.12.0
32+
33+
*November 04, 2021*
34+
35+
* Bump nokogiri from 1.12.3 to 1.12.5
36+
* Bump ffi from 1.15.0 to 1.15.4
37+
* Bump rouge from 3.26.0 to 3.26.1
38+
* Bump middleman from 4.4.0 to 4.4.2
39+
* Remove unnecessary files from docker images
40+
41+
## Version 2.11.0
42+
43+
*August 12, 2021*
44+
45+
* __[Security]__ Bump addressable transitive dependency from 2.7.0 to 2.8.0
46+
* Support specifying custom meta tags in YAML front-matter
47+
* Bump nokogiri from 1.11.3 to 1.12.3 (minimum supported version is 1.11.4)
48+
* Bump middleman-autoprefixer from 2.10.1 to 3.0.0
49+
* Bump jquery from 3.5.1 to 3.6.0
50+
* Bump middleman from [`d180ca3`](https://github.com/middleman/middleman/commit/d180ca337202873f2601310c74ba2b6b4cf063ec) to 4.4.0
51+
52+
## Version 2.10.0
53+
54+
*April 13, 2021*
55+
56+
* Add support for Ruby 3.0 (thanks @shaun-scale)
57+
* Add requirement for Git on installing dependencies
58+
* Bump nokogiri from 1.11.2 to 1.11.3
59+
* Bump middleman from 4.3.11 to [`d180ca3`](https://github.com/middleman/middleman/commit/d180ca337202873f2601310c74ba2b6b4cf063ec)
60+
61+
## Version 2.9.2
62+
63+
*March 30, 2021*
64+
65+
* __[Security]__ Bump kramdown from 2.3.0 to 2.3.1
66+
* Bump nokogiri from 1.11.1 to 1.11.2
67+
68+
## Version 2.9.1
69+
70+
*February 27, 2021*
71+
72+
* Fix Slate language tabs not working if localStorage is disabled
73+
74+
## Version 2.9.0
75+
76+
*January 19, 2021*
77+
78+
* __Drop support for Ruby 2.3 and 2.4__
79+
* __[Security]__ Bump nokogiri from 1.10.10 to 1.11.1
80+
* __[Security]__ Bump redcarpet from 3.5.0 to 3.5.1
81+
* Specify slate is not supported on Ruby 3.x
82+
* Bump rouge from 3.24.0 to 3.26.0
83+
84+
## Version 2.8.0
85+
86+
*October 27, 2020*
87+
88+
* Remove last trailing newline when using the copy code button
89+
* Rework docker image and make available at slatedocs/slate
90+
* Improve Dockerfile layout to improve caching (thanks @micvbang)
91+
* Bump rouge from 3.20 to 3.24
92+
* Bump nokogiri from 1.10.9 to 1.10.10
93+
* Bump middleman from 4.3.8 to 4.3.11
94+
* Bump lunr.js from 2.3.8 to 2.3.9
95+
96+
## Version 2.7.1
97+
98+
*August 13, 2020*
99+
100+
* __[security]__ Bumped middleman from 4.3.7 to 4.3.8
101+
102+
_Note_: Slate uses redcarpet, not kramdown, for rendering markdown to HTML, and so was unaffected by the security vulnerability in middleman.
103+
If you have changed slate to use kramdown, and with GFM, you may need to install the `kramdown-parser-gfm` gem.
104+
105+
## Version 2.7.0
106+
107+
*June 21, 2020*
108+
109+
* __[security]__ Bumped rack in Gemfile.lock from 2.2.2 to 2.2.3
110+
* Bumped bundled jQuery from 3.2.1 to 3.5.1
111+
* Bumped bundled lunr from 0.5.7 to 2.3.8
112+
* Bumped imagesloaded from 3.1.8 to 4.1.4
113+
* Bumped rouge from 3.17.0 to 3.20.0
114+
* Bumped redcarpet from 3.4.0 to 3.5.0
115+
* Fix color of highlighted code being unreadable when printing page
116+
* Add clipboard icon for "Copy to Clipboard" functionality to code boxes (see note below)
117+
* Fix handling of ToC selectors that contain punctutation (thanks @gruis)
118+
* Fix language bar truncating languages that overflow screen width
119+
* Strip HTML tags from ToC title before displaying it in title bar in JS (backup to stripping done in Ruby code) (thanks @atic)
120+
121+
To enable the new clipboard icon, you need to add `code_clipboard: true` to the frontmatter of source/index.html.md.
122+
See [this line](https://github.com/slatedocs/slate/blame/main/source/index.html.md#L19) for an example of usage.
123+
124+
## Version 2.6.1
125+
126+
*May 30, 2020*
127+
128+
* __[security]__ update child dependency activesupport in Gemfile.lock to 5.4.2.3
129+
* Update Middleman in Gemfile.lock to 4.3.7
130+
* Replace Travis-CI with GitHub actions for continuous integration
131+
* Replace Spectrum with GitHub discussions
132+
133+
## Version 2.6.0
134+
135+
*May 18, 2020*
136+
137+
__Note__: 2.5.0 was "pulled" due to a breaking bug discovered after release. It is recommended to skip it, and move straight to 2.6.0.
138+
139+
* Fix large whitespace gap in middle column for sections with codeblocks
140+
* Fix highlighted code elements having a different background than rest of code block
141+
* Change JSON keys to have a different font color than their values
142+
* Disable asset hashing for woff and woff2 elements due to middleman bug breaking woff2 asset hashing in general
143+
* Move Dockerfile to Debian from Alpine
144+
* Converted repo to a [GitHub template](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)
145+
* Update sassc to 2.3.0 in Gemfile.lock
146+
147+
## Version 2.5.0
148+
149+
*May 8, 2020*
150+
151+
* __[security]__ update nokogiri to ~> 1.10.8
152+
* Update links in example docs to https://github.com/slatedocs/slate from https://github.com/lord/slate
153+
* Update LICENSE to include full Apache 2.0 text
154+
* Test slate against Ruby 2.5 and 2.6 on Travis-CI
155+
* Update Vagrantfile to use Ubuntu 18.04 (thanks @bradthurber)
156+
* Parse arguments and flags for deploy.sh on script start, instead of potentially after building source files
157+
* Install nodejs inside Vagrantfile (thanks @fernandoaguilar)
158+
* Add Dockerfile for running slate (thanks @redhatxl)
159+
* update middleman-syntax and rouge to ~>3.2
160+
* update middleman to 4.3.6
161+
162+
## Version 2.4.0
163+
164+
*October 19, 2019*
165+
166+
- Move repository from lord/slate to slatedocs/slate
167+
- Fix documentation to point at new repo link, thanks to [Arun](https://github.com/slash-arun), [Gustavo Gawryszewski](https://github.com/gawry), and [Daniel Korbit](https://github.com/danielkorbit)
168+
- Update `nokogiri` to 1.10.4
169+
- Update `ffi` in `Gemfile.lock` to fix security warnings, thanks to [Grey Baker](https://github.com/greysteil) and [jakemack](https://github.com/jakemack)
170+
- Update `rack` to 2.0.7 in `Gemfile.lock` to fix security warnings, thanks to [Grey Baker](https://github.com/greysteil) and [jakemack](https://github.com/jakemack)
171+
- Update middleman to `4.3` and relax constraints on middleman related gems, thanks to [jakemack](https://github.com/jakemack)
172+
- Add sass gem, thanks to [jakemack](https://github.com/jakemack)
173+
- Activate `asset_cache` in middleman to improve cacheability of static files, thanks to [Sam Gilman](https://github.com/thenengah)
174+
- Update to using bundler 2 for `Gemfile.lock`, thanks to [jakemack](https://github.com/jakemack)
175+
176+
## Version 2.3.1
177+
178+
*July 5, 2018*
179+
180+
- Update `sprockets` in `Gemfile.lock` to fix security warnings
181+
182+
## Version 2.3
183+
184+
*July 5, 2018*
185+
186+
- Allows strikethrough in markdown by default.
187+
- Upgrades jQuery to 3.2.1, thanks to [Tomi Takussaari](https://github.com/TomiTakussaari)
188+
- Fixes invalid HTML in `layout.erb`, thanks to [Eric Scouten](https://github.com/scouten) for pointing out
189+
- Hopefully fixes Vagrant memory issues, thanks to [Petter Blomberg](https://github.com/p-blomberg) for the suggestion
190+
- Cleans HTML in headers before setting `document.title`, thanks to [Dan Levy](https://github.com/justsml)
191+
- Allows trailing whitespace in markdown files, thanks to [Samuel Cousin](https://github.com/kuzyn)
192+
- Fixes pushState/replaceState problems with scrolling not changing the document hash, thanks to [Andrey Fedorov](https://github.com/anfedorov)
193+
- Removes some outdated examples, thanks [@al-tr](https://github.com/al-tr), [Jerome Dahdah](https://github.com/jdahdah), and [Ricardo Castro](https://github.com/mccricardo)
194+
- Fixes `nav-padding` bug, thanks [Jerome Dahdah](https://github.com/jdahdah)
195+
- Code style fixes thanks to [Sebastian Zaremba](https://github.com/vassyz)
196+
- Nokogiri version bump thanks to [Grey Baker](https://github.com/greysteil)
197+
- Fix to default `index.md` text thanks to [Nick Busey](https://github.com/NickBusey)
198+
199+
Thanks to everyone who contributed to this release!
200+
201+
## Version 2.2
202+
203+
*January 19, 2018*
204+
205+
- Fixes bugs with some non-roman languages not generating unique headers
206+
- Adds editorconfig, thanks to [Jay Thomas](https://github.com/jaythomas)
207+
- Adds optional `NestingUniqueHeadCounter`, thanks to [Vladimir Morozov](https://github.com/greenhost87)
208+
- Small fixes to typos and language, thx [Emir Ribić](https://github.com/ribice), [Gregor Martynus](https://github.com/gr2m), and [Martius](https://github.com/martiuslim)!
209+
- Adds links to Spectrum chat for questions in README and ISSUE_TEMPLATE
210+
211+
## Version 2.1
212+
213+
*October 30, 2017*
214+
215+
- Right-to-left text stylesheet option, thanks to [Mohammad Hossein Rabiee](https://github.com/mhrabiee)
216+
- Fix for HTML5 history state bug, thanks to [Zach Toolson](https://github.com/ztoolson)
217+
- Small styling changes, typo fixes, small bug fixes from [Marian Friedmann](https://github.com/rnarian), [Ben Wilhelm](https://github.com/benwilhelm), [Fouad Matin](https://github.com/fouad), [Nicolas Bonduel](https://github.com/NicolasBonduel), [Christian Oliff](https://github.com/coliff)
218+
219+
Thanks to everyone who submitted PRs for this version!
220+
221+
## Version 2.0
222+
223+
*July 17, 2017*
224+
225+
- All-new statically generated table of contents
226+
- Should be much faster loading and scrolling for large pages
227+
- Smaller Javascript file sizes
228+
- Avoids the problem with the last link in the ToC not ever highlighting if the section was shorter than the page
229+
- Fixes control-click not opening in a new page
230+
- Automatically updates the HTML title as you scroll
231+
- Updated design
232+
- New default colors!
233+
- New spacings and sizes!
234+
- System-default typefaces, just like GitHub
235+
- Added search input delay on large corpuses to reduce lag
236+
- We even bumped the major version cause hey, why not?
237+
- Various small bug fixes
238+
239+
Thanks to everyone who helped debug or wrote code for this version! It was a serious community effort, and I couldn't have done it alone.
240+
241+
## Version 1.5
242+
243+
*February 23, 2017*
244+
245+
- Add [multiple tabs per programming language](https://github.com/lord/slate/wiki/Multiple-language-tabs-per-programming-language) feature
246+
- Upgrade Middleman to add Ruby 1.4.0 compatibility
247+
- Switch default code highlighting color scheme to better highlight JSON
248+
- Various small typo and bug fixes
249+
250+
## Version 1.4
251+
252+
*November 24, 2016*
253+
254+
- Upgrade Middleman and Rouge gems, should hopefully solve a number of bugs
255+
- Update some links in README
256+
- Fix broken Vagrant startup script
257+
- Fix some problems with deploy.sh help message
258+
- Fix bug with language tabs not hiding properly if no error
259+
- Add `!default` to SASS variables
260+
- Fix bug with logo margin
261+
- Bump tested Ruby versions in .travis.yml
262+
263+
## Version 1.3.3
264+
265+
*June 11, 2016*
266+
267+
Documentation and example changes.
268+
269+
## Version 1.3.2
270+
271+
*February 3, 2016*
272+
273+
A small bugfix for slightly incorrect background colors on code samples in some cases.
274+
275+
## Version 1.3.1
276+
277+
*January 31, 2016*
278+
279+
A small bugfix for incorrect whitespace in code blocks.
280+
281+
## Version 1.3
282+
283+
*January 27, 2016*
284+
285+
We've upgraded Middleman and a number of other dependencies, which should fix quite a few bugs.
286+
287+
Instead of `rake build` and `rake deploy`, you should now run `bundle exec middleman build --clean` to build your server, and `./deploy.sh` to deploy it to Github Pages.
288+
289+
## Version 1.2
290+
291+
*June 20, 2015*
292+
293+
**Fixes:**
294+
295+
- Remove crash on invalid languages
296+
- Update Tocify to scroll to the highlighted header in the Table of Contents
297+
- Fix variable leak and update search algorithms
298+
- Update Python examples to be valid Python
299+
- Update gems
300+
- More misc. bugfixes of Javascript errors
301+
- Add Dockerfile
302+
- Remove unused gems
303+
- Optimize images, fonts, and generated asset files
304+
- Add chinese font support
305+
- Remove RedCarpet header ID patch
306+
- Update language tabs to not disturb existing query strings
307+
308+
## Version 1.1
309+
310+
*July 27, 2014*
311+
312+
**Fixes:**
313+
314+
- Finally, a fix for the redcarpet upgrade bug
315+
316+
## Version 1.0
317+
318+
*July 2, 2014*
319+
320+
[View Issues](https://github.com/tripit/slate/issues?milestone=1&state=closed)
321+
322+
**Features:**
323+
324+
- Responsive designs for phones and tablets
325+
- Started tagging versions
326+
327+
**Fixes:**
328+
329+
- Fixed 'unrecognized expression' error
330+
- Fixed #undefined hash bug
331+
- Fixed bug where the current language tab would be unselected
332+
- Fixed bug where tocify wouldn't highlight the current section while searching
333+
- Fixed bug where ids of header tags would have special characters that caused problems
334+
- Updated layout so that pages with disabled search wouldn't load search.js
335+
- Cleaned up Javascript

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)