forked from Baystation12/Baystation12
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves us to the changelog system used by /vg/, /tg/, and others.
Cleans up the HTLM folder, removing unused files. Will also attempt include /tg/'s "You have unread changelog entries" notification on join.
- Loading branch information
1 parent
fdd0418
commit 3edfbf0
Showing
26 changed files
with
475 additions
and
655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,35 @@ | ||
.top{font-family:Tahoma,sans-serif;font-size:12px;} | ||
h2{font-family:Tahoma,sans-serif;} | ||
a img {border:none;} | ||
.bgimages16 li { | ||
padding:2px 10px 2px 30px; | ||
background-position:6px center; | ||
background-repeat:no-repeat; | ||
border:1px solid #ddd; | ||
border-left:4px solid #999; | ||
margin-bottom:2px; | ||
} | ||
.bugfix {background-image:url(bug-minus.png)} | ||
.wip {background-image:url(hard-hat-exclamation.png)} | ||
.tweak {background-image:url(wrench-screwdriver.png)} | ||
.soundadd {background-image:url(music-plus.png)} | ||
.sounddel {background-image:url(music-minus.png)} | ||
.rscdel {background-image:url(cross-circle.png)} | ||
.rscadd {background-image:url(tick-circle.png)} | ||
.imageadd {background-image:url(image-plus.png)} | ||
.imagedel {background-image:url(image-minus.png)} | ||
.spellcheck {background-image:url(spell-check.png)} | ||
.experiment {background-image:url(burn-exclamation.png)} | ||
.tgs {background-image:url(tg-notif.png)} | ||
.sansserif {font-family:Tahoma,sans-serif;font-size:12px;} | ||
.commit {margin-bottom:20px;font-size:100%;font-weight:normal;} | ||
.changes {list-style:none;margin:5px 0;padding:0 0 0 25px;font-size:0.8em;} | ||
.date {margin:10px 0;color:blue;border-bottom:2px solid #00f;width:60%;padding:2px 0;font-size:1em;font-weight:bold;} | ||
.author {padding-left:10px;margin:0;font-weight:bold;font-size:0.9em;} | ||
.drop {cursor:pointer;border:1px solid #999;display:inline;font-size:0.9em;padding:1px 20px 1px 5px;line-height:16px;} | ||
.hidden {display:none;} | ||
.indrop {margin:2px 0 0 0;clear:both;background:#fff;border:1px solid #ddd;padding:5px 10px;} | ||
.indrop p {margin:0;font-size:0.8em;line-height:16px;margin:1px 0;} | ||
.indrop img {margin-right:5px;vertical-align:middle;} | ||
.closed {background:url(chevron-expand.png) right center no-repeat;} | ||
.open {background:url(chevron.png) right center no-repeat;} | ||
.top{font-family:Tahoma,sans-serif;font-size:12px;} | ||
h2{font-family:Tahoma,sans-serif;} | ||
a img {border:none;} | ||
.bgimages16 li { | ||
padding:2px 10px 2px 30px; | ||
background-position:6px center; | ||
background-repeat:no-repeat; | ||
border:1px solid #ddd; | ||
border-left:4px solid #999; | ||
margin-bottom:2px; | ||
} | ||
.bugfix {background-image:url(bug-minus.png)} | ||
.wip {background-image:url(hard-hat-exclamation.png)} | ||
.tweak {background-image:url(wrench-screwdriver.png)} | ||
.soundadd {background-image:url(music-plus.png)} | ||
.sounddel {background-image:url(music-minus.png)} | ||
.rscdel {background-image:url(cross-circle.png)} | ||
.rscadd {background-image:url(tick-circle.png)} | ||
.imageadd {background-image:url(image-plus.png)} | ||
.imagedel {background-image:url(image-minus.png)} | ||
.spellcheck {background-image:url(spell-check.png)} | ||
.experiment {background-image:url(burn-exclamation.png)} | ||
.sansserif {font-family:Tahoma,sans-serif;font-size:12px;} | ||
.commit {margin-bottom:20px;font-size:100%;font-weight:normal;} | ||
.changes {list-style:none;margin:5px 0;padding:0 0 0 25px;font-size:0.8em;} | ||
.date {margin:10px 0;color:blue;border-bottom:2px solid #00f;width:60%;padding:2px 0;font-size:1em;font-weight:bold;} | ||
.author {padding-left:10px;margin:0;font-weight:bold;font-size:0.9em;} | ||
.drop {cursor:pointer;border:1px solid #999;display:inline;font-size:0.9em;padding:1px 20px 1px 5px;line-height:16px;} | ||
.hidden {display:none;} | ||
.indrop {margin:2px 0 0 0;clear:both;background:#fff;border:1px solid #ddd;padding:5px 10px;} | ||
.indrop p {margin:0;font-size:0.8em;line-height:16px;margin:1px 0;} | ||
.indrop img {margin-right:5px;vertical-align:middle;} | ||
.closed {background:url(chevron-expand.png) right center no-repeat;} | ||
.open {background:url(chevron.png) right center no-repeat;} | ||
.lic {font-size:9px;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,87 @@ | ||
/* | ||
function dropdowns() { | ||
var divs = document.getElementsByTagName('div'); | ||
var headers = new Array(); | ||
var links = new Array(); | ||
for(var i=0;i<divs.length;i++){ | ||
if(divs[i].className=='drop') { | ||
divs[i].className='drop closed'; | ||
headers.push(divs[i]); | ||
} | ||
if(divs[i].className=='indrop') { | ||
divs[i].className='indrop hidden'; | ||
links.push(divs[i]); | ||
} | ||
} | ||
for(var i=0;i<headers.length;i++){ | ||
if(typeof(links[i])!== 'undefined' && links[i]!=null) { | ||
headers[i].onclick = (function(elem) { | ||
return function() { | ||
if(elem.className.search('visible')>=0) { | ||
elem.className = elem.className.replace('visible','hidden'); | ||
this.className = this.className.replace('open','closed'); | ||
} | ||
else { | ||
elem.className = elem.className.replace('hidden','visible'); | ||
this.className = this.className.replace('closed','open'); | ||
} | ||
return false; | ||
} | ||
})(links[i]); | ||
} | ||
} | ||
} | ||
*/ | ||
/* | ||
function filterchanges(type){ | ||
var lists = document.getElementsByTagName('ul'); | ||
for(var i in lists){ | ||
if(lists[i].className && lists[i].className.search('changes')>=0) { | ||
for(var j in lists[i].childNodes){ | ||
if(lists[i].childNodes[j].nodeType == 1){ | ||
if(!type){ | ||
lists[i].childNodes[j].style.display = 'block'; | ||
} | ||
else if(lists[i].childNodes[j].className!=type) { | ||
lists[i].childNodes[j].style.display = 'none'; | ||
} | ||
else { | ||
lists[i].childNodes[j].style.display = 'block'; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
*/ | ||
function dropdowns() { | ||
var drops = $('div.drop'); | ||
var indrops = $('div.indrop'); | ||
if(drops.length!=indrops.length){ | ||
alert("Some coder fucked up with dropdowns"); | ||
} | ||
drops.each(function(index){ | ||
$(this).toggleClass('closed'); | ||
$(indrops[index]).hide(); | ||
$(this).click(function(){ | ||
$(this).toggleClass('closed'); | ||
$(this).toggleClass('open'); | ||
$(indrops[index]).toggle(); | ||
}); | ||
}); | ||
} | ||
|
||
function filterchanges(type){ | ||
$('ul.changes li').each(function(){ | ||
if(!type || $(this).hasClass(type)){ | ||
$(this).show(); | ||
} | ||
else { | ||
$(this).hide(); | ||
} | ||
}); | ||
} | ||
|
||
$(document).ready(function(){ | ||
dropdowns(); | ||
/* | ||
function dropdowns() { | ||
var divs = document.getElementsByTagName('div'); | ||
var headers = new Array(); | ||
var links = new Array(); | ||
for(var i=0;i<divs.length;i++){ | ||
if(divs[i].className=='drop') { | ||
divs[i].className='drop closed'; | ||
headers.push(divs[i]); | ||
} | ||
if(divs[i].className=='indrop') { | ||
divs[i].className='indrop hidden'; | ||
links.push(divs[i]); | ||
} | ||
} | ||
for(var i=0;i<headers.length;i++){ | ||
if(typeof(links[i])!== 'undefined' && links[i]!=null) { | ||
headers[i].onclick = (function(elem) { | ||
return function() { | ||
if(elem.className.search('visible')>=0) { | ||
elem.className = elem.className.replace('visible','hidden'); | ||
this.className = this.className.replace('open','closed'); | ||
} | ||
else { | ||
elem.className = elem.className.replace('hidden','visible'); | ||
this.className = this.className.replace('closed','open'); | ||
} | ||
return false; | ||
} | ||
})(links[i]); | ||
} | ||
} | ||
} | ||
*/ | ||
/* | ||
function filterchanges(type){ | ||
var lists = document.getElementsByTagName('ul'); | ||
for(var i in lists){ | ||
if(lists[i].className && lists[i].className.search('changes')>=0) { | ||
for(var j in lists[i].childNodes){ | ||
if(lists[i].childNodes[j].nodeType == 1){ | ||
if(!type){ | ||
lists[i].childNodes[j].style.display = 'block'; | ||
} | ||
else if(lists[i].childNodes[j].className!=type) { | ||
lists[i].childNodes[j].style.display = 'none'; | ||
} | ||
else { | ||
lists[i].childNodes[j].style.display = 'block'; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
*/ | ||
function dropdowns() { | ||
var drops = $('div.drop'); | ||
var indrops = $('div.indrop'); | ||
if(drops.length!=indrops.length){ | ||
alert("Some coder fucked up with dropdowns"); | ||
} | ||
drops.each(function(index){ | ||
$(this).toggleClass('closed'); | ||
$(indrops[index]).hide(); | ||
$(this).click(function(){ | ||
$(this).toggleClass('closed'); | ||
$(this).toggleClass('open'); | ||
$(indrops[index]).toggle(); | ||
}); | ||
}); | ||
} | ||
|
||
function filterchanges(type){ | ||
$('ul.changes li').each(function(){ | ||
if(!type || $(this).hasClass(type)){ | ||
$(this).show(); | ||
} | ||
else { | ||
$(this).hide(); | ||
} | ||
}); | ||
} | ||
|
||
$(document).ready(function(){ | ||
dropdowns(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Changelogs are included with commits as text .yml files created individually by the committer. If you want to create a changelog entry you create a .yml file in the /changelogs directory; nothing else needs to be touched unless you are a maintainer. | ||
|
||
####################################################### | ||
|
||
TO MAKE A CHANGELOG .YML ENTRRY | ||
|
||
1. Make a copy of the file example.yml in html/changelogs and rename it to [YOUR USERNAME]-PR-[YOUR PR NUMBER].yml (the pr and pr number are organizational and can be ignored if you so wish) | ||
|
||
2. Change the author to yourself | ||
|
||
3. Replace the changes text with a description of the changes in your PR, keep the double quotes to avoid errors (your changelog can be written ICly or OOCly, it doesn't matter) | ||
|
||
4. (Optional) set the change prefix (rscadd) to a different one listed above in example.yml (this affects what icon is used for your changelog entry) | ||
|
||
5. When commiting make sure your .yml file is included in the commit (it will usually be unticked as an unversioned file) | ||
|
||
####################################################### | ||
|
||
If you have trouble ask for help in #codershuttle on irc.sorcery.net or read https://tgstation13.org/wiki/Guide_to_Changelogs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
################################ | ||
# Example Changelog File | ||
# | ||
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. | ||
# | ||
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) | ||
# When it is, any changes listed below will disappear. | ||
# | ||
# Valid Prefixes: | ||
# bugfix | ||
# wip (For works in progress) | ||
# tweak | ||
# soundadd | ||
# sounddel | ||
# rscadd (general adding of nice things) | ||
# rscdel (general deleting of nice things) | ||
# imageadd | ||
# imagedel | ||
# spellcheck (typo fixes) | ||
# experiment | ||
################################# | ||
|
||
# Your name. | ||
author: N3X15 | ||
|
||
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. | ||
delete-after: True | ||
|
||
# Any changes you've made. See valid prefix list above. | ||
# INDENT WITH TWO SPACES. NOT TABS. SPACES. | ||
# SCREW THIS UP AND IT WON'T WORK. | ||
# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit. | ||
# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog. | ||
changes: | ||
- rscadd: "Added a changelog editing system that should cause fewer conflicts and more accurate timestamps." | ||
- rscdel: "Killed innocent kittens." |
Oops, something went wrong.