OSDN Git Service

newslash/newslash.git
6 years agons_search: add support for IntField
hylom [Wed, 21 Feb 2018 12:16:45 +0000 (21:16 +0900)]
ns_search: add support for IntField

6 years agons_search: implement lucene_wrapper and some sample codes
hylom [Wed, 21 Feb 2018 11:07:53 +0000 (20:07 +0900)]
ns_search: implement lucene_wrapper and some sample codes

6 years agoupdate .gitignore for python
hylom [Tue, 20 Feb 2018 11:32:37 +0000 (20:32 +0900)]
update .gitignore for python

6 years agoadd ns_search subdirectory
hylom [Tue, 20 Feb 2018 11:32:18 +0000 (20:32 +0900)]
add ns_search subdirectory

6 years agotest-container: update Dockerfile for pylucene environment
hylom [Tue, 6 Feb 2018 10:43:54 +0000 (19:43 +0900)]
test-container: update Dockerfile for pylucene environment

6 years ago/tag/<topics>/ now handles alias of topics
hylom [Thu, 1 Feb 2018 11:08:26 +0000 (20:08 +0900)]
/tag/<topics>/ now handles alias of topics

6 years agoModel::Cowrapper: build_where_clause supports OR parameter
hylom [Thu, 1 Feb 2018 11:07:47 +0000 (20:07 +0900)]
Model::Cowrapper: build_where_clause supports OR parameter

6 years agoPlugin::DiscussionHelper: fix typo
hylom [Thu, 1 Feb 2018 07:31:22 +0000 (16:31 +0900)]
Plugin::DiscussionHelper: fix typo

6 years agot: add dom-test for tag related pages
hylom [Wed, 31 Jan 2018 11:01:57 +0000 (20:01 +0900)]
t: add dom-test for tag related pages

6 years ago * t/dom_test/domtest.t: fix variable name collision
hylom [Wed, 31 Jan 2018 11:01:34 +0000 (20:01 +0900)]
 * t/dom_test/domtest.t: fix variable name collision

6 years agoPlugin::DiscussionHelper: fix warning
hylom [Wed, 31 Jan 2018 11:01:12 +0000 (20:01 +0900)]
Plugin::DiscussionHelper: fix warning

6 years agoimplement tag (topics) list page
hylom [Wed, 31 Jan 2018 10:52:37 +0000 (19:52 +0900)]
implement tag (topics) list page

6 years agoModel::Firehose: fix select() make invalid SQL where clause when tagname given
hylom [Wed, 31 Jan 2018 09:36:18 +0000 (18:36 +0900)]
Model::Firehose: fix select() make invalid SQL where clause when tagname given

6 years agoWeb::Controller::API::Submission: fix warnings
hylom [Wed, 31 Jan 2018 09:35:59 +0000 (18:35 +0900)]
Web::Controller::API::Submission: fix warnings

6 years agoWeb::Controller::Story: fix typo
hylom [Wed, 31 Jan 2018 09:35:43 +0000 (18:35 +0900)]
Web::Controller::Story: fix typo

6 years ago/tag/ page supports to show submissions/journals
hylom [Tue, 30 Jan 2018 11:30:35 +0000 (20:30 +0900)]
/tag/ page supports to show submissions/journals

6 years ago * Model::Firehose: fix select() to more quick query
hylom [Tue, 30 Jan 2018 11:29:42 +0000 (20:29 +0900)]
 * Model::Firehose: fix select() to more quick query

6 years agochange 'page' object to set values in each Controllers
hylom [Tue, 30 Jan 2018 11:28:19 +0000 (20:28 +0900)]
change 'page' object to set values in each Controllers

6 years ago * t/dom_test/domtest.t: now check id values
hylom [Mon, 29 Jan 2018 16:02:51 +0000 (01:02 +0900)]
 * t/dom_test/domtest.t: now check id values

6 years agotempplate: fix problem that some js variable not set correctly
hylom [Mon, 29 Jan 2018 16:01:43 +0000 (01:01 +0900)]
tempplate: fix problem that some js variable not set correctly

6 years agoWeb::Controller::Timeline: pupular() now works correctly when period not given
hylom [Mon, 29 Jan 2018 16:00:53 +0000 (01:00 +0900)]
Web::Controller::Timeline: pupular() now works correctly when period not given

6 years agoModel::Timeline: _select_tags() return correctly when blank items given
hylom [Mon, 29 Jan 2018 10:05:22 +0000 (19:05 +0900)]
Model::Timeline: _select_tags() return correctly when blank items given

6 years agoWeb::Controller::SiteConfig: fix to encode result
hylom [Mon, 29 Jan 2018 10:04:51 +0000 (19:04 +0900)]
Web::Controller::SiteConfig: fix to encode result

6 years agoUtil::DOMTestRunner: start_daemon() check app options
hylom [Mon, 29 Jan 2018 10:04:19 +0000 (19:04 +0900)]
Util::DOMTestRunner: start_daemon() check app options

6 years agoUtil::DOMTestRunner: support domtest_finish_timeout option and test() now take $test_...
hylom [Fri, 26 Jan 2018 12:34:11 +0000 (21:34 +0900)]
Util::DOMTestRunner: support domtest_finish_timeout option and test() now take $test_name parameter

6 years agot/domtest: add finishTimeout parameter todomtest server and show error detail more...
hylom [Fri, 26 Jan 2018 12:32:54 +0000 (21:32 +0900)]
t/domtest: add finishTimeout parameter todomtest server and show error detail more vorbose

6 years agoTemplate::Plugin::DateTimeFormatter: mysql_to_user() returns undef when invalid ...
hylom [Fri, 26 Jan 2018 11:01:50 +0000 (20:01 +0900)]
Template::Plugin::DateTimeFormatter: mysql_to_user() returns undef when invalid $mysql_string given

6 years agot: update dom_test/domtest.t
hylom [Thu, 25 Jan 2018 14:26:20 +0000 (23:26 +0900)]
t: update dom_test/domtest.t

6 years agot/dom_test: add domtest_cli.js, and fix domtest.js
hylom [Thu, 25 Jan 2018 14:25:00 +0000 (23:25 +0900)]
t/dom_test: add domtest_cli.js, and fix domtest.js

6 years agot: dom_test/domtest.js: enable to process ignoreMessages option
hylom [Thu, 25 Jan 2018 12:43:47 +0000 (21:43 +0900)]
t: dom_test/domtest.js: enable to process ignoreMessages option

6 years agot: domtest/app.js: fix commandline option parser
hylom [Thu, 25 Jan 2018 12:43:17 +0000 (21:43 +0900)]
t: domtest/app.js: fix commandline option parser

6 years agoUtil::DOMTestRunner: constructor now accept options
hylom [Thu, 25 Jan 2018 12:42:45 +0000 (21:42 +0900)]
Util::DOMTestRunner: constructor now accept options

6 years agot: implement DOMTestRunner and domtest
hylom [Wed, 24 Jan 2018 12:27:09 +0000 (21:27 +0900)]
t: implement DOMTestRunner and domtest

6 years agot: implement domtest server
hylom [Tue, 23 Jan 2018 10:36:39 +0000 (19:36 +0900)]
t: implement domtest server

6 years agoupdate .gitignore
hylom [Mon, 22 Jan 2018 13:35:45 +0000 (22:35 +0900)]
update .gitignore

6 years agot: add dom_test
hylom [Mon, 22 Jan 2018 13:35:29 +0000 (22:35 +0900)]
t: add dom_test

6 years agosuppress vuejs warning message
hylom [Mon, 22 Jan 2018 13:33:33 +0000 (22:33 +0900)]
suppress vuejs warning message

6 years agoWeb::Controller::SiteConfig: remove unwanted log
hylom [Mon, 22 Jan 2018 12:02:25 +0000 (21:02 +0900)]
Web::Controller::SiteConfig: remove unwanted log

6 years agot: fix plugin test to pass cache related test under test_mode
hylom [Mon, 22 Jan 2018 11:58:27 +0000 (20:58 +0900)]
t: fix plugin test to pass cache related test under test_mode

6 years agomove /siteconfig.js to /siteconfig/:epoch/siteconfig.js
hylom [Fri, 19 Jan 2018 14:04:36 +0000 (23:04 +0900)]
move /siteconfig.js to /siteconfig/:epoch/siteconfig.js

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