OSDN Git Service

newslash/newslash.git
7 years agoModel::Stories: add update()
hylom [Thu, 27 Apr 2017 10:42:51 +0000 (19:42 +0900)]
Model::Stories: add update()

7 years agoModel::SlashDB: fix error in updateStory
hylom [Thu, 27 Apr 2017 10:41:10 +0000 (19:41 +0900)]
Model::SlashDB: fix error in updateStory

7 years agoModel::Stories: delete unused codes
hylom [Thu, 27 Apr 2017 10:01:03 +0000 (19:01 +0900)]
Model::Stories: delete unused codes

7 years agotemplate: fix timestamp in common/article/editor
hylom [Wed, 26 Apr 2017 10:51:06 +0000 (19:51 +0900)]
template: fix timestamp in common/article/editor

7 years agojs/base.js: fix nsUtil.formatDateTime and add decodeDateTime
hylom [Wed, 26 Apr 2017 10:49:25 +0000 (19:49 +0900)]
js/base.js: fix nsUtil.formatDateTime and add decodeDateTime

7 years agotemplate: support re-edit story
hylom [Wed, 26 Apr 2017 10:33:37 +0000 (19:33 +0900)]
template: support re-edit story

7 years agojs/article-item2.js: support re-edit
hylom [Wed, 26 Apr 2017 10:32:57 +0000 (19:32 +0900)]
js/article-item2.js: support re-edit

7 years agotemplate: fix some warnings in common/article/editor
hylom [Wed, 26 Apr 2017 10:31:43 +0000 (19:31 +0900)]
template: fix some warnings in common/article/editor

7 years agoController::Story: give authors parameter to template
hylom [Wed, 26 Apr 2017 10:30:34 +0000 (19:30 +0900)]
Controller::Story: give authors parameter to template

7 years agojs: add some properties to Contents in base.js
hylom [Wed, 26 Apr 2017 10:29:08 +0000 (19:29 +0900)]
js: add some properties to Contents in base.js

7 years agoWeb: implement GET for /api/v1/story
hylom [Tue, 25 Apr 2017 14:39:11 +0000 (23:39 +0900)]
Web: implement GET for /api/v1/story

7 years agotemplate: use <comment-tree> component in story/story
hylom [Tue, 25 Apr 2017 10:30:01 +0000 (19:30 +0900)]
template: use <comment-tree> component in story/story

7 years agotemplate: create <comment-tree> component and deprecate common/comment/comments template
hylom [Tue, 25 Apr 2017 10:28:47 +0000 (19:28 +0900)]
template: create <comment-tree> component and deprecate common/comment/comments template

7 years agotemplate: create page object for js in common/js_vars
hylom [Tue, 25 Apr 2017 10:27:25 +0000 (19:27 +0900)]
template: create page object for js in common/js_vars

7 years agoupdate .gitignore
hylom [Mon, 24 Apr 2017 11:12:33 +0000 (20:12 +0900)]
update .gitignore

7 years agotemplate: add tag-editor related files
hylom [Mon, 24 Apr 2017 11:09:50 +0000 (20:09 +0900)]
template: add tag-editor related files

7 years agoWeb: add topics data to siteconfig.js
hylom [Mon, 24 Apr 2017 10:51:36 +0000 (19:51 +0900)]
Web: add topics data to siteconfig.js

7 years agoUtil: add Util::Formatters
hylom [Mon, 24 Apr 2017 10:38:43 +0000 (19:38 +0900)]
Util: add Util::Formatters

7 years agotemplate: add common/siteconfig
hylom [Mon, 24 Apr 2017 10:38:07 +0000 (19:38 +0900)]
template: add common/siteconfig

7 years agoModel::Tags: add get_topics(), rename selet() to select_tagnames, and create test
hylom [Mon, 24 Apr 2017 10:37:05 +0000 (19:37 +0900)]
Model::Tags: add get_topics(), rename selet() to select_tagnames, and create test

7 years agoModel::Stories: remove unused warnings
hylom [Mon, 24 Apr 2017 10:35:43 +0000 (19:35 +0900)]
Model::Stories: remove unused warnings

7 years agoModel::Globjs: add get_gtid() and get_globjid_from_item()
hylom [Mon, 24 Apr 2017 10:34:58 +0000 (19:34 +0900)]
Model::Globjs: add get_gtid() and get_globjid_from_item()

7 years agoModel.pm: sort models list
hylom [Mon, 24 Apr 2017 10:34:25 +0000 (19:34 +0900)]
Model.pm: sort models list

7 years agotest-container: update Dockerfile
hylom [Fri, 21 Apr 2017 14:51:35 +0000 (23:51 +0900)]
test-container: update Dockerfile

7 years agotemplate: fix timestamp formatting
hylom [Fri, 21 Apr 2017 14:50:46 +0000 (23:50 +0900)]
template: fix timestamp formatting

7 years agojs: fix to work article-item2.js
hylom [Fri, 21 Apr 2017 14:49:11 +0000 (23:49 +0900)]
js: fix to work article-item2.js

7 years agojs: add nsUtil object to base.js
hylom [Fri, 21 Apr 2017 14:47:08 +0000 (23:47 +0900)]
js: add nsUtil object to base.js

7 years agotemplate: use /static/js/siteconfig.js
hylom [Fri, 21 Apr 2017 13:10:57 +0000 (22:10 +0900)]
template: use /static/js/siteconfig.js

7 years agoPlugin::TT2Renderer: now config variables available in template rendered by render()
hylom [Fri, 21 Apr 2017 13:09:22 +0000 (22:09 +0900)]
Plugin::TT2Renderer: now config variables available in template rendered by render()

7 years agotemplate: rename core_js.html.tt2 to js_vars.html.tt2
hylom [Fri, 21 Apr 2017 13:08:38 +0000 (22:08 +0900)]
template: rename core_js.html.tt2 to js_vars.html.tt2

7 years agoWeb.pm: generate /static/js/siteconfig.js in startup
hylom [Fri, 21 Apr 2017 12:46:54 +0000 (21:46 +0900)]
Web.pm: generate /static/js/siteconfig.js in startup

7 years agoPlugin::QuasiStaticContent: add add_content()
hylom [Fri, 21 Apr 2017 12:46:31 +0000 (21:46 +0900)]
Plugin::QuasiStaticContent: add add_content()

7 years agoPlugin::TT2Renderer: add public render() method
hylom [Fri, 21 Apr 2017 12:45:27 +0000 (21:45 +0900)]
Plugin::TT2Renderer: add public render() method

7 years agoModel: add Histories to record edit histories
hylom [Thu, 20 Apr 2017 12:38:10 +0000 (21:38 +0900)]
Model: add Histories to record edit histories

7 years agojs: add article-item2.js for new <article-item> tag
hylom [Thu, 20 Apr 2017 12:37:30 +0000 (21:37 +0900)]
js: add article-item2.js for new <article-item> tag

7 years agoWeb::Controller: change some return values in API::Submission and Admin::Story
hylom [Thu, 20 Apr 2017 12:35:23 +0000 (21:35 +0900)]
Web::Controller: change some return values in API::Submission and Admin::Story

7 years agoModel::Submissions: add create_draft_text()
hylom [Thu, 20 Apr 2017 12:33:46 +0000 (21:33 +0900)]
Model::Submissions: add create_draft_text()

7 years agoWeb: implement /api/v1/submission
hylom [Wed, 19 Apr 2017 13:59:53 +0000 (22:59 +0900)]
Web: implement /api/v1/submission

7 years agotemplates: fix common/componentes/story_editor to work
hylom [Wed, 19 Apr 2017 10:32:47 +0000 (19:32 +0900)]
templates: fix common/componentes/story_editor to work

7 years agoWeb::Controller::Admin::Story: support 'subid' query parameter
hylom [Wed, 19 Apr 2017 10:27:58 +0000 (19:27 +0900)]
Web::Controller::Admin::Story: support 'subid' query parameter

7 years agoWeb::Controller::Admin::Submissions::list now supported limit and skip parameter
hylom [Tue, 18 Apr 2017 11:42:27 +0000 (20:42 +0900)]
Web::Controller::Admin::Submissions::list now supported limit and skip parameter

7 years agoWeb::Contrroller::Admin::Submissions: /admin/submissions now can show deleted items
hylom [Tue, 18 Apr 2017 11:32:57 +0000 (20:32 +0900)]
Web::Contrroller::Admin::Submissions: /admin/submissions now can show deleted items

7 years agotemplate: fix unmached tags in common/login_dialog
hylom [Tue, 18 Apr 2017 11:31:58 +0000 (20:31 +0900)]
template: fix unmached tags in common/login_dialog

7 years agoPlugin::QuasiStaticContent: fix problem occured when in-memory cache expired
hylom [Tue, 18 Apr 2017 11:28:58 +0000 (20:28 +0900)]
Plugin::QuasiStaticContent: fix problem occured when in-memory cache expired

7 years agoupdate .gitignore
hylom [Tue, 18 Apr 2017 11:28:36 +0000 (20:28 +0900)]
update .gitignore

7 years agocss: fix font path in bootstrap.less
hylom [Tue, 18 Apr 2017 10:39:14 +0000 (19:39 +0900)]
css: fix font path in bootstrap.less

7 years agoPlugin::QuasiStaticContent: now use kvs and cache to store contents
hylom [Thu, 6 Apr 2017 11:29:31 +0000 (20:29 +0900)]
Plugin::QuasiStaticContent: now use kvs and cache to store contents

7 years agoPlugin::TimeLimitedCache: item don't expire when expire is 0
hylom [Thu, 6 Apr 2017 11:28:54 +0000 (20:28 +0900)]
Plugin::TimeLimitedCache: item don't expire when expire is 0

7 years agoPlugins: now unuse ->config->{_Plugins}
hylom [Thu, 6 Apr 2017 10:50:21 +0000 (19:50 +0900)]
Plugins: now unuse ->config->{_Plugins}

7 years agoconfigs: update example file
hylom [Wed, 5 Apr 2017 16:10:42 +0000 (01:10 +0900)]
configs: update example file

7 years agoWeb: use QuasiStaticContent plugin insted of CSSComlile
hylom [Wed, 5 Apr 2017 16:08:39 +0000 (01:08 +0900)]
Web: use QuasiStaticContent plugin insted of CSSComlile

7 years agoPlugin: add QUasiStaticConent.pm
hylom [Wed, 5 Apr 2017 16:06:32 +0000 (01:06 +0900)]
Plugin: add QUasiStaticConent.pm

7 years agoWeb::Controller::Submission: give discussion object to template
hylom [Tue, 4 Apr 2017 15:27:14 +0000 (00:27 +0900)]
Web::Controller::Submission: give discussion object to template

7 years agoModel::Submission: fix _generalize() to return some parameter aliases
hylom [Tue, 4 Apr 2017 15:26:37 +0000 (00:26 +0900)]
Model::Submission: fix _generalize() to return some parameter aliases

7 years agoModel::Discussions: select() now returns discussion kind
hylom [Tue, 4 Apr 2017 15:25:31 +0000 (00:25 +0900)]
Model::Discussions: select() now returns discussion kind

7 years agotemplate: fix to work
hylom [Tue, 4 Apr 2017 15:24:39 +0000 (00:24 +0900)]
template: fix to work

7 years agotemplate: add common/vars
hylom [Tue, 4 Apr 2017 15:23:30 +0000 (00:23 +0900)]
template: add common/vars

7 years agotemplate: fix common/journal directory name
hylom [Tue, 4 Apr 2017 15:23:05 +0000 (00:23 +0900)]
template: fix common/journal directory name

7 years agotemplate: fix submission page to work
hylom [Tue, 4 Apr 2017 13:56:20 +0000 (22:56 +0900)]
template: fix submission page to work

7 years agoWeb: change handler for /api/v1/login
hylom [Tue, 4 Apr 2017 13:24:15 +0000 (22:24 +0900)]
Web: change handler for /api/v1/login

7 years agoWeb::Controller::API::Login: use Plugin::UserAuth::do_login()
hylom [Tue, 4 Apr 2017 13:23:40 +0000 (22:23 +0900)]
Web::Controller::API::Login: use Plugin::UserAuth::do_login()

7 years agoWeb::Controller::Login: rpath need absolute path
hylom [Tue, 4 Apr 2017 13:22:55 +0000 (22:22 +0900)]
Web::Controller::Login: rpath need absolute path

7 years agoWeb::Controller::Login: move some login code to Plugin::UserAuth
hylom [Tue, 4 Apr 2017 13:22:18 +0000 (22:22 +0900)]
Web::Controller::Login: move some login code to Plugin::UserAuth

7 years agotamplates: implement ajax login
hylom [Mon, 3 Apr 2017 13:15:21 +0000 (22:15 +0900)]
tamplates: implement ajax login

7 years agoWeb: add /api/v1/login
hylom [Mon, 3 Apr 2017 13:14:12 +0000 (22:14 +0900)]
Web: add /api/v1/login

7 years agoWeb::Controller::Login: /logout now can take rpath parameter
hylom [Mon, 3 Apr 2017 13:12:48 +0000 (22:12 +0900)]
Web::Controller::Login: /logout now can take rpath parameter

7 years agoWeb::Controller::API::Submission: supress warning message when signature duplicated...
hylom [Fri, 31 Mar 2017 12:17:33 +0000 (21:17 +0900)]
Web::Controller::API::Submission: supress warning message when signature duplicated error

7 years agoModel::Submissions: use Model::Base's rollback()
hylom [Fri, 31 Mar 2017 12:16:33 +0000 (21:16 +0900)]
Model::Submissions: use Model::Base's rollback()

7 years agoModel::Stories: fix warnings
hylom [Fri, 31 Mar 2017 12:16:05 +0000 (21:16 +0900)]
Model::Stories: fix warnings

7 years agot: fix some tests
hylom [Fri, 31 Mar 2017 12:15:34 +0000 (21:15 +0900)]
t: fix some tests

7 years agot: fix to work some tests
hylom [Fri, 31 Mar 2017 11:42:37 +0000 (20:42 +0900)]
t: fix to work some tests

7 years agot: admin_submissions: fix to work
hylom [Fri, 31 Mar 2017 11:41:03 +0000 (20:41 +0900)]
t: admin_submissions: fix to work

7 years agoWeb::Controller::API::Comment: fix warnings
hylom [Fri, 31 Mar 2017 11:40:20 +0000 (20:40 +0900)]
Web::Controller::API::Comment: fix warnings

7 years agoModel::Events: add delete_all()
hylom [Fri, 31 Mar 2017 11:39:46 +0000 (20:39 +0900)]
Model::Events: add delete_all()

7 years agot: remove admin_sidebar.t
hylom [Fri, 31 Mar 2017 11:26:49 +0000 (20:26 +0900)]
t: remove admin_sidebar.t

7 years agot: move admin_sidebar.t tp api/box.t
hylom [Fri, 31 Mar 2017 11:26:36 +0000 (20:26 +0900)]
t: move admin_sidebar.t tp api/box.t

7 years agoUtil::Test: create_admin_user() now take passwd argument
hylom [Fri, 31 Mar 2017 11:15:43 +0000 (20:15 +0900)]
Util::Test: create_admin_user() now take passwd argument

7 years agot: add api/moderation.t
hylom [Fri, 31 Mar 2017 11:11:13 +0000 (20:11 +0900)]
t: add api/moderation.t

7 years agoUtil::Test: create_user can take passwd argument
hylom [Fri, 31 Mar 2017 11:10:39 +0000 (20:10 +0900)]
Util::Test: create_user can take passwd argument

7 years agoModel::Journals: fix warnings
hylom [Fri, 31 Mar 2017 11:10:02 +0000 (20:10 +0900)]
Model::Journals: fix warnings

7 years agot: remove api.t
hylom [Fri, 31 Mar 2017 11:09:17 +0000 (20:09 +0900)]
t: remove api.t

7 years agot: devide api.t to api/{comment|story|submission}.t
hylom [Fri, 31 Mar 2017 11:08:32 +0000 (20:08 +0900)]
t: devide api.t to api/{comment|story|submission}.t

7 years agot: fix warnings in models/events.t
hylom [Fri, 31 Mar 2017 10:37:07 +0000 (19:37 +0900)]
t: fix warnings in models/events.t

7 years agot: delete models/people.t
hylom [Fri, 31 Mar 2017 10:32:45 +0000 (19:32 +0900)]
t: delete models/people.t

7 years agot: merge models/people.t to models/relations.t
hylom [Fri, 31 Mar 2017 10:32:28 +0000 (19:32 +0900)]
t: merge models/people.t to models/relations.t

7 years agot: add relations.t, stories.t, submissions.t to models/
hylom [Thu, 30 Mar 2017 13:04:07 +0000 (22:04 +0900)]
t: add relations.t, stories.t, submissions.t to models/

7 years agot: rewrite model/users.t
hylom [Thu, 30 Mar 2017 13:03:30 +0000 (22:03 +0900)]
t: rewrite model/users.t

7 years agoModel::Users: create random password when password not given in create()
hylom [Thu, 30 Mar 2017 13:02:53 +0000 (22:02 +0900)]
Model::Users: create random password when password not given in create()

7 years agoModel::Submissions: add fullhost_to_domain() and hard_delete()
hylom [Thu, 30 Mar 2017 13:02:12 +0000 (22:02 +0900)]
Model::Submissions: add fullhost_to_domain() and hard_delete()

7 years agoModel::Submissions: fix update() to work correctly
hylom [Thu, 30 Mar 2017 13:01:44 +0000 (22:01 +0900)]
Model::Submissions: fix update() to work correctly

7 years agoModel::Submissions: now use submission_id and id parameter instead of subid in select()
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()

7 years agot: rewrite models/moderations.t, models/metamoderations.t
hylom [Thu, 30 Mar 2017 12:11:21 +0000 (21:11 +0900)]
t: rewrite models/moderations.t, models/metamoderations.t

7 years agoUtil::Test: add create_admin_user()
hylom [Thu, 30 Mar 2017 12:08:24 +0000 (21:08 +0900)]
Util::Test: add create_admin_user()

7 years agoModel::Moderations: rollback when error occured in create()
hylom [Thu, 30 Mar 2017 12:08:01 +0000 (21:08 +0900)]
Model::Moderations: rollback when error occured in create()

7 years agoModel::Comments: fix select() occurs error when multiple condition given
hylom [Thu, 30 Mar 2017 12:06:44 +0000 (21:06 +0900)]
Model::Comments: fix select() occurs error when multiple condition given

7 years agoModel::Base: fix rollback() clear errors
hylom [Thu, 30 Mar 2017 12:05:38 +0000 (21:05 +0900)]
Model::Base: fix rollback() clear errors

7 years agoUtil::Test: add create_users(), create_comment(), create_comments(), get_anonymous_user()
hylom [Wed, 29 Mar 2017 10:53:39 +0000 (19:53 +0900)]
Util::Test: add create_users(), create_comment(), create_comments(), get_anonymous_user()

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