OSDN Git Service

newslash/newslash.git
6 years agoadd Epoch Plugin
hylom [Fri, 19 Jan 2018 14:04:14 +0000 (23:04 +0900)]
add Epoch Plugin

6 years agoadd RendererHelper Plugin
hylom [Fri, 19 Jan 2018 14:03:38 +0000 (23:03 +0900)]
add RendererHelper Plugin

6 years agoPlugin::QuasiStaticConent: fix to work correctly when cache is expired
hylom [Fri, 19 Jan 2018 14:02:34 +0000 (23:02 +0900)]
Plugin::QuasiStaticConent: fix to work correctly when cache is expired

6 years agoadd "test_mode" to KeyValueStore and TimeLimitedCache
hylom [Fri, 19 Jan 2018 14:01:38 +0000 (23:01 +0900)]
add "test_mode" to KeyValueStore and TimeLimitedCache

6 years agoPlugin::JavaScriptLoader: get_content() now support $option argument
hylom [Fri, 19 Jan 2018 14:00:33 +0000 (23:00 +0900)]
Plugin::JavaScriptLoader: get_content() now support $option argument

6 years agoadd common/breadcrumb_list template
hylom [Wed, 27 Dec 2017 11:09:36 +0000 (20:09 +0900)]
add common/breadcrumb_list template

6 years agoshow proper sidebar in tag page
hylom [Wed, 27 Dec 2017 11:08:23 +0000 (20:08 +0900)]
show proper sidebar in tag page

6 years agoadd breadcrumb menu
hylom [Wed, 27 Dec 2017 11:08:12 +0000 (20:08 +0900)]
add breadcrumb menu

6 years agoadd navigation to tag page and add link to tag test
hylom [Wed, 27 Dec 2017 11:06:27 +0000 (20:06 +0900)]
add navigation to tag page and add link to tag test

6 years agot: remove unwanted diag
hylom [Wed, 27 Dec 2017 10:13:23 +0000 (19:13 +0900)]
t: remove unwanted diag

6 years ago * Util::Test: fix create_story() to work when no time parameter given
hylom [Wed, 27 Dec 2017 10:12:17 +0000 (19:12 +0900)]
 * Util::Test: fix create_story() to work when no time parameter given

6 years ago * Controller::API::Journal: fix warnings
hylom [Wed, 27 Dec 2017 10:12:01 +0000 (19:12 +0900)]
 * Controller::API::Journal: fix warnings

6 years agotemplate: add template for /tag/<tagname>
hylom [Tue, 26 Dec 2017 13:25:10 +0000 (22:25 +0900)]
template: add template for /tag/<tagname>

6 years agot: add models/firehose.t for Model::Firehose
hylom [Tue, 26 Dec 2017 13:24:45 +0000 (22:24 +0900)]
t: add models/firehose.t for Model::Firehose

6 years agoimplement /tag/<tagname>
hylom [Tue, 26 Dec 2017 13:24:30 +0000 (22:24 +0900)]
implement /tag/<tagname>

6 years ago * Model::Tags: set() now more robust for parameters
hylom [Tue, 26 Dec 2017 13:23:57 +0000 (22:23 +0900)]
 * Model::Tags: set() now more robust for parameters

6 years ago * Web::Controller::Timeline: use Newslash::Web::Controller base class
hylom [Tue, 26 Dec 2017 13:23:18 +0000 (22:23 +0900)]
 * Web::Controller::Timeline: use Newslash::Web::Controller base class

6 years ago * Web::Controller: add get_config()
hylom [Tue, 26 Dec 2017 13:22:58 +0000 (22:22 +0900)]
 * Web::Controller: add get_config()

6 years ago * Util::TestMan: cleanup unused codes
hylom [Tue, 26 Dec 2017 13:22:32 +0000 (22:22 +0900)]
 * Util::TestMan: cleanup unused codes

6 years ago * Util::Test: create_story() now handles 'dept' and 'time' params, more verbose...
hylom [Tue, 26 Dec 2017 13:21:19 +0000 (22:21 +0900)]
 * Util::Test: create_story() now handles 'dept' and 'time' params,  more verbose when error occured

6 years ago * Model::Stories: add error handle code to create()
hylom [Tue, 26 Dec 2017 13:20:57 +0000 (22:20 +0900)]
 * Model::Stories: add error handle code to create()

6 years ago * Model::Cowrapper: build_where_clause() and build_order_by_clause() now handle...
hylom [Tue, 26 Dec 2017 13:19:23 +0000 (22:19 +0900)]
 * Model::Cowrapper: build_where_clause() and build_order_by_clause() now handle 'datetime_keys' and 'unique_keys' parameter

6 years ago * Model::Firehose: implement select() method
hylom [Tue, 26 Dec 2017 13:18:47 +0000 (22:18 +0900)]
 * Model::Firehose: implement select() method

6 years agofix title rules - implement all rules to templates/common/title
hylom [Fri, 22 Dec 2017 11:45:50 +0000 (20:45 +0900)]
fix title rules - implement all rules to templates/common/title

6 years agoremove duplicated template for polls
hylom [Fri, 22 Dec 2017 10:54:03 +0000 (19:54 +0900)]
remove duplicated template for polls

6 years agofix conditions for article template
hylom [Mon, 4 Dec 2017 13:12:17 +0000 (22:12 +0900)]
fix conditions for article template

6 years agohide bodytext in archive page
hylom [Mon, 4 Dec 2017 13:11:59 +0000 (22:11 +0900)]
hide bodytext in archive page

6 years ago * Model::Stories: fix full_text property
hylom [Mon, 4 Dec 2017 13:11:33 +0000 (22:11 +0900)]
 * Model::Stories: fix full_text property

6 years ago * Model::Util: chomp result before return in clean_html()
hylom [Mon, 4 Dec 2017 13:10:51 +0000 (22:10 +0900)]
 * Model::Util: chomp result before return in clean_html()

6 years ago * Model::Stories: fix to set full_text property correctly
hylom [Mon, 4 Dec 2017 12:14:55 +0000 (21:14 +0900)]
 * Model::Stories: fix to set full_text property correctly

6 years agointroduce "full_text" property for comment, journal, story, submission
hylom [Mon, 4 Dec 2017 11:51:31 +0000 (20:51 +0900)]
introduce "full_text" property for comment, journal, story, submission

6 years ago * Model::Journals: fix introtext/bodytext splitting for legacy formatter
hylom [Fri, 1 Dec 2017 13:05:22 +0000 (22:05 +0900)]
 * Model::Journals: fix introtext/bodytext splitting for legacy formatter

6 years agocheck Log.backtrace config variable to output backtrace or not
hylom [Fri, 1 Dec 2017 13:04:41 +0000 (22:04 +0900)]
check Log.backtrace config variable to output backtrace or not

6 years ago * Util::TextFormatter: add contextual_strip()
hylom [Fri, 1 Dec 2017 13:04:15 +0000 (22:04 +0900)]
 * Util::TextFormatter: add contextual_strip()

6 years agotemplate: hide bodytext in timeline and user page
hylom [Fri, 1 Dec 2017 10:49:25 +0000 (19:49 +0900)]
template: hide bodytext in timeline and user page

6 years agoshow media if exists in story page
hylom [Fri, 1 Dec 2017 10:06:16 +0000 (19:06 +0900)]
show media if exists in story page

6 years ago * Model::Stories: select() now query story_param table and set these values
hylom [Fri, 1 Dec 2017 10:05:42 +0000 (19:05 +0900)]
 * Model::Stories: select() now query story_param table and set these values

6 years ago * Model::Journals: set firehose table's 'discussion' column correctly in create_fire...
hylom [Fri, 1 Dec 2017 09:44:03 +0000 (18:44 +0900)]
 * Model::Journals: set firehose table's 'discussion' column correctly in create_firehose_item()

6 years ago * Model::Discussions: add ad-hoc fix invalid dkid for poll content's discussion
hylom [Thu, 30 Nov 2017 11:02:19 +0000 (20:02 +0900)]
 * Model::Discussions: add ad-hoc fix invalid dkid for poll content's discussion

6 years agotemplate: deprecate short_header
hylom [Thu, 30 Nov 2017 10:56:57 +0000 (19:56 +0900)]
template: deprecate short_header

6 years agofix superbanner's margin and padding
hylom [Thu, 30 Nov 2017 10:56:44 +0000 (19:56 +0900)]
fix superbanner's margin and padding

6 years agofix to show link to parent page when content is poll (#7294)
hylom [Thu, 30 Nov 2017 10:53:35 +0000 (19:53 +0900)]
fix to show link to parent page when content is poll (#7294)

6 years ago * Plugin::DiscussionHelper: ad-hoc (temporary) fix invalid dkid to poll's discussion...
hylom [Thu, 30 Nov 2017 10:43:33 +0000 (19:43 +0900)]
 * Plugin::DiscussionHelper: ad-hoc (temporary) fix invalid dkid to poll's discussion item (#7302)

6 years agofix nav-indexes design
hylom [Thu, 30 Nov 2017 10:08:04 +0000 (19:08 +0900)]
fix nav-indexes design

6 years agomove top navigation to account-bar
hylom [Wed, 29 Nov 2017 13:55:15 +0000 (22:55 +0900)]
move top navigation to account-bar

6 years ago * Controller::Timeline: add content_type correctly
hylom [Wed, 29 Nov 2017 13:54:34 +0000 (22:54 +0900)]
 * Controller::Timeline: add content_type correctly

6 years agouse NS.load_js template function whenever production environment
hylom [Tue, 28 Nov 2017 11:23:26 +0000 (20:23 +0900)]
use NS.load_js template function whenever production environment

6 years agofix to post sub-comment in comment single page
hylom [Tue, 28 Nov 2017 11:22:55 +0000 (20:22 +0900)]
fix to post sub-comment in comment single page

6 years ago * Plugin::QuasiStaticContnet: add 'generated_content' alias to TT2Renderer
hylom [Tue, 28 Nov 2017 11:22:12 +0000 (20:22 +0900)]
 * Plugin::QuasiStaticContnet: add 'generated_content' alias to TT2Renderer

6 years agointroduce DiscussionHelper plugin
hylom [Tue, 28 Nov 2017 10:57:50 +0000 (19:57 +0900)]
introduce DiscussionHelper plugin

6 years ago * Model::Discussions: fix is_comment_allowd() to check correctly when status is...
hylom [Tue, 28 Nov 2017 10:56:38 +0000 (19:56 +0900)]
 * Model::Discussions: fix is_comment_allowd() to check correctly when status is "logged_in"

6 years ago * Controller::Comment: check the user can post comments or not
hylom [Tue, 28 Nov 2017 10:38:35 +0000 (19:38 +0900)]
  * Controller::Comment: check the user can post comments or not

6 years agotemplate: fix parent story's title in comment single page
hylom [Tue, 28 Nov 2017 10:23:37 +0000 (19:23 +0900)]
template: fix parent story's title in comment single page

6 years agotemplate: change superbanner AD code to responsible
hylom [Tue, 28 Nov 2017 10:20:28 +0000 (19:20 +0900)]
template: change superbanner AD code to responsible

6 years ago * fix parent page's link in comment single page
hylom [Mon, 27 Nov 2017 15:16:25 +0000 (00:16 +0900)]
 * fix parent page's link in comment single page

6 years ago * Model::Submissions: select() accept "disccusion" key
hylom [Mon, 27 Nov 2017 15:15:43 +0000 (00:15 +0900)]
 * Model::Submissions: select() accept "disccusion" key

6 years ago * Model::Polls: select() accept 'discussion' key
hylom [Mon, 27 Nov 2017 15:15:09 +0000 (00:15 +0900)]
 * Model::Polls: select() accept 'discussion' key

6 years ago * Plugin::QuasiStaticContent: regenerate item if cache expired
hylom [Mon, 27 Nov 2017 14:51:57 +0000 (23:51 +0900)]
 * Plugin::QuasiStaticContent: regenerate item if cache expired

6 years ago * Plugin::QUasiStaticContent: use utf-8 encoding when load contents
hylom [Fri, 24 Nov 2017 11:06:18 +0000 (20:06 +0900)]
 * Plugin::QUasiStaticContent: use utf-8 encoding when load contents

6 years ago * Plugin::JavaScriptLoader: use utf-8 encoding when load .js files
hylom [Fri, 24 Nov 2017 11:05:44 +0000 (20:05 +0900)]
 * Plugin::JavaScriptLoader: use utf-8 encoding when load .js files

6 years agodebian: fix rules to install favicon.ico
hylom [Fri, 24 Nov 2017 10:25:48 +0000 (19:25 +0900)]
debian: fix rules to install favicon.ico

6 years ago * Plugin::JavaScriptLoader: check config settings when plugin loaded
hylom [Fri, 24 Nov 2017 10:21:50 +0000 (19:21 +0900)]
 * Plugin::JavaScriptLoader: check config settings when plugin loaded

6 years agofix password check routine for salted password (#37698)
hylom [Fri, 24 Nov 2017 10:05:11 +0000 (19:05 +0900)]
fix password check routine for salted password (#37698)

6 years agoadd favicon
hylom [Fri, 24 Nov 2017 09:43:15 +0000 (18:43 +0900)]
add favicon

6 years agoadd JavaScriptLoader plugin
hylom [Tue, 21 Nov 2017 12:46:47 +0000 (21:46 +0900)]
add JavaScriptLoader plugin

6 years ago * Plugin::QuasiStatucContent: set expire for KVS cache
hylom [Tue, 21 Nov 2017 12:46:22 +0000 (21:46 +0900)]
 * Plugin::QuasiStatucContent: set expire for KVS cache

6 years agotemplate: show abbreviated comment when tap header or comment text (#37673)
hylom [Tue, 21 Nov 2017 11:09:37 +0000 (20:09 +0900)]
template: show abbreviated comment when tap header or comment text (#37673)

6 years agocss: enable scrolling in boxes editor
hylom [Tue, 21 Nov 2017 11:00:03 +0000 (20:00 +0900)]
css: enable scrolling in boxes editor

6 years ago * Plugin::TT2Renderer: fix to show box which has static contents
hylom [Tue, 21 Nov 2017 10:59:14 +0000 (19:59 +0900)]
 * Plugin::TT2Renderer: fix to show box which has static contents

6 years agofix to work /my/sidebar correctly
hylom [Tue, 21 Nov 2017 10:28:56 +0000 (19:28 +0900)]
fix to work /my/sidebar correctly

6 years agocss: set iframe's default z-index to "-1" for popup menu on ads
hylom [Tue, 21 Nov 2017 10:08:26 +0000 (19:08 +0900)]
css: set iframe's default z-index to "-1" for popup menu on ads

6 years ago * Model::Timeline: fix to hide 'public == no' items
hylom [Mon, 20 Nov 2017 10:30:11 +0000 (19:30 +0900)]
 * Model::Timeline: fix to hide 'public == no' items

6 years agofix link url error and show items in archive pages
hylom [Mon, 20 Nov 2017 10:17:31 +0000 (19:17 +0900)]
fix link url error and show items in archive pages

6 years agouse Carp::Always to show more verbose error message
hylom [Mon, 20 Nov 2017 09:47:28 +0000 (18:47 +0900)]
use Carp::Always to show more verbose error message

6 years ago * Util::TextFormatter: fix strip_code() to work
hylom [Mon, 20 Nov 2017 09:37:16 +0000 (18:37 +0900)]
 * Util::TextFormatter: fix strip_code() to work

6 years agofix to show journal introtext correctly
hylom [Fri, 17 Nov 2017 11:31:16 +0000 (20:31 +0900)]
fix to show journal introtext correctly

6 years ago * Model::Journals: introtext insert into firehose_text correctly
hylom [Fri, 17 Nov 2017 10:10:15 +0000 (19:10 +0900)]
 * Model::Journals: introtext insert into firehose_text correctly

6 years agofix to show journal bodytext and problem title not inserted to firehose_text
hylom [Fri, 17 Nov 2017 09:57:25 +0000 (18:57 +0900)]
fix to show journal bodytext and problem title not inserted to firehose_text

6 years agotemplate: disable change mail address and password settings
hylom [Fri, 17 Nov 2017 09:27:47 +0000 (18:27 +0900)]
template: disable change mail address and password settings

6 years ago * Model::Feeds::Items: select() now returns sorted result by modified
hylom [Fri, 17 Nov 2017 09:08:48 +0000 (18:08 +0900)]
 * Model::Feeds::Items: select() now returns sorted result by modified

6 years ago * Controller::API::Journal: parameter check more robustly
hylom [Fri, 17 Nov 2017 08:18:40 +0000 (17:18 +0900)]
 * Controller::API::Journal: parameter check more robustly

6 years ago * Model::Journals: check tags_string parameter in create()
hylom [Fri, 17 Nov 2017 08:18:11 +0000 (17:18 +0900)]
 * Model::Journals: check tags_string parameter in create()

6 years agofix to work journal and submission editing
hylom [Thu, 16 Nov 2017 17:53:16 +0000 (02:53 +0900)]
fix to work journal and submission editing

6 years ago * Model::Jouranls: select() returns tags_string parameter
hylom [Thu, 16 Nov 2017 17:52:29 +0000 (02:52 +0900)]
 * Model::Jouranls: select() returns tags_string parameter

6 years ago * Model::Tags: fix to work is_reserved_name correctly
hylom [Thu, 16 Nov 2017 17:51:55 +0000 (02:51 +0900)]
 * Model::Tags: fix to work is_reserved_name correctly

6 years ago * Model::Tags: add add(), del(), set() and select() now retrive tagname
hylom [Thu, 16 Nov 2017 17:17:50 +0000 (02:17 +0900)]
 * Model::Tags: add add(), del(), set() and select() now retrive tagname

6 years agofix problem comment cannot post in story and poll page
hylom [Wed, 15 Nov 2017 16:17:51 +0000 (01:17 +0900)]
fix problem comment cannot post in story and poll page

6 years agofix to show poll single page collectly
hylom [Wed, 15 Nov 2017 16:17:29 +0000 (01:17 +0900)]
fix to show poll single page collectly

6 years agofix footer's copyright year
hylom [Wed, 15 Nov 2017 16:17:11 +0000 (01:17 +0900)]
fix footer's copyright year

6 years agotemplate: fix to hide pager when no paging parameter given
hylom [Wed, 15 Nov 2017 15:48:35 +0000 (00:48 +0900)]
template: fix to hide pager when no paging parameter given

6 years ago * Plugin::TimeLimitedCache: fix to block cache content manipulation
hylom [Wed, 15 Nov 2017 15:48:03 +0000 (00:48 +0900)]
 * Plugin::TimeLimitedCache: fix to block cache content manipulation

6 years agofix ads related template and css
hylom [Wed, 15 Nov 2017 15:47:22 +0000 (00:47 +0900)]
fix ads related template and css

6 years agotemplate: fix to hide invalid parent comment link when no parent comment
hylom [Wed, 15 Nov 2017 14:27:38 +0000 (23:27 +0900)]
template: fix to hide invalid parent comment link when no parent comment

6 years agofix ads related files
hylom [Wed, 15 Nov 2017 14:27:15 +0000 (23:27 +0900)]
fix ads related files

6 years agoprometheus-newslash-exporter: fix constant name
hylom [Thu, 2 Nov 2017 12:18:56 +0000 (21:18 +0900)]
prometheus-newslash-exporter: fix constant name

6 years agoimplement Journal re-edit
hylom [Tue, 31 Oct 2017 15:54:09 +0000 (00:54 +0900)]
implement Journal re-edit

6 years agojs: post() now support CSRF token check, and add postJournal(), previewJournal()
hylom [Tue, 31 Oct 2017 15:53:07 +0000 (00:53 +0900)]
js: post() now support CSRF token check, and add postJournal(), previewJournal()

6 years agot: fix api/journal.t
hylom [Tue, 31 Oct 2017 12:40:34 +0000 (21:40 +0900)]
t: fix api/journal.t

6 years ago * Model::Journals: introduce ns_journal_formatter table
hylom [Tue, 31 Oct 2017 11:37:40 +0000 (20:37 +0900)]
 * Model::Journals: introduce ns_journal_formatter table

6 years ago * Util::TextFormatter: rename from TextParser, and some methods copied from Model...
hylom [Tue, 31 Oct 2017 11:36:19 +0000 (20:36 +0900)]
 * Util::TextFormatter: rename from TextParser, and some methods copied from Model::Util