From 4fafd7fd3f47909fbb1059074744ed5bcc178cb1 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Wed, 1 Jan 2014 15:10:31 +0100 Subject: [PATCH 1/3] One more year. --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 9329b9c22..170427d3d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ Copyright (c) 2009-2011 James Campos -Copyright (c) 2012-2013 Nicolas Stepien +Copyright (c) 2012-2014 Nicolas Stepien Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation From 60f3f881788cc8c6c3c8338b806f5ce047d3e430 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Mon, 6 Jan 2014 12:24:57 +0100 Subject: [PATCH 2/3] Notify users when index refresh failed due to a server/network error. --- src/General/Index.coffee | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 900560d8c..24fc49315 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -227,6 +227,16 @@ Index = notice.close() return + if req.status not in [200, 304] + err = "Index refresh failed. Error #{req.statusText} (#{req.status})" + if notice + notice.setType 'warning' + notice.el.lastElementChild.textContent = err + setTimeout notice.close, $.SECOND + else + new Notice 'warning', err, 1 + return + try if req.status is 200 Index.parse JSON.parse(req.response), pageNum @@ -238,9 +248,9 @@ Index = if notice notice.setType 'error' notice.el.lastElementChild.textContent = 'Index refresh failed.' - setTimeout notice.close, 2 * $.SECOND + setTimeout notice.close, $.SECOND else - new Notice 'error', 'Index refresh failed.', 2 + new Notice 'error', 'Index refresh failed.', 1 return if notice From 95fcc3c8bb3480bed993020f3743a4a07ec0d2c6 Mon Sep 17 00:00:00 2001 From: Noble pleb Date: Wed, 8 Jan 2014 21:07:21 +0200 Subject: [PATCH 3/3] Update archives.json archiving /o/ --- json/archives.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/json/archives.json b/json/archives.json index 53ada3578..ff93bb842 100644 --- a/json/archives.json +++ b/json/archives.json @@ -32,8 +32,8 @@ "http": true, "https": true, "software": "foolfuuka", - "boards": ["hr", "pol", "s4s", "tg", "tv", "x"], - "files": ["hr", "pol", "s4s", "tg", "tv", "x"] + "boards": ["hr", "o", "pol", "s4s", "tg", "tv", "x"], + "files": ["hr", "o", "pol", "s4s", "tg", "tv", "x"] }, { "uid": 4, "name": "Nyafuu",