OSDN Git Service
hylom [Fri, 31 Mar 2017 11:15:43 +0000 (20:15 +0900)]
Util::Test: create_admin_user() now take passwd argument
hylom [Fri, 31 Mar 2017 11:11:13 +0000 (20:11 +0900)]
t: add api/moderation.t
hylom [Fri, 31 Mar 2017 11:10:39 +0000 (20:10 +0900)]
Util::Test: create_user can take passwd argument
hylom [Fri, 31 Mar 2017 11:10:02 +0000 (20:10 +0900)]
Model::Journals: fix warnings
hylom [Fri, 31 Mar 2017 11:09:17 +0000 (20:09 +0900)]
t: remove api.t
hylom [Fri, 31 Mar 2017 11:08:32 +0000 (20:08 +0900)]
t: devide api.t to api/{comment|story|submission}.t
hylom [Fri, 31 Mar 2017 10:37:07 +0000 (19:37 +0900)]
t: fix warnings in models/events.t
hylom [Fri, 31 Mar 2017 10:32:45 +0000 (19:32 +0900)]
t: delete models/people.t
hylom [Fri, 31 Mar 2017 10:32:28 +0000 (19:32 +0900)]
t: merge models/people.t to models/relations.t
hylom [Thu, 30 Mar 2017 13:04:07 +0000 (22:04 +0900)]
t: add relations.t, stories.t, submissions.t to models/
hylom [Thu, 30 Mar 2017 13:03:30 +0000 (22:03 +0900)]
t: rewrite model/users.t
hylom [Thu, 30 Mar 2017 13:02:53 +0000 (22:02 +0900)]
Model::Users: create random password when password not given in create()
hylom [Thu, 30 Mar 2017 13:02:12 +0000 (22:02 +0900)]
Model::Submissions: add fullhost_to_domain() and hard_delete()
hylom [Thu, 30 Mar 2017 13:01:44 +0000 (22:01 +0900)]
Model::Submissions: fix update() to work correctly
hylom [Thu, 30 Mar 2017 13:00:27 +0000 (22:00 +0900)]
Model::Submissions: now use submission_id and id parameter instead of subid in select()
hylom [Thu, 30 Mar 2017 12:11:21 +0000 (21:11 +0900)]
t: rewrite models/moderations.t, models/metamoderations.t
hylom [Thu, 30 Mar 2017 12:08:24 +0000 (21:08 +0900)]
Util::Test: add create_admin_user()
hylom [Thu, 30 Mar 2017 12:08:01 +0000 (21:08 +0900)]
Model::Moderations: rollback when error occured in create()
hylom [Thu, 30 Mar 2017 12:06:44 +0000 (21:06 +0900)]
Model::Comments: fix select() occurs error when multiple condition given
hylom [Thu, 30 Mar 2017 12:05:38 +0000 (21:05 +0900)]
Model::Base: fix rollback() clear errors
hylom [Wed, 29 Mar 2017 10:53:39 +0000 (19:53 +0900)]
Util::Test: add create_users(), create_comment(), create_comments(), get_anonymous_user()
hylom [Wed, 29 Mar 2017 10:22:53 +0000 (19:22 +0900)]
t: fix models/messages.t
hylom [Wed, 29 Mar 2017 10:22:27 +0000 (19:22 +0900)]
t: update models/journals.t test to remove diag()
hylom [Wed, 29 Mar 2017 10:12:31 +0000 (19:12 +0900)]
t: add models/discussions/t
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()
hylom [Tue, 28 Mar 2017 16:07:28 +0000 (01:07 +0900)]
utils/db_scripts: add sqls
hylom [Tue, 28 Mar 2017 16:06:21 +0000 (01:06 +0900)]
t: models/comment.t: fix to work
hylom [Tue, 28 Mar 2017 16:05:50 +0000 (01:05 +0900)]
t: api/relation: now use Newslash::Util::Test
hylom [Tue, 28 Mar 2017 16:04:52 +0000 (01:04 +0900)]
Util::Test: fix create_user to work
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()
hylom [Tue, 28 Mar 2017 16:01:37 +0000 (01:01 +0900)]
Model::Users: rename random_password() to generate_random_password()
hylom [Tue, 28 Mar 2017 16:00:35 +0000 (01:00 +0900)]
Model::Stories: now works hard_delete()
hylom [Tue, 28 Mar 2017 16:00:14 +0000 (01:00 +0900)]
Model::Stories: fix some warnings and add alias story->{discussiond_id}
hylom [Tue, 28 Mar 2017 15:58:13 +0000 (00:58 +0900)]
Model::Stories: now create() returns stoid
hylom [Tue, 28 Mar 2017 15:56:46 +0000 (00:56 +0900)]
Model::Stories: add error checks and fix warning to create()
hylom [Tue, 28 Mar 2017 15:54:21 +0000 (00:54 +0900)]
Model::SlashDB: createStory() returns (sid, stoid) when array context
hylom [Tue, 28 Mar 2017 15:53:26 +0000 (00:53 +0900)]
Model::Comments: fix update() cannot work when $param->{points} is SCALAR
hylom [Tue, 28 Mar 2017 15:51:59 +0000 (00:51 +0900)]
Model::Comments: add hard_delete()
hylom [Fri, 24 Mar 2017 11:02:55 +0000 (20:02 +0900)]
Model::Boxes: select() now can take name parameter
hylom [Fri, 24 Mar 2017 11:02:09 +0000 (20:02 +0900)]
Util: create Util::Test test utilities
hylom [Fri, 24 Mar 2017 10:42:00 +0000 (19:42 +0900)]
t: add models/boxes.t
hylom [Thu, 23 Mar 2017 12:51:32 +0000 (21:51 +0900)]
Model::Comments: fix a problem select() can returns up to 10 results
hylom [Thu, 23 Mar 2017 12:40:36 +0000 (21:40 +0900)]
Web: implement /comments, /submissions
hylom [Thu, 23 Mar 2017 12:40:04 +0000 (21:40 +0900)]
Model::Submissions: now select() can use for latest submissions
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
hylom [Thu, 23 Mar 2017 12:25:26 +0000 (21:25 +0900)]
Model::Comments: select() now can take 'order_by' parameter
hylom [Thu, 23 Mar 2017 12:24:37 +0000 (21:24 +0900)]
Model::Base: now build_orderby_clause() supports alias
hylom [Thu, 23 Mar 2017 11:47:19 +0000 (20:47 +0900)]
Model::journals: fix SQL in latest()
hylom [Thu, 23 Mar 2017 11:38:35 +0000 (20:38 +0900)]
Web: implement /recent
hylom [Thu, 23 Mar 2017 11:38:13 +0000 (20:38 +0900)]
Model::Timeline: add _select_global()
hylom [Thu, 23 Mar 2017 11:22:34 +0000 (20:22 +0900)]
Plugin::AccessLog::LocalFile: fix autoflush parameter's bug
hylom [Thu, 23 Mar 2017 11:04:16 +0000 (20:04 +0900)]
css: fix admin menu's submenu not shown, and folded comment style
hylom [Thu, 23 Mar 2017 11:03:30 +0000 (20:03 +0900)]
template: fix indent
hylom [Thu, 23 Mar 2017 11:03:00 +0000 (20:03 +0900)]
js:comments.js fix to render comment correctly
hylom [Thu, 23 Mar 2017 10:29:55 +0000 (19:29 +0900)]
Plugin: AccessLog::LocalFile: change autoflush parameter's behaviour
hylom [Thu, 23 Mar 2017 10:28:49 +0000 (19:28 +0900)]
Web: add Log.level config option
hylom [Thu, 23 Mar 2017 10:28:13 +0000 (19:28 +0900)]
Web: fix problem when Log parameter not given in config file
hylom [Thu, 23 Mar 2017 09:43:30 +0000 (18:43 +0900)]
debian: create /var/log/newslash in newslash-core.postinst
hylom [Thu, 23 Mar 2017 09:38:17 +0000 (18:38 +0900)]
debian: fix typo in rules
hylom [Wed, 22 Mar 2017 10:54:06 +0000 (19:54 +0900)]
template: fix site header
hylom [Tue, 21 Mar 2017 12:37:46 +0000 (21:37 +0900)]
debian: update rules to create log directory
hylom [Tue, 21 Mar 2017 12:32:24 +0000 (21:32 +0900)]
Plugins: add AccessLog plugin
hylom [Tue, 21 Mar 2017 10:17:01 +0000 (19:17 +0900)]
Web: change default config file format from json to yaml
hylom [Fri, 17 Mar 2017 13:12:25 +0000 (22:12 +0900)]
Web: add archive page (initial support)
hylom [Fri, 17 Mar 2017 13:12:01 +0000 (22:12 +0900)]
Model::Stories: select() now take arguments: year, month, day
hylom [Fri, 17 Mar 2017 12:38:50 +0000 (21:38 +0900)]
template: fix template direcory structure
hylom [Fri, 17 Mar 2017 12:37:50 +0000 (21:37 +0900)]
Web: add comments
hylom [Fri, 17 Mar 2017 12:17:27 +0000 (21:17 +0900)]
template: unify some vue.js related parameter to 'x-template'
hylom [Fri, 17 Mar 2017 12:04:51 +0000 (21:04 +0900)]
template: rename common/layout parameters; sidebar -> enable_sidebar, vue -> enable_vuejs
hylom [Fri, 17 Mar 2017 11:46:59 +0000 (20:46 +0900)]
template: fix submission_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
hylom [Fri, 17 Mar 2017 11:25:22 +0000 (20:25 +0900)]
js: fix comments.js to reduce vue.js warnings
hylom [Fri, 17 Mar 2017 11:23:09 +0000 (20:23 +0900)]
Model::Comments: fix select order to show comment tree correctly
hylom [Fri, 17 Mar 2017 09:57:16 +0000 (18:57 +0900)]
js: fix comments.js and related tempalte to fix vue.js warnings
hylom [Fri, 17 Mar 2017 09:21:11 +0000 (18:21 +0900)]
template: move comment related templates to comment/ directory
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
hylom [Thu, 16 Mar 2017 11:22:13 +0000 (20:22 +0900)]
debian: update newslash-sradjp.postinst to not start daemon automatically
hylom [Thu, 16 Mar 2017 11:19:25 +0000 (20:19 +0900)]
misc: update newslash.service
hylom [Thu, 16 Mar 2017 11:14:24 +0000 (20:14 +0900)]
debian: add dependency on libyaml-perl
hylom [Thu, 16 Mar 2017 11:10:53 +0000 (20:10 +0900)]
Web: use /etc/newslash/newslash.conf only production mode
hylom [Thu, 16 Mar 2017 11:06:34 +0000 (20:06 +0900)]
debian: update rules, not include newslash_web.json
hylom [Thu, 16 Mar 2017 11:06:11 +0000 (20:06 +0900)]
Web: fix config file path
hylom [Thu, 16 Mar 2017 10:51:48 +0000 (19:51 +0900)]
debian: update rules to add newslash_eventd
hylom [Thu, 16 Mar 2017 10:51:25 +0000 (19:51 +0900)]
Eventd: now read /etc/newslash.conf as config YAML file
hylom [Thu, 16 Mar 2017 10:47:56 +0000 (19:47 +0900)]
debian: add sample config file
hylom [Thu, 16 Mar 2017 10:14:26 +0000 (19:14 +0900)]
test-container: update Dockerfile
hylom [Thu, 16 Mar 2017 10:13:58 +0000 (19:13 +0900)]
Plugins: add YAMLConfig.pm
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
hylom [Thu, 16 Mar 2017 09:33:06 +0000 (18:33 +0900)]
Model::Base: add check_readonly()
hylom [Fri, 3 Mar 2017 10:37:51 +0000 (19:37 +0900)]
t: fix models/events.t testcase
hylom [Fri, 3 Mar 2017 10:37:17 +0000 (19:37 +0900)]
newslash_eventd: restructure eventd, separate handlers, and daemon
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
hylom [Fri, 3 Mar 2017 08:25:16 +0000 (17:25 +0900)]
Model::Events: add 'result' column to table
hylom [Thu, 2 Mar 2017 13:51:02 +0000 (22:51 +0900)]
template: add templates used from message
hylom [Thu, 2 Mar 2017 13:50:22 +0000 (22:50 +0900)]
js: fix some codes not working well in vuejs 2.x
hylom [Thu, 2 Mar 2017 13:49:38 +0000 (22:49 +0900)]
script/newslash_eventd: fix duplicate handler calling
hylom [Thu, 2 Mar 2017 13:48:28 +0000 (22:48 +0900)]
Eventd::BaseHander: fix journal_posted to work and add _inactivate_event()
hylom [Thu, 2 Mar 2017 13:46:38 +0000 (22:46 +0900)]
Model::WebMessages: create() now needs $id arguments
hylom [Thu, 2 Mar 2017 13:46:00 +0000 (22:46 +0900)]
Model::Messages: fix create() to use message_drop table
hylom [Thu, 2 Mar 2017 13:45:27 +0000 (22:45 +0900)]
Model::Journals: now select() can receive 'journal_id' parameter