Skip to content

Commit

Permalink
gathering files together for a public commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lashtear committed Dec 7, 2011
0 parents commit 019fc13
Show file tree
Hide file tree
Showing 5 changed files with 1,040 additions and 0 deletions.
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

* Neither the name of the author nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Jobs Archive

An archiving tool for [Anomaly Jobs](http://code.google.com/p/anomalyjobs/) and [phpBB3](http://www.phpbb.com/) on [TinyMux 2.10](http://code.google.com/p/tinymux/).

This can be used for general forum posting from within the MUX, but is targetted at permanent archival of completed jobs.

Originally produced for [The Reach](http://thereachmux.org/)

## Primary interfaces:

* fn_post_new_topic
* fn_post_reply
* fn_simple_post_new_topic
* fn_simple_post_reply
* fn_post_job

## Compatibility

Very little, currently, but feedback and patches are welcome. We have this working with:

* Anomaly Jobs 6.4 + a lot of patches
* phpBB 3.0.9
* TinyMux 2.10.0.7 + [a few patches](https://github.com/lashtear/tinymux/tree/thereach)
* MySQL 5.1.58-1-log

## Acknowledgements

The idea of archiving AJ's completed jobs to a permanent forum was originally [Loki](http://www.haunted-memories.net/wiki/User:Loki)'s (Nuitari@DLAoM), and he completed working versions on DragonLance: Age of Mortals MUSH and [Haunted Memories: Vienna by Night](http://www.haunted-memories.net/) for AJ5 and SMF.

This project is an effort to provide similar functionality for newer software on a different mush-- and make it more portable and available to others.
20 changes: 20 additions & 0 deletions hooks.mush
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Example hooks for pointing AJ6 at the archiver

# @vc here is assumed to point to the Job Parent Object <JPO>;
# generally recorded as @vc on most AJ objects.

# Be sure to replace #5185 with whatever the DBRef of your forum
# posting object is.

QUIT
@vc me=#2621
-

&hook_apr %vc=think ulocal( #5185/fn_post_job, %0 )
-

&hook_dny %vc=think ulocal( #5185/fn_post_job, %0 )
-

&hook_com %vc=think ulocal( #5185/fn_post_job, %0 )
-
145 changes: 145 additions & 0 deletions jobs-archive.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
/* FORUM ARCHIVE CSS */
/* This could be pasted into the end of whatever forum theme you're using */

/* Yes, it needs a lot of work. */

table.jobsSummary {
border: solid black 1px;
border-collapse: collapse;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
margin: 3px;
padding: 3px;
width: 90%;
}

table.jobsSummary tbody {
margin: 3px;
padding: 3px;
}

table.jobsSummary tr {
background: inherit;
border: none;
}

table.jobsSummary th {
background: inherit;
border: none;
padding: 3px;
text-align: right;
}

table.jobsSummary td {
background: inherit;
border: none;
padding: 3px;
}

table.jobsSummary tr:nth-child( even ) {
background: rgba( 0, 0, 0, 0.0625 );
}

table.jobsSummary small {
font-size: 0.5em;
}

table.jobsEntrySummary {
margin: 3px;
padding: 3px;
border: solid black 1px;
border-collapse: collapse;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
width: 90%;
}

table.jobsEntrySummary tbody {
margin: 3px;
padding: 3px;
}

table.jobsEntrySummary tr {
background: inherit;
border: none;
}

table.jobsEntrySummary td {
background: inherit;
border: none;
padding: 3px;
}

table.jobsEntrySummary td.payload {
padding: 1em;
border: solid 1px black;
}

table.jobsEntrySummary td:first-child {
width: 2em;
}

table.jobsEntrySummary td:nth-child( even ) {
background: rgba( 0, 0, 0, 0.0625 );
}

table.jobsEntrySummary small {
font-size: 0.5em;
}

span.jobGreen {
color: #080;
}

span.jobYellow {
color: #880;
}

span.jobRed {
color: #a00;
}

table.jobsViewSummary {
margin: 3px;
padding: 3px;
border: solid black 1px;
border-collapse: collapse;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
width: 90%;
}

table.jobsViewSummary tbody {
margin: 3px;
padding: 3px;
}

table.jobsViewSummary tr {
background: inherit;
border: none;
}

table.jobsViewSummary td {
background: inherit;
border: none;
padding: 3px;
}

table.jobsViewSummary td:first-child {
width: 2em;
}

table.jobsViewSummary td:nth-child( even ) {
background: rgba( 0, 0, 0, 0.0625 );

}

table.jobsViewSummary td.payload {
padding: 1em;
border: solid 1px black;
}

/* Forum archive end */
Loading

0 comments on commit 019fc13

Please sign in to comment.