OSDN Git Service

newslash/newslash.git
7 years agot: fix models/messages.t
hylom [Wed, 29 Mar 2017 10:22:53 +0000 (19:22 +0900)]
t: fix models/messages.t

7 years agot: update models/journals.t test to remove diag()
hylom [Wed, 29 Mar 2017 10:22:27 +0000 (19:22 +0900)]
t: update models/journals.t test to remove diag()

7 years agot: add models/discussions/t
hylom [Wed, 29 Mar 2017 10:12:31 +0000 (19:12 +0900)]
t: add models/discussions/t

7 years agoModel::Discussions: fix update() and now use 'discussion_id' parameter instead of...
hylom [Wed, 29 Mar 2017 10:12:13 +0000 (19:12 +0900)]
Model::Discussions: fix update() and now use 'discussion_id' parameter instead of 'id' in update()

7 years agoutils/db_scripts: add sqls
hylom [Tue, 28 Mar 2017 16:07:28 +0000 (01:07 +0900)]
utils/db_scripts: add sqls

7 years agot: models/comment.t: fix to work
hylom [Tue, 28 Mar 2017 16:06:21 +0000 (01:06 +0900)]
t: models/comment.t: fix to work

7 years agot: api/relation: now use Newslash::Util::Test
hylom [Tue, 28 Mar 2017 16:05:50 +0000 (01:05 +0900)]
t: api/relation: now use Newslash::Util::Test

7 years agoUtil::Test: fix create_user to work
hylom [Tue, 28 Mar 2017 16:04:52 +0000 (01:04 +0900)]
Util::Test: fix create_user to work

7 years agoModel::Users: create() now take passwd argument, and change error handling with set_e...
hylom [Tue, 28 Mar 2017 16:02:55 +0000 (01:02 +0900)]
Model::Users: create() now take passwd argument, and change error handling with set_error() in create()

7 years agoModel::Users: rename random_password() to generate_random_password()
hylom [Tue, 28 Mar 2017 16:01:37 +0000 (01:01 +0900)]
Model::Users: rename random_password() to generate_random_password()

7 years agoModel::Stories: now works hard_delete()
hylom [Tue, 28 Mar 2017 16:00:35 +0000 (01:00 +0900)]
Model::Stories: now works hard_delete()

7 years agoModel::Stories: fix some warnings and add alias story->{discussiond_id}
hylom [Tue, 28 Mar 2017 16:00:14 +0000 (01:00 +0900)]
Model::Stories: fix some warnings and add alias story->{discussiond_id}

7 years agoModel::Stories: now create() returns stoid
hylom [Tue, 28 Mar 2017 15:58:13 +0000 (00:58 +0900)]
Model::Stories: now create() returns stoid

7 years agoModel::Stories: add error checks and fix warning to create()
hylom [Tue, 28 Mar 2017 15:56:46 +0000 (00:56 +0900)]
Model::Stories: add error checks and fix warning to create()

7 years agoModel::SlashDB: createStory() returns (sid, stoid) when array context
hylom [Tue, 28 Mar 2017 15:54:21 +0000 (00:54 +0900)]
Model::SlashDB: createStory() returns (sid, stoid) when array context

7 years agoModel::Comments: fix update() cannot work when $param->{points} is SCALAR
hylom [Tue, 28 Mar 2017 15:53:26 +0000 (00:53 +0900)]
Model::Comments: fix update() cannot work when $param->{points} is SCALAR

7 years agoModel::Comments: add hard_delete()
hylom [Tue, 28 Mar 2017 15:51:59 +0000 (00:51 +0900)]
Model::Comments: add hard_delete()

7 years agoModel::Boxes: select() now can take name parameter
hylom [Fri, 24 Mar 2017 11:02:55 +0000 (20:02 +0900)]
Model::Boxes: select() now can take name parameter

7 years agoUtil: create Util::Test test utilities
hylom [Fri, 24 Mar 2017 11:02:09 +0000 (20:02 +0900)]
Util: create Util::Test test utilities

7 years agot: add models/boxes.t
hylom [Fri, 24 Mar 2017 10:42:00 +0000 (19:42 +0900)]
t: add models/boxes.t

7 years agoModel::Comments: fix a problem select() can returns up to 10 results
hylom [Thu, 23 Mar 2017 12:51:32 +0000 (21:51 +0900)]
Model::Comments: fix a problem select() can returns up to 10 results

7 years agoWeb: implement /comments, /submissions
hylom [Thu, 23 Mar 2017 12:40:36 +0000 (21:40 +0900)]
Web: implement /comments, /submissions

7 years agoModel::Submissions: now select() can use for latest submissions
hylom [Thu, 23 Mar 2017 12:40:04 +0000 (21:40 +0900)]
Model::Submissions: now select() can use for latest submissions

7 years agoModel::Comments: fix limit/orderby order in select() and add fallback for limit value
hylom [Thu, 23 Mar 2017 12:36:51 +0000 (21:36 +0900)]
Model::Comments: fix limit/orderby order in select() and add fallback for limit value

7 years agoModel::Comments: select() now can take 'order_by' parameter
hylom [Thu, 23 Mar 2017 12:25:26 +0000 (21:25 +0900)]
Model::Comments: select() now can take 'order_by' parameter

7 years agoModel::Base: now build_orderby_clause() supports alias
hylom [Thu, 23 Mar 2017 12:24:37 +0000 (21:24 +0900)]
Model::Base: now build_orderby_clause() supports alias

7 years agoModel::journals: fix SQL in latest()
hylom [Thu, 23 Mar 2017 11:47:19 +0000 (20:47 +0900)]
Model::journals: fix SQL in latest()

7 years agoWeb: implement /recent
hylom [Thu, 23 Mar 2017 11:38:35 +0000 (20:38 +0900)]
Web: implement /recent

7 years agoModel::Timeline: add _select_global()
hylom [Thu, 23 Mar 2017 11:38:13 +0000 (20:38 +0900)]
Model::Timeline: add _select_global()

7 years agoPlugin::AccessLog::LocalFile: fix autoflush parameter's bug
hylom [Thu, 23 Mar 2017 11:22:34 +0000 (20:22 +0900)]
Plugin::AccessLog::LocalFile: fix autoflush parameter's bug

7 years agocss: fix admin menu's submenu not shown, and folded comment style
hylom [Thu, 23 Mar 2017 11:04:16 +0000 (20:04 +0900)]
css: fix admin menu's submenu not shown, and folded comment style

7 years agotemplate: fix indent
hylom [Thu, 23 Mar 2017 11:03:30 +0000 (20:03 +0900)]
template: fix indent

7 years agojs:comments.js fix to render comment correctly
hylom [Thu, 23 Mar 2017 11:03:00 +0000 (20:03 +0900)]
js:comments.js fix to render comment correctly

7 years agoPlugin: AccessLog::LocalFile: change autoflush parameter's behaviour
hylom [Thu, 23 Mar 2017 10:29:55 +0000 (19:29 +0900)]
Plugin: AccessLog::LocalFile: change autoflush parameter's behaviour

7 years agoWeb: add Log.level config option
hylom [Thu, 23 Mar 2017 10:28:49 +0000 (19:28 +0900)]
Web: add Log.level config option

7 years agoWeb: fix problem when Log parameter not given in config file
hylom [Thu, 23 Mar 2017 10:28:13 +0000 (19:28 +0900)]
Web: fix problem when Log parameter not given in config file

7 years agodebian: create /var/log/newslash in newslash-core.postinst
hylom [Thu, 23 Mar 2017 09:43:30 +0000 (18:43 +0900)]
debian: create /var/log/newslash in newslash-core.postinst

7 years agodebian: fix typo in rules
hylom [Thu, 23 Mar 2017 09:38:17 +0000 (18:38 +0900)]
debian: fix typo in rules

7 years agotemplate: fix site header
hylom [Wed, 22 Mar 2017 10:54:06 +0000 (19:54 +0900)]
template: fix site header

7 years agodebian: update rules to create log directory
hylom [Tue, 21 Mar 2017 12:37:46 +0000 (21:37 +0900)]
debian: update rules to create log directory

7 years agoPlugins: add AccessLog plugin
hylom [Tue, 21 Mar 2017 12:32:24 +0000 (21:32 +0900)]
Plugins: add AccessLog plugin

7 years agoWeb: change default config file format from json to yaml
hylom [Tue, 21 Mar 2017 10:17:01 +0000 (19:17 +0900)]
Web: change default config file format from json to yaml

7 years agoWeb: add archive page (initial support)
hylom [Fri, 17 Mar 2017 13:12:25 +0000 (22:12 +0900)]
Web: add archive page (initial support)

7 years agoModel::Stories: select() now take arguments: year, month, day
hylom [Fri, 17 Mar 2017 13:12:01 +0000 (22:12 +0900)]
Model::Stories: select() now take arguments: year, month, day

7 years agotemplate: fix template direcory structure
hylom [Fri, 17 Mar 2017 12:38:50 +0000 (21:38 +0900)]
template: fix template direcory structure

7 years agoWeb: add comments
hylom [Fri, 17 Mar 2017 12:37:50 +0000 (21:37 +0900)]
Web: add comments

7 years agotemplate: unify some vue.js related parameter to 'x-template'
hylom [Fri, 17 Mar 2017 12:17:27 +0000 (21:17 +0900)]
template: unify some vue.js related parameter to 'x-template'

7 years agotemplate: rename common/layout parameters; sidebar -> enable_sidebar, vue -> enable_vuejs
hylom [Fri, 17 Mar 2017 12:04:51 +0000 (21:04 +0900)]
template: rename common/layout parameters; sidebar -> enable_sidebar, vue -> enable_vuejs

7 years agotemplate: fix submission_editor related template and js to reduce vuejs warnings
hylom [Fri, 17 Mar 2017 11:46:59 +0000 (20:46 +0900)]
template: fix submission_editor related template and js to reduce vuejs warnings

7 years agotemplate: fix journal_editor related template and js to reduce vuejs warnings
hylom [Fri, 17 Mar 2017 11:42:08 +0000 (20:42 +0900)]
template: fix journal_editor related template and js to reduce vuejs warnings

7 years agojs: fix comments.js to reduce vue.js warnings
hylom [Fri, 17 Mar 2017 11:25:22 +0000 (20:25 +0900)]
js: fix comments.js to reduce vue.js warnings

7 years agoModel::Comments: fix select order to show comment tree correctly
hylom [Fri, 17 Mar 2017 11:23:09 +0000 (20:23 +0900)]
Model::Comments: fix select order to show comment tree correctly

7 years agojs: fix comments.js and related tempalte to fix vue.js warnings
hylom [Fri, 17 Mar 2017 09:57:16 +0000 (18:57 +0900)]
js: fix comments.js and related tempalte to fix vue.js warnings

7 years agotemplate: move comment related templates to comment/ directory
hylom [Fri, 17 Mar 2017 09:21:11 +0000 (18:21 +0900)]
template: move comment related templates to comment/ directory

7 years agodebian: create pid file directory in postinst, and add robots.txt to sradjp-assets
hylom [Fri, 17 Mar 2017 08:42:10 +0000 (17:42 +0900)]
debian: create pid file directory in postinst, and add robots.txt to sradjp-assets

7 years agodebian: update newslash-sradjp.postinst to not start daemon automatically
hylom [Thu, 16 Mar 2017 11:22:13 +0000 (20:22 +0900)]
debian: update newslash-sradjp.postinst to not start daemon automatically

7 years agomisc: update newslash.service
hylom [Thu, 16 Mar 2017 11:19:25 +0000 (20:19 +0900)]
misc: update newslash.service

7 years agodebian: add dependency on libyaml-perl
hylom [Thu, 16 Mar 2017 11:14:24 +0000 (20:14 +0900)]
debian: add dependency on libyaml-perl

7 years agoWeb: use /etc/newslash/newslash.conf only production mode
hylom [Thu, 16 Mar 2017 11:10:53 +0000 (20:10 +0900)]
Web: use /etc/newslash/newslash.conf only production mode

7 years agodebian: update rules, not include newslash_web.json
hylom [Thu, 16 Mar 2017 11:06:34 +0000 (20:06 +0900)]
debian: update rules, not include newslash_web.json

7 years agoWeb: fix config file path
hylom [Thu, 16 Mar 2017 11:06:11 +0000 (20:06 +0900)]
Web: fix config file path

7 years agodebian: update rules to add newslash_eventd
hylom [Thu, 16 Mar 2017 10:51:48 +0000 (19:51 +0900)]
debian: update rules to add newslash_eventd

7 years agoEventd: now read /etc/newslash.conf as config YAML file
hylom [Thu, 16 Mar 2017 10:51:25 +0000 (19:51 +0900)]
Eventd: now read /etc/newslash.conf as config YAML file

7 years agodebian: add sample config file
hylom [Thu, 16 Mar 2017 10:47:56 +0000 (19:47 +0900)]
debian: add sample config file

7 years agotest-container: update Dockerfile
hylom [Thu, 16 Mar 2017 10:14:26 +0000 (19:14 +0900)]
test-container: update Dockerfile

7 years agoPlugins: add YAMLConfig.pm
hylom [Thu, 16 Mar 2017 10:13:58 +0000 (19:13 +0900)]
Plugins: add YAMLConfig.pm

7 years agoModel: add checking code with check_readonly() to methods execute insert/update/delete
hylom [Thu, 16 Mar 2017 09:34:12 +0000 (18:34 +0900)]
Model: add checking code with check_readonly() to methods execute insert/update/delete

7 years agoModel::Base: add check_readonly()
hylom [Thu, 16 Mar 2017 09:33:06 +0000 (18:33 +0900)]
Model::Base: add check_readonly()

7 years agot: fix models/events.t testcase
hylom [Fri, 3 Mar 2017 10:37:51 +0000 (19:37 +0900)]
t: fix models/events.t testcase

7 years agonewslash_eventd: restructure eventd, separate handlers, and daemon
hylom [Fri, 3 Mar 2017 10:37:17 +0000 (19:37 +0900)]
newslash_eventd: restructure eventd, separate handlers, and daemon

7 years agoEventd: rename BaseHandler to Handler and remove some functions not to need as base...
hylom [Fri, 3 Mar 2017 09:42:50 +0000 (18:42 +0900)]
Eventd: rename BaseHandler to Handler and remove some functions not to need as base class

7 years agoModel::Events: add 'result' column to table
hylom [Fri, 3 Mar 2017 08:25:16 +0000 (17:25 +0900)]
Model::Events: add 'result' column to table

7 years agotemplate: add templates used from message
hylom [Thu, 2 Mar 2017 13:51:02 +0000 (22:51 +0900)]
template: add templates used from message

7 years agojs: fix some codes not working well in vuejs 2.x
hylom [Thu, 2 Mar 2017 13:50:22 +0000 (22:50 +0900)]
js: fix some codes not working well in vuejs 2.x

7 years agoscript/newslash_eventd: fix duplicate handler calling
hylom [Thu, 2 Mar 2017 13:49:38 +0000 (22:49 +0900)]
script/newslash_eventd: fix duplicate handler calling

7 years agoEventd::BaseHander: fix journal_posted to work and add _inactivate_event()
hylom [Thu, 2 Mar 2017 13:48:28 +0000 (22:48 +0900)]
Eventd::BaseHander: fix journal_posted to work and add _inactivate_event()

7 years agoModel::WebMessages: create() now needs $id arguments
hylom [Thu, 2 Mar 2017 13:46:38 +0000 (22:46 +0900)]
Model::WebMessages: create() now needs $id arguments

7 years agoModel::Messages: fix create() to use message_drop table
hylom [Thu, 2 Mar 2017 13:46:00 +0000 (22:46 +0900)]
Model::Messages: fix create() to use message_drop table

7 years agoModel::Journals: now select() can receive 'journal_id' parameter
hylom [Thu, 2 Mar 2017 13:45:27 +0000 (22:45 +0900)]
Model::Journals: now select() can receive 'journal_id' parameter

7 years agoModel::Events: add update() and type column name
hylom [Thu, 2 Mar 2017 10:39:18 +0000 (19:39 +0900)]
Model::Events: add update() and type column name

7 years agoModel::Base: fix generic_select() and build_where_clause to return valid value when...
hylom [Thu, 2 Mar 2017 10:38:29 +0000 (19:38 +0900)]
Model::Base: fix generic_select() and build_where_clause to return valid value when where clause given

7 years agoEventd: implement experimental codes
hylom [Wed, 1 Mar 2017 13:08:04 +0000 (22:08 +0900)]
Eventd: implement experimental codes

7 years agoModel::Events: add fetch()
hylom [Wed, 1 Mar 2017 13:07:11 +0000 (22:07 +0900)]
Model::Events: add fetch()

7 years agoPlugin::TT2Renderer: separate render code to render(), add last_error(), and register...
hylom [Wed, 1 Mar 2017 13:06:49 +0000 (22:06 +0900)]
Plugin::TT2Renderer: separate render code to render(), add last_error(), and register helper function

7 years agoModel::WebMessages: add create()
hylom [Wed, 1 Mar 2017 11:20:40 +0000 (20:20 +0900)]
Model::WebMessages: add create()

7 years agoModel::Messages: add create()
hylom [Wed, 1 Mar 2017 11:20:35 +0000 (20:20 +0900)]
Model::Messages: add create()

7 years agotemplate: add message settings to user/settings
hylom [Tue, 28 Feb 2017 13:22:02 +0000 (22:22 +0900)]
template: add message settings to user/settings

7 years agotemplate: add my/mesasge
hylom [Tue, 28 Feb 2017 13:21:23 +0000 (22:21 +0900)]
template: add my/mesasge

7 years agotemplate: use debug version vue.js when mode is not production
hylom [Tue, 28 Feb 2017 13:20:56 +0000 (22:20 +0900)]
template: use debug version vue.js when mode is not production

7 years agotemplate: fix common/comment to work with vue 2.x
hylom [Tue, 28 Feb 2017 13:20:14 +0000 (22:20 +0900)]
template: fix common/comment to work with vue 2.x

7 years agopublic/vue: add debug version .js files
hylom [Tue, 28 Feb 2017 13:18:40 +0000 (22:18 +0900)]
public/vue: add debug version .js files

7 years agopublic/vue: update vue.min.js version to 2.2, vue-resource.min.js to 1.2
hylom [Tue, 28 Feb 2017 13:18:11 +0000 (22:18 +0900)]
public/vue: update vue.min.js version to 2.2, vue-resource.min.js to 1.2

7 years agoPlugin::EventQue: change trap target events
hylom [Tue, 28 Feb 2017 13:16:12 +0000 (22:16 +0900)]
Plugin::EventQue: change trap target events

7 years agoModel::Messages: rename 'is_selectable' column to 'selectable_mode' in ns_message_typ...
hylom [Tue, 28 Feb 2017 13:15:01 +0000 (22:15 +0900)]
Model::Messages: rename 'is_selectable' column to 'selectable_mode' in ns_message_types table

7 years agoModel::Users: add update_message_config() and message related settings parameter...
hylom [Tue, 28 Feb 2017 13:11:58 +0000 (22:11 +0900)]
Model::Users: add update_message_config() and message related settings parameter support to update_config()

7 years agoModel::Metamoderations: fix create () to work
hylom [Tue, 28 Feb 2017 13:10:12 +0000 (22:10 +0900)]
Model::Metamoderations: fix create () to work

7 years agoController::API::User: impelement message settings update
hylom [Tue, 28 Feb 2017 13:09:12 +0000 (22:09 +0900)]
Controller::API::User: impelement message settings update

7 years agoController::API::User: fix session cache update when user-config updated
hylom [Tue, 28 Feb 2017 13:08:15 +0000 (22:08 +0900)]
Controller::API::User: fix session cache update when user-config updated

7 years agoController::API: POST handlers now emit event
hylom [Tue, 28 Feb 2017 10:47:48 +0000 (19:47 +0900)]
Controller::API: POST handlers now emit event

7 years agoModel::Moderations: create() return moderation id
hylom [Tue, 28 Feb 2017 10:47:06 +0000 (19:47 +0900)]
Model::Moderations: create() return moderation id