OSDN Git Service

newslash/newslash.git
7 years agoPlugin::AccessControl: fix to work more fast
hylom [Thu, 2 Feb 2017 13:44:09 +0000 (22:44 +0900)]
Plugin::AccessControl: fix to work more fast

7 years agoModel::Metamoderations: fix to work
hylom [Thu, 2 Feb 2017 13:43:25 +0000 (22:43 +0900)]
Model::Metamoderations: fix to work

7 years agoModel::Comments: fix update method not to use user info
hylom [Thu, 2 Feb 2017 13:43:05 +0000 (22:43 +0900)]
Model::Comments: fix update method not to use user info

7 years agoModel::Moderations: add select_with_m2 method
hylom [Thu, 2 Feb 2017 13:42:26 +0000 (22:42 +0900)]
Model::Moderations: add select_with_m2 method

7 years agoModel::Users: when no update clauses, return 0 in _generic_update
hylom [Thu, 2 Feb 2017 13:41:58 +0000 (22:41 +0900)]
Model::Users: when no update clauses, return 0 in _generic_update

7 years agoModel::Base: when rollback called, set error strings
hylom [Thu, 2 Feb 2017 13:41:31 +0000 (22:41 +0900)]
Model::Base: when rollback called, set error strings

7 years agot: add models/metamoderations.t
hylom [Wed, 1 Feb 2017 10:48:45 +0000 (19:48 +0900)]
t: add models/metamoderations.t

7 years agoController: add API::Metamoderations
hylom [Wed, 1 Feb 2017 10:48:03 +0000 (19:48 +0900)]
Controller: add API::Metamoderations

7 years agocss: add metamoderate related styles
hylom [Wed, 1 Feb 2017 10:47:22 +0000 (19:47 +0900)]
css: add metamoderate related styles

7 years agoWeb: add metamoderation APIs
hylom [Wed, 1 Feb 2017 10:47:04 +0000 (19:47 +0900)]
Web: add metamoderation APIs

7 years agoModel::Moderation: is_metamodereatable return 0 when user is anonymous
hylom [Wed, 1 Feb 2017 10:46:20 +0000 (19:46 +0900)]
Model::Moderation: is_metamodereatable return 0 when user is anonymous

7 years agoModel::Metamoderation: add slect_by_cid method, and fix error check in create method
hylom [Wed, 1 Feb 2017 10:45:43 +0000 (19:45 +0900)]
Model::Metamoderation: add slect_by_cid method, and fix error check in create method

7 years agoModel::Moderations: move some parameters to
hylom [Wed, 1 Feb 2017 09:57:00 +0000 (18:57 +0900)]
Model::Moderations: move some parameters to

7 years agotemplate: add moderation log for comments
hylom [Tue, 31 Jan 2017 12:29:14 +0000 (21:29 +0900)]
template: add moderation log for comments

7 years agoWeb: add get handler to /api/moderation
hylom [Tue, 31 Jan 2017 12:28:17 +0000 (21:28 +0900)]
Web: add get handler to /api/moderation

7 years agoModel::Moderations: fix select method, now can learn active parameter
hylom [Tue, 31 Jan 2017 12:27:30 +0000 (21:27 +0900)]
Model::Moderations: fix select method, now can learn active parameter

7 years agoModel::Base: fix build_where_clause crash when multiple where clause
hylom [Tue, 31 Jan 2017 12:26:59 +0000 (21:26 +0900)]
Model::Base: fix build_where_clause crash when multiple where clause

7 years agoModel::Metamoderations: fix some warnings
hylom [Tue, 31 Jan 2017 11:15:59 +0000 (20:15 +0900)]
Model::Metamoderations: fix some warnings

7 years agoModel::Moderations: use update_class method in create method
hylom [Tue, 31 Jan 2017 11:15:23 +0000 (20:15 +0900)]
Model::Moderations: use update_class method in create method

7 years agoModel::Users: add update_class and clear_rookie method
hylom [Tue, 31 Jan 2017 11:14:38 +0000 (20:14 +0900)]
Model::Users: add update_class and clear_rookie method

7 years agoModel::Comments: fix error messasge,
hylom [Tue, 31 Jan 2017 11:14:00 +0000 (20:14 +0900)]
Model::Comments: fix error messasge,

7 years agotemplate: show comment score as 'badge' style, and add some functions to metamoderate
hylom [Fri, 27 Jan 2017 16:47:20 +0000 (01:47 +0900)]
template: show comment score as 'badge' style, and add some functions to metamoderate

7 years agoModel::Metamoderations: implement create method and add related internal methods
hylom [Fri, 27 Jan 2017 14:24:49 +0000 (23:24 +0900)]
Model::Metamoderations: implement create method and add related internal methods

7 years agoModel::Moderations: add is_metamoderatable and select_non_conflict method to use...
hylom [Fri, 27 Jan 2017 14:24:06 +0000 (23:24 +0900)]
Model::Moderations: add is_metamoderatable and select_non_conflict method to use metamoderation

7 years agoModel::Comments: update select method, now learn sid and uid key
hylom [Fri, 27 Jan 2017 14:23:08 +0000 (23:23 +0900)]
Model::Comments: update select method, now learn sid and uid key

7 years agoModel::Stories: update select method, now learn 'submitter' key, and use INTERVAL...
hylom [Fri, 27 Jan 2017 14:22:33 +0000 (23:22 +0900)]
Model::Stories: update select method, now learn 'submitter' key, and use INTERVAL keyword in SQL

7 years agoModel::Base: rename commit_transaction and rollback_transaction method
hylom [Fri, 27 Jan 2017 14:20:59 +0000 (23:20 +0900)]
Model::Base: rename commit_transaction and rollback_transaction method

7 years agoPlugin: add AntiCsrf.pm
hylom [Tue, 24 Jan 2017 12:32:36 +0000 (21:32 +0900)]
Plugin: add AntiCsrf.pm

7 years agoController::Login: move session-store related code to Plugin::UserAuth
hylom [Tue, 24 Jan 2017 12:32:06 +0000 (21:32 +0900)]
Controller::Login: move session-store related code to Plugin::UserAuth

7 years agoWeb: fix plugin registration codes
hylom [Mon, 23 Jan 2017 11:36:14 +0000 (20:36 +0900)]
Web: fix plugin registration codes

7 years agoPlugin: Add ModelCache
hylom [Mon, 23 Jan 2017 11:35:47 +0000 (20:35 +0900)]
Plugin: Add ModelCache

7 years agoPlugin::TimeLimitedCache: fix register method
hylom [Mon, 23 Jan 2017 11:35:05 +0000 (20:35 +0900)]
Plugin::TimeLimitedCache: fix register method

7 years agoPlugin::TT2Renderer: use cache for select sidebar data
hylom [Mon, 23 Jan 2017 11:34:43 +0000 (20:34 +0900)]
Plugin::TT2Renderer: use cache for select sidebar data

7 years agoPlugin::KeyValueStore: add ttl method and fix register method
hylom [Mon, 23 Jan 2017 11:34:00 +0000 (20:34 +0900)]
Plugin::KeyValueStore: add ttl method and fix register method

7 years agoController::Story: add discussion object to template
hylom [Sat, 21 Jan 2017 14:26:20 +0000 (23:26 +0900)]
Controller::Story: add discussion object to template

7 years agoController::API::Moderation: implement moderation API
hylom [Sat, 21 Jan 2017 14:25:52 +0000 (23:25 +0900)]
Controller::API::Moderation: implement moderation API

7 years agoModel::Discussion: select method can accept 'discussion_id' key
hylom [Sat, 21 Jan 2017 14:25:06 +0000 (23:25 +0900)]
Model::Discussion: select method can accept 'discussion_id' key

7 years agoController::API::Comment: check discussion and type when comment posted
hylom [Sat, 21 Jan 2017 14:24:24 +0000 (23:24 +0900)]
Controller::API::Comment: check discussion and type when comment posted

7 years agotemplate: add moderation code to common/comment
hylom [Fri, 20 Jan 2017 17:35:42 +0000 (02:35 +0900)]
template: add moderation code to common/comment

7 years agotemplate: fix user.is_admin and user.is_login parameter rename
hylom [Fri, 20 Jan 2017 17:34:33 +0000 (02:34 +0900)]
template: fix user.is_admin and user.is_login parameter rename

7 years agoController::Login: correct token overlap check and error handler
hylom [Fri, 20 Jan 2017 17:29:14 +0000 (02:29 +0900)]
Controller::Login: correct token overlap check and error handler

7 years agoModel::Users: separete update_* method from update method
hylom [Fri, 20 Jan 2017 16:20:42 +0000 (01:20 +0900)]
Model::Users: separete update_* method from update method

7 years agot/models/moderations.t: update test codes
hylom [Fri, 20 Jan 2017 13:12:14 +0000 (22:12 +0900)]
t/models/moderations.t: update test codes

7 years agoModel::Users: rewrite update_info to use _generic_update
hylom [Fri, 20 Jan 2017 13:11:52 +0000 (22:11 +0900)]
Model::Users: rewrite update_info to use _generic_update

7 years agoModel::Moderations: fix to work
hylom [Fri, 20 Jan 2017 13:11:20 +0000 (22:11 +0900)]
Model::Moderations: fix to work

7 years agoModel::Metamoderations: fix getModForM2Inherit to work
hylom [Fri, 20 Jan 2017 13:10:41 +0000 (22:10 +0900)]
Model::Metamoderations: fix getModForM2Inherit to work

7 years agoModel::Comments: fix parameter stoid, sid, discussion_id names to make more reasonable
hylom [Fri, 20 Jan 2017 13:10:19 +0000 (22:10 +0900)]
Model::Comments: fix parameter stoid, sid, discussion_id names to make more reasonable

7 years agoModel::Base: init _error and _errorno property in new method
hylom [Fri, 20 Jan 2017 13:08:46 +0000 (22:08 +0900)]
Model::Base: init _error and _errorno property in new method

7 years agoutils/db_scripts: add globj_adminnotes.sql SQL
hylom [Fri, 20 Jan 2017 11:09:08 +0000 (20:09 +0900)]
utils/db_scripts: add globj_adminnotes.sql SQL

7 years agoutils/db_scripts: fix create_tables.pl for good output message
hylom [Fri, 20 Jan 2017 11:08:41 +0000 (20:08 +0900)]
utils/db_scripts: fix create_tables.pl for good output message

7 years agoModel::Moderations: rename 'moderate' method to 'create' and fix to work
hylom [Fri, 20 Jan 2017 11:08:06 +0000 (20:08 +0900)]
Model::Moderations: rename 'moderate' method to 'create' and fix to work

7 years agoModel::Story: add hard_delete method for future use
hylom [Fri, 20 Jan 2017 11:07:27 +0000 (20:07 +0900)]
Model::Story: add hard_delete method for future use

7 years agoModel::Comments: fix SQL in select method
hylom [Fri, 20 Jan 2017 11:06:59 +0000 (20:06 +0900)]
Model::Comments: fix SQL in select method

7 years agoModel::Tags: fix getTagnameDataFromIds for warnings
hylom [Fri, 20 Jan 2017 11:06:29 +0000 (20:06 +0900)]
Model::Tags: fix getTagnameDataFromIds for warnings

7 years agoModel::Globjs: fix getGlobjAdminnotes to work well
hylom [Fri, 20 Jan 2017 11:05:40 +0000 (20:05 +0900)]
Model::Globjs: fix getGlobjAdminnotes to work well

7 years agoModel::Base: rename internal variable conflict with LegacyDB
hylom [Fri, 20 Jan 2017 11:05:05 +0000 (20:05 +0900)]
Model::Base: rename internal variable conflict with LegacyDB

7 years agoModel::LegacyFirehose: fix getFireHoseMulti to work
hylom [Fri, 20 Jan 2017 09:02:54 +0000 (18:02 +0900)]
Model::LegacyFirehose: fix getFireHoseMulti to work

7 years agoutils/db_scripts_create_tables.pl: now not execute SQLs in data/ directory
hylom [Thu, 19 Jan 2017 12:32:13 +0000 (21:32 +0900)]
utils/db_scripts_create_tables.pl: now not execute SQLs in data/ directory

7 years agofix user.login to user.is_login
hylom [Thu, 19 Jan 2017 12:31:12 +0000 (21:31 +0900)]
fix user.login to user.is_login

7 years agot: update models/users.t and models/moderations.t
hylom [Thu, 19 Jan 2017 12:30:46 +0000 (21:30 +0900)]
t: update models/users.t and models/moderations.t

7 years agoModel::Users: check and create anonymous user in startup, and fix update method
hylom [Thu, 19 Jan 2017 12:30:06 +0000 (21:30 +0900)]
Model::Users: check and create anonymous user in startup, and fix update method

7 years agoModel::Stories: check introtext exists in create method
hylom [Thu, 19 Jan 2017 12:29:15 +0000 (21:29 +0900)]
Model::Stories: check introtext exists in create method

7 years agot: add models/users.t
hylom [Thu, 19 Jan 2017 10:34:26 +0000 (19:34 +0900)]
t: add models/users.t

7 years agoModel::Users: rename create_user to create, implement hard_delete method
hylom [Thu, 19 Jan 2017 10:34:02 +0000 (19:34 +0900)]
Model::Users: rename create_user to create, implement hard_delete method

7 years agoModel::Moderation: fix some warnings
hylom [Thu, 19 Jan 2017 10:33:29 +0000 (19:33 +0900)]
Model::Moderation: fix some warnings

7 years agoModel::Users: fix startup
hylom [Thu, 19 Jan 2017 10:08:11 +0000 (19:08 +0900)]
Model::Users: fix startup

7 years agoModel::Globjs: fix startup
hylom [Thu, 19 Jan 2017 10:07:57 +0000 (19:07 +0900)]
Model::Globjs: fix startup

7 years agoModel::Boxes: fix startup
hylom [Thu, 19 Jan 2017 10:07:39 +0000 (19:07 +0900)]
Model::Boxes: fix startup

7 years agoModel::Loader: more verbose in startup
hylom [Thu, 19 Jan 2017 10:07:10 +0000 (19:07 +0900)]
Model::Loader: more verbose in startup

7 years agoModel::Globjs: add startup code to make globj_types
hylom [Thu, 19 Jan 2017 09:40:43 +0000 (18:40 +0900)]
Model::Globjs: add startup code to make globj_types

7 years agot: create models/moderations.t for Model::Moderations test
hylom [Wed, 18 Jan 2017 10:51:25 +0000 (19:51 +0900)]
t: create models/moderations.t for Model::Moderations test

7 years agoModel::Moderations: implement moderate method
hylom [Wed, 18 Jan 2017 10:33:51 +0000 (19:33 +0900)]
Model::Moderations: implement moderate method

7 years agoModel::Users: add update_info method
hylom [Wed, 18 Jan 2017 10:33:23 +0000 (19:33 +0900)]
Model::Users: add update_info method

7 years agoModel::Comments: fix update method's return value
hylom [Wed, 18 Jan 2017 10:32:59 +0000 (19:32 +0900)]
Model::Comments: fix update method's return value

7 years agoModel::Comments: fix forgetten right curly bracket
hylom [Tue, 17 Jan 2017 12:19:02 +0000 (21:19 +0900)]
Model::Comments: fix forgetten right curly bracket

7 years agoModel::Base: fix forgetten declare
hylom [Tue, 17 Jan 2017 12:16:36 +0000 (21:16 +0900)]
Model::Base: fix forgetten  declare

7 years agoModel::Moderation: fix to work
hylom [Tue, 17 Jan 2017 12:14:15 +0000 (21:14 +0900)]
Model::Moderation: fix to work

7 years agoModel::Comment: implement update method
hylom [Tue, 17 Jan 2017 12:13:53 +0000 (21:13 +0900)]
Model::Comment: implement update method

7 years agoModel::Base: implement transaction system
hylom [Tue, 17 Jan 2017 12:12:52 +0000 (21:12 +0900)]
Model::Base: implement transaction system

7 years agoModel::Moderations: implement set_comment_for_mod
hylom [Fri, 6 Jan 2017 11:35:30 +0000 (20:35 +0900)]
Model::Moderations: implement set_comment_for_mod

7 years agoutils/db_scripts: add metamodlog.sql
hylom [Mon, 26 Dec 2016 12:09:35 +0000 (21:09 +0900)]
utils/db_scripts: add metamodlog.sql

7 years agoModel::Moderations: move m2 related codes to Model::Metamoderations
hylom [Mon, 26 Dec 2016 12:08:59 +0000 (21:08 +0900)]
Model::Moderations: move m2 related codes to Model::Metamoderations

7 years agoModel: add Metamoderations.pm
hylom [Mon, 26 Dec 2016 12:08:08 +0000 (21:08 +0900)]
Model: add Metamoderations.pm

7 years agoModel::Moderation: add 'create' method
hylom [Thu, 22 Dec 2016 11:04:21 +0000 (20:04 +0900)]
Model::Moderation: add 'create' method

7 years agofix typos
hylom [Wed, 21 Dec 2016 11:57:27 +0000 (20:57 +0900)]
fix typos

7 years agorewrite select method, and add moderate method
hylom [Wed, 21 Dec 2016 11:55:29 +0000 (20:55 +0900)]
rewrite select method, and add moderate method

7 years agoModel::Users: add add_to_param method
hylom [Wed, 21 Dec 2016 11:54:53 +0000 (20:54 +0900)]
Model::Users: add add_to_param method

7 years agoModel::User: rename user hash's 'login' and 'admin' to 'is_login' and 'is_admin'
hylom [Wed, 21 Dec 2016 10:48:02 +0000 (19:48 +0900)]
Model::User: rename user hash's 'login' and 'admin' to 'is_login' and 'is_admin'

7 years agoModel: add 'moderations' to loader
hylom [Wed, 21 Dec 2016 10:23:22 +0000 (19:23 +0900)]
Model: add 'moderations' to loader

7 years agoModel::Comments: fix 'select' method to make expandable
hylom [Wed, 21 Dec 2016 10:22:51 +0000 (19:22 +0900)]
Model::Comments: fix 'select' method to make expandable

7 years agoModel::Base: add base_select and build_where_clause method, and fix new_instance_of...
hylom [Wed, 21 Dec 2016 10:22:04 +0000 (19:22 +0900)]
Model::Base: add base_select and build_where_clause method, and fix new_instance_of method

7 years agoModel::Moderations: fix to work
hylom [Tue, 20 Dec 2016 12:54:47 +0000 (21:54 +0900)]
Model::Moderations: fix to work

7 years agoutils/db_scripts: add modreasons.sql
hylom [Tue, 20 Dec 2016 12:52:55 +0000 (21:52 +0900)]
utils/db_scripts: add modreasons.sql

7 years agoWeb: add moderation api
hylom [Tue, 20 Dec 2016 12:52:22 +0000 (21:52 +0900)]
Web: add moderation api

7 years agoModel: add Moderations.pm
hylom [Tue, 20 Dec 2016 12:51:57 +0000 (21:51 +0900)]
Model: add Moderations.pm

7 years agojs/user-sidebar: implement user sidebar settings
hylom [Thu, 8 Dec 2016 16:47:34 +0000 (01:47 +0900)]
js/user-sidebar: implement user sidebar settings

7 years agoModel::Users: implement select/update for sidebar
hylom [Thu, 8 Dec 2016 16:46:33 +0000 (01:46 +0900)]
Model::Users: implement select/update for sidebar

7 years agoModel::Journals: add is_archived attribute for journal items
hylom [Thu, 8 Dec 2016 15:15:06 +0000 (00:15 +0900)]
Model::Journals: add is_archived attribute for journal items

7 years agoModel::Journals: add commentcount attribute for journal items
hylom [Thu, 8 Dec 2016 14:56:59 +0000 (23:56 +0900)]
Model::Journals: add commentcount attribute for journal items

7 years agotemplate/journal/user_journals: add 'read-more' support
hylom [Wed, 7 Dec 2016 16:12:45 +0000 (01:12 +0900)]
template/journal/user_journals: add 'read-more' support