OSDN Git Service

newslash/newslash.git
6 years agons_search: add TermQuery class
hylom [Wed, 28 Feb 2018 10:51:58 +0000 (19:51 +0900)]
ns_search: add TermQuery class

6 years agons_search: use StandardQueryParser instead of classic QueryParser
hylom [Wed, 28 Feb 2018 10:30:56 +0000 (19:30 +0900)]
ns_search: use StandardQueryParser instead of classic QueryParser

6 years agons_search: integrate query_sample_index.py to ns_search_cli.py
hylom [Wed, 28 Feb 2018 10:30:30 +0000 (19:30 +0900)]
ns_search: integrate query_sample_index.py to ns_search_cli.py

6 years ago * Web::Controller::Search: more vorbose error handling
hylom [Tue, 27 Feb 2018 12:49:37 +0000 (21:49 +0900)]
 * Web::Controller::Search: more vorbose error handling

6 years agons_search: handling query parser error
hylom [Tue, 27 Feb 2018 12:49:04 +0000 (21:49 +0900)]
ns_search: handling query parser error

6 years ago * template:search/search: quote some invalid chars
hylom [Tue, 27 Feb 2018 12:48:02 +0000 (21:48 +0900)]
 * template:search/search: quote some invalid chars

6 years agotest-container: fix ns_searchd related files
hylom [Tue, 27 Feb 2018 09:12:32 +0000 (18:12 +0900)]
test-container: fix ns_searchd related files

6 years agons_seach: add '--index-dir' argument to ns_seachd
hylom [Tue, 27 Feb 2018 09:11:39 +0000 (18:11 +0900)]
ns_seach: add '--index-dir' argument to ns_seachd

6 years agotest-container: create ns_searchd related files
hylom [Mon, 26 Feb 2018 10:46:22 +0000 (19:46 +0900)]
test-container: create ns_searchd related files

6 years agons_search: strip tags and add URL information when create_sample_index create index
hylom [Mon, 26 Feb 2018 10:45:24 +0000 (19:45 +0900)]
ns_search: strip tags and add URL information when create_sample_index create index

6 years agoimplement /search page
hylom [Fri, 23 Feb 2018 12:16:37 +0000 (21:16 +0900)]
implement /search page

6 years agocss: fix bootstrap to use '.sr-only'
hylom [Fri, 23 Feb 2018 12:15:01 +0000 (21:15 +0900)]
css: fix bootstrap to use '.sr-only'

6 years agocss: fix to show motd correctly
hylom [Fri, 23 Feb 2018 12:14:37 +0000 (21:14 +0900)]
css: fix to show motd correctly

6 years agons_search: add item.type to search result
hylom [Fri, 23 Feb 2018 12:14:04 +0000 (21:14 +0900)]
ns_search: add item.type to search result

6 years agons_search: add /admin path to newslash_searchd
hylom [Fri, 23 Feb 2018 10:04:38 +0000 (19:04 +0900)]
ns_search: add /admin path to newslash_searchd

6 years agons_search: fix unicode handling error in lucene_wrapper
hylom [Thu, 22 Feb 2018 12:19:14 +0000 (21:19 +0900)]
ns_search: fix unicode handling error in lucene_wrapper

6 years agons_search: update sample code
hylom [Thu, 22 Feb 2018 12:18:39 +0000 (21:18 +0900)]
ns_search: update sample code

6 years ago * src/ns_search/newslash_db/__init__.py: add author information
hylom [Thu, 22 Feb 2018 12:18:17 +0000 (21:18 +0900)]
 * src/ns_search/newslash_db/__init__.py: add author information

6 years agotest-container: update run.sh to open 6000/tcp port
hylom [Thu, 22 Feb 2018 12:17:13 +0000 (21:17 +0900)]
test-container: update run.sh to open 6000/tcp port

6 years agons_search: create 'newslash_searchd' module
hylom [Thu, 22 Feb 2018 12:16:54 +0000 (21:16 +0900)]
ns_search: create 'newslash_searchd' module

6 years agons_search: add testcode
hylom [Wed, 21 Feb 2018 12:17:22 +0000 (21:17 +0900)]
ns_search: add testcode

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