Merge branch 'v3'
Conflicts: LICENSE builds/appchan-x.user.js builds/crx/script.js
This commit is contained in:
commit
69f3ef7aa9
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* appchan x - Version 2.8.0 - 2014-01-11
|
* appchan x - Version 2.8.0 - 2014-01-12
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -17,7 +17,7 @@ Redirect =
|
|||||||
|
|
||||||
for boardID, record of Conf['selectedArchives']
|
for boardID, record of Conf['selectedArchives']
|
||||||
for type, id of record when (archive = archives[id])
|
for type, id of record when (archive = archives[id])
|
||||||
boards = if type is 'file' then archive.file else archive.boards
|
boards = if type is 'file' then archive.files else archive.boards
|
||||||
continue unless boardID in boards
|
continue unless boardID in boards
|
||||||
o[type][boardID] = archive.data
|
o[type][boardID] = archive.data
|
||||||
|
|
||||||
|
|||||||
@ -309,20 +309,20 @@ Settings =
|
|||||||
$.on $('input[name="Custom CSS"]', section), 'change', Settings.togglecss
|
$.on $('input[name="Custom CSS"]', section), 'change', Settings.togglecss
|
||||||
$.on $.id('apply-css'), 'click', Settings.usercss
|
$.on $.id('apply-css'), 'click', Settings.usercss
|
||||||
|
|
||||||
boards = {}
|
archBoards = {}
|
||||||
for name, archive of Redirect.archives
|
for {name, boards, files, data} in Redirect.archives
|
||||||
for boardID in archive.boards
|
for boardID in boards
|
||||||
data = boards[boardID] or=
|
o = archBoards[boardID] or=
|
||||||
thread: []
|
thread: []
|
||||||
post: []
|
post: []
|
||||||
file: []
|
file: []
|
||||||
data.thread.push name
|
o.thread.push name
|
||||||
data.post.push name if archive.software is 'foolfuuka'
|
o.post.push name if data.software is 'foolfuuka'
|
||||||
data.file.push name if boardID in archive.files
|
o.file.push name if boardID in files
|
||||||
|
|
||||||
rows = []
|
rows = []
|
||||||
boardOptions = []
|
boardOptions = []
|
||||||
for boardID in Object.keys(boards).sort() # Alphabetical order
|
for boardID in Object.keys(archBoards).sort() # Alphabetical order
|
||||||
row = $.el 'tr',
|
row = $.el 'tr',
|
||||||
className: "board-#{boardID}"
|
className: "board-#{boardID}"
|
||||||
row.hidden = boardID isnt g.BOARD.ID
|
row.hidden = boardID isnt g.BOARD.ID
|
||||||
@ -332,8 +332,8 @@ Settings =
|
|||||||
value: "board-#{boardID}"
|
value: "board-#{boardID}"
|
||||||
selected: boardID is g.BOARD.ID
|
selected: boardID is g.BOARD.ID
|
||||||
|
|
||||||
data = boards[boardID]
|
o = archBoards[boardID]
|
||||||
$.add row, Settings.addArchiveCell boardID, data, item for item in ['thread', 'post', 'file']
|
$.add row, Settings.addArchiveCell boardID, o, item for item in ['thread', 'post', 'file']
|
||||||
rows.push row
|
rows.push row
|
||||||
|
|
||||||
$.add $('tbody', section), rows
|
$.add $('tbody', section), rows
|
||||||
|
|||||||
@ -65,7 +65,7 @@
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Quick Reply Personas <span class="warning" #{if Conf['Quick Reply'] then 'hidden' else ''}>is disabled.</span></legend>
|
<legend>Quick Reply Personas</legend>
|
||||||
<textarea class=personafield name="QR.personas" class="field" spellcheck="false"></textarea>
|
<textarea class=personafield name="QR.personas" class="field" spellcheck="false"></textarea>
|
||||||
<p>
|
<p>
|
||||||
One item per line.<br>
|
One item per line.<br>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user