OSDN Git Service

newslash/newslash.git
7 years ago* Model::Users: acl2 related function() can receive srcid
hylom [Thu, 4 May 2017 11:44:42 +0000 (20:44 +0900)]
* Model::Users: acl2 related function() can receive srcid

7 years ago* Util::Test: add srcid()
hylom [Thu, 4 May 2017 11:43:43 +0000 (20:43 +0900)]
* Util::Test: add srcid()

7 years agostatus-bar: fix to work
hylom [Thu, 4 May 2017 10:12:16 +0000 (19:12 +0900)]
status-bar: fix to work

7 years ago* js/users-manager.js: ACL2 update support
hylom [Thu, 4 May 2017 10:11:48 +0000 (19:11 +0900)]
* js/users-manager.js: ACL2 update support

7 years agousers-manager: show ACL2 history
hylom [Thu, 4 May 2017 10:11:08 +0000 (19:11 +0900)]
users-manager: show ACL2 history

7 years ago* Model::Users: fix _select_acl() to work correctly
hylom [Thu, 4 May 2017 10:09:31 +0000 (19:09 +0900)]
* Model::Users: fix _select_acl() to work correctly

7 years agotemplate: add status-bar
hylom [Thu, 4 May 2017 09:21:51 +0000 (18:21 +0900)]
template: add status-bar

7 years ago* templates: common/admin_bar: add link to users-manager
hylom [Thu, 4 May 2017 08:10:55 +0000 (17:10 +0900)]
* templates: common/admin_bar: add link to users-manager

7 years ago* Web::Controller::API::User: get() takes 'type=all' argument
hylom [Thu, 4 May 2017 08:09:49 +0000 (17:09 +0900)]
* Web::Controller::API::User: get() takes 'type=all' argument

7 years ago* Web.pm: add acl2_type to siteconfig.js
hylom [Thu, 4 May 2017 08:09:16 +0000 (17:09 +0900)]
* Web.pm: add acl2_type to siteconfig.js

7 years ago* Model::Users: acl2_types() returns array when array-context
hylom [Thu, 4 May 2017 08:08:17 +0000 (17:08 +0900)]
* Model::Users: acl2_types() returns array when array-context

7 years agotemplate: fix duplicate request in users-manager
hylom [Thu, 4 May 2017 08:07:12 +0000 (17:07 +0900)]
template: fix duplicate request in users-manager

7 years agoCSS: add less file for users-manager
hylom [Thu, 4 May 2017 08:06:27 +0000 (17:06 +0900)]
CSS: add less file for users-manager

7 years agoutils/db_scripts: add al2 related sqls
hylom [Mon, 1 May 2017 14:18:20 +0000 (23:18 +0900)]
utils/db_scripts: add al2 related sqls

7 years ago* Model::Users: add ACL2 related codes
hylom [Mon, 1 May 2017 14:16:52 +0000 (23:16 +0900)]
* Model::Users: add ACL2 related codes

7 years agoimplement Users Manager
hylom [Mon, 1 May 2017 12:06:21 +0000 (21:06 +0900)]
implement Users Manager

7 years agoWeb::Controller::API::User: add query user information support
hylom [Mon, 1 May 2017 10:17:44 +0000 (19:17 +0900)]
Web::Controller::API::User: add query user information support

7 years agoWeb::Controller::API::Story: check permission and receive tag data in post()
hylom [Fri, 28 Apr 2017 12:20:59 +0000 (21:20 +0900)]
Web::Controller::API::Story: check permission and receive tag data in post()

7 years agotemplate: implement tag editor
hylom [Fri, 28 Apr 2017 12:20:27 +0000 (21:20 +0900)]
template: implement tag editor

7 years agoWeb.pm: change "topics" global JS variable format
hylom [Fri, 28 Apr 2017 12:19:23 +0000 (21:19 +0900)]
Web.pm: change "topics" global JS variable format

7 years agojs: add nsUtil.topicIconURL() to base.js
hylom [Fri, 28 Apr 2017 12:18:17 +0000 (21:18 +0900)]
js: add nsUtil.topicIconURL() to base.js

7 years agotemplate: show tag info instead of topics
hylom [Fri, 28 Apr 2017 10:20:10 +0000 (19:20 +0900)]
template: show tag info instead of topics

7 years agoModel::Select: new latest() implementation using select()
hylom [Fri, 28 Apr 2017 10:07:48 +0000 (19:07 +0900)]
Model::Select: new latest() implementation using select()

7 years agoModel::Stories: select()'s return values contain tag informations
hylom [Fri, 28 Apr 2017 10:06:47 +0000 (19:06 +0900)]
Model::Stories: select()'s return values contain tag informations

7 years agoModel::Base: build_orderby_clause() returns ("", ()) when no parameters given
hylom [Fri, 28 Apr 2017 10:04:28 +0000 (19:04 +0900)]
Model::Base: build_orderby_clause() returns ("", ()) when no parameters given

7 years agoexternal/escape-html.js: update submodule
hylom [Thu, 27 Apr 2017 11:41:46 +0000 (20:41 +0900)]
external/escape-html.js: update submodule

7 years agodb_scripts: add topic_nexus_dirty.sql
hylom [Thu, 27 Apr 2017 11:15:18 +0000 (20:15 +0900)]
db_scripts: add topic_nexus_dirty.sql

7 years agotemplate: show related article infomation in common/article/editor
hylom [Thu, 27 Apr 2017 11:13:11 +0000 (20:13 +0900)]
template: show related article infomation in common/article/editor

7 years agotemplate: fix cancel action in components/article_item
hylom [Thu, 27 Apr 2017 11:12:12 +0000 (20:12 +0900)]
template: fix cancel action in components/article_item

7 years agoController::API::Story: now post() can take $item->{add_related}
hylom [Thu, 27 Apr 2017 11:10:19 +0000 (20:10 +0900)]
Controller::API::Story: now post() can take $item->{add_related}

7 years agoController::API::Story: get() returns story with related-story information
hylom [Thu, 27 Apr 2017 10:59:27 +0000 (19:59 +0900)]
Controller::API::Story: get() returns story with related-story information

7 years agoController::API::Story: support update for POST
hylom [Thu, 27 Apr 2017 10:58:48 +0000 (19:58 +0900)]
Controller::API::Story: support update for POST

7 years agoModel::Tags: suppress error when insert duplicate tag
hylom [Thu, 27 Apr 2017 10:43:15 +0000 (19:43 +0900)]
Model::Tags: suppress error when insert duplicate tag

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