OSDN Git Service

newslash/newslash.git
7 years agoPlugin::KeyValueStore: add cache()
hylom [Mon, 27 Feb 2017 12:00:11 +0000 (21:00 +0900)]
Plugin::KeyValueStore: add cache()

7 years agoModel: add WebMessages.pm
hylom [Mon, 27 Feb 2017 11:58:17 +0000 (20:58 +0900)]
Model: add WebMessages.pm

7 years agoModel::Base: generic_select() can receive SQL
hylom [Mon, 27 Feb 2017 11:57:45 +0000 (20:57 +0900)]
Model::Base: generic_select() can receive SQL

7 years agoWeb: add messaging settings to /my/settings
hylom [Fri, 24 Feb 2017 13:51:02 +0000 (22:51 +0900)]
Web: add messaging settings to /my/settings

7 years agoController::API::User: accept type=messatge_config request
hylom [Fri, 24 Feb 2017 13:50:02 +0000 (22:50 +0900)]
Controller::API::User: accept type=messatge_config request

7 years agoModel::Users: add select_message_config()
hylom [Fri, 24 Feb 2017 13:25:17 +0000 (22:25 +0900)]
Model::Users: add select_message_config()

7 years agoModel::Users: fix to work on_start_up()
hylom [Fri, 24 Feb 2017 13:24:07 +0000 (22:24 +0900)]
Model::Users: fix to work on_start_up()

7 years agoModel::Messages: change scheme of ns_message_types
hylom [Fri, 24 Feb 2017 13:22:54 +0000 (22:22 +0900)]
Model::Messages: change scheme of ns_message_types

7 years agoutils/db_scripts: add message_codes and people tables SQL
hylom [Fri, 24 Feb 2017 12:20:44 +0000 (21:20 +0900)]
utils/db_scripts: add message_codes and people tables SQL

7 years agoutils/migration_scripts: change schema of ns_message_types table
hylom [Fri, 24 Feb 2017 12:19:59 +0000 (21:19 +0900)]
utils/migration_scripts: change schema of ns_message_types table

7 years agoModel::Base: now generic_select() and base_select() work fell with no where clause
hylom [Fri, 24 Feb 2017 12:19:03 +0000 (21:19 +0900)]
Model::Base: now generic_select() and base_select() work fell with no where clause

7 years agoModel: add Messages.pm
hylom [Fri, 24 Feb 2017 12:17:59 +0000 (21:17 +0900)]
Model: add Messages.pm

7 years agoModel::Loader: now on_start_up() in Models give $app object
hylom [Fri, 24 Feb 2017 11:24:39 +0000 (20:24 +0900)]
Model::Loader: now on_start_up() in Models give $app object

7 years agoPlugin::TT2Renderer: fix register() to work
hylom [Fri, 24 Feb 2017 11:23:58 +0000 (20:23 +0900)]
Plugin::TT2Renderer: fix register() to work

7 years agoutils: add message_types table migration tools below migration_scripts/
hylom [Fri, 24 Feb 2017 11:22:59 +0000 (20:22 +0900)]
utils: add message_types table migration tools below migration_scripts/

7 years agoPlugin::AntiCsrf: use session token in validate_token() and get_token()
hylom [Thu, 23 Feb 2017 14:59:33 +0000 (23:59 +0900)]
Plugin::AntiCsrf: use session token in validate_token() and get_token()

7 years agoPlugin::TT2Renderer: give controller object as arguments in callback function regisit...
hylom [Thu, 23 Feb 2017 14:56:37 +0000 (23:56 +0900)]
Plugin::TT2Renderer: give controller object as arguments in callback function regisiterd by add_NS_function

7 years agoPlugin::EventQue: create events when event emitted
hylom [Thu, 23 Feb 2017 12:31:42 +0000 (21:31 +0900)]
Plugin::EventQue: create events when event emitted

7 years agoController: add event emitter to Comment, Journal, Login
hylom [Thu, 23 Feb 2017 12:21:48 +0000 (21:21 +0900)]
Controller: add event emitter to Comment, Journal, Login

7 years agoPlugin: add EventQue
hylom [Thu, 23 Feb 2017 12:17:18 +0000 (21:17 +0900)]
Plugin: add EventQue

7 years agoModel: add Events.pm
hylom [Thu, 23 Feb 2017 11:49:06 +0000 (20:49 +0900)]
Model: add Events.pm

7 years agoModel::Base: add clear_error() and generic_select()
hylom [Thu, 23 Feb 2017 11:48:31 +0000 (20:48 +0900)]
Model::Base: add clear_error() and generic_select()

7 years agoadd Eventd - event proccessing daemon
hylom [Thu, 23 Feb 2017 10:31:21 +0000 (19:31 +0900)]
add Eventd - event proccessing daemon

7 years agot: add api/relation.t
hylom [Wed, 22 Feb 2017 12:56:38 +0000 (21:56 +0900)]
t: add api/relation.t

7 years agotemplate: add relation change facility to user/base
hylom [Wed, 22 Feb 2017 12:55:52 +0000 (21:55 +0900)]
template: add relation change facility to user/base

7 years agoPlugin::UserAuth: add update_session()
hylom [Wed, 22 Feb 2017 12:54:55 +0000 (21:54 +0900)]
Plugin::UserAuth: add update_session()

7 years agoPlugin::AntiCsrf: change token format (remove whitespaces in token)
hylom [Wed, 22 Feb 2017 12:54:33 +0000 (21:54 +0900)]
Plugin::AntiCsrf: change token format (remove whitespaces in token)

7 years agoModel::Relations: add error messages in create()
hylom [Wed, 22 Feb 2017 12:46:18 +0000 (21:46 +0900)]
Model::Relations: add error messages in create()

7 years agoController: add API/Relation
hylom [Wed, 22 Feb 2017 12:45:49 +0000 (21:45 +0900)]
Controller: add API/Relation

7 years agoPlugin::TT2Renderer: add the_path variable to stash
hylom [Wed, 22 Feb 2017 12:44:27 +0000 (21:44 +0900)]
Plugin::TT2Renderer: add the_path variable to stash

7 years agoPlugin::AntiCsrf: Add csrf_token() method to TT2 NS object
hylom [Wed, 22 Feb 2017 12:43:49 +0000 (21:43 +0900)]
Plugin::AntiCsrf: Add csrf_token() method to TT2 NS object

7 years agoWeb::Controller: add API/Token.pm
hylom [Wed, 22 Feb 2017 12:39:50 +0000 (21:39 +0900)]
Web::Controller: add API/Token.pm

7 years agoController::Login: add return path support to login page
hylom [Wed, 22 Feb 2017 12:37:56 +0000 (21:37 +0900)]
Controller::Login: add return path support to login page

7 years agoModel::Users: fix convert_old_prefs to work
hylom [Wed, 22 Feb 2017 10:47:29 +0000 (19:47 +0900)]
Model::Users: fix convert_old_prefs to work

7 years agotemplate: add friends settings to user page
hylom [Tue, 21 Feb 2017 12:17:42 +0000 (21:17 +0900)]
template: add friends settings to user page

7 years agoModel::Relations: change relation hash's key from number to string
hylom [Tue, 21 Feb 2017 12:17:17 +0000 (21:17 +0900)]
Model::Relations: change relation hash's key from number to string

7 years agoController::Login: add relation info to user-hash when user login
hylom [Tue, 21 Feb 2017 12:16:19 +0000 (21:16 +0900)]
Controller::Login: add relation info to user-hash when user login

7 years agoModel: rename Friends to Relations, Implement some functions and test
hylom [Tue, 21 Feb 2017 11:44:07 +0000 (20:44 +0900)]
Model: rename Friends to Relations, Implement some functions and test

7 years agoWeb: implement /~user/{friends|foes|fans|freaks}
hylom [Mon, 20 Feb 2017 12:00:44 +0000 (21:00 +0900)]
Web: implement /~user/{friends|foes|fans|freaks}

7 years agoModel::Users: add friends(), foes(), fans(), and freaks()
hylom [Mon, 20 Feb 2017 11:59:33 +0000 (20:59 +0900)]
Model::Users: add friends(), foes(), fans(), and freaks()

7 years agoModel: add Friends.pm
hylom [Mon, 20 Feb 2017 11:58:45 +0000 (20:58 +0900)]
Model: add Friends.pm

7 years agoModel::Users: remove duplicated update_config()
hylom [Mon, 20 Feb 2017 09:36:39 +0000 (18:36 +0900)]
Model::Users: remove duplicated update_config()

7 years agoController::User: implement friends timeline
hylom [Fri, 17 Feb 2017 11:32:10 +0000 (20:32 +0900)]
Controller::User: implement friends timeline

7 years agoModel::Timelime: select() now support "type" argument
hylom [Fri, 17 Feb 2017 11:31:29 +0000 (20:31 +0900)]
Model::Timelime: select() now support "type" argument

7 years agoWeb: implement /~username/{comments|journals|submissions}
hylom [Fri, 17 Feb 2017 10:47:43 +0000 (19:47 +0900)]
Web: implement /~username/{comments|journals|submissions}

7 years agoModel::Submissions: update select() and _select() to query by uid
hylom [Fri, 17 Feb 2017 10:46:55 +0000 (19:46 +0900)]
Model::Submissions: update select() and _select() to query by uid

7 years agoModel::Timeline: fix use of build_limit_clause() in select()
hylom [Fri, 17 Feb 2017 10:46:20 +0000 (19:46 +0900)]
Model::Timeline: fix use of build_limit_clause() in select()

7 years agoModel::Comments: add _generalize() and fix select() to support limit argument
hylom [Fri, 17 Feb 2017 10:45:35 +0000 (19:45 +0900)]
Model::Comments: add _generalize() and fix select() to support limit argument

7 years agoModel::Base: add build_orderby_clause method
hylom [Fri, 17 Feb 2017 10:44:36 +0000 (19:44 +0900)]
Model::Base: add build_orderby_clause method

7 years agopublic: add robots.txt
hylom [Fri, 17 Feb 2017 09:00:26 +0000 (18:00 +0900)]
public: add robots.txt

7 years agoWeb: implement user homepage
hylom [Fri, 3 Feb 2017 12:21:12 +0000 (21:21 +0900)]
Web: implement user homepage

7 years agoModel::Users: add _prefs_to_config method and update convert_old_prefs method
hylom [Fri, 3 Feb 2017 12:20:09 +0000 (21:20 +0900)]
Model::Users: add _prefs_to_config method and update convert_old_prefs method

7 years agoModel::Stories: fix some lowercase words in SQL
hylom [Fri, 3 Feb 2017 12:19:23 +0000 (21:19 +0900)]
Model::Stories: fix some lowercase words in SQL

7 years agoModel::Comments: add 'is_login' parameter to comments HASH
hylom [Fri, 3 Feb 2017 12:18:37 +0000 (21:18 +0900)]
Model::Comments: add 'is_login' parameter to comments HASH

7 years agoModel::Base: add build_limit_clause method
hylom [Fri, 3 Feb 2017 12:17:24 +0000 (21:17 +0900)]
Model::Base: add build_limit_clause method

7 years agoModel: add Timeline
hylom [Fri, 3 Feb 2017 12:16:59 +0000 (21:16 +0900)]
Model: add Timeline

7 years agoModel::Moderations.pm: rewrite SQL in select_with_m2 method
hylom [Thu, 2 Feb 2017 16:05:06 +0000 (01:05 +0900)]
Model::Moderations.pm: rewrite SQL in select_with_m2 method

7 years agopublic/js: fix to work moderation and metamoderation
hylom [Thu, 2 Feb 2017 13:48:41 +0000 (22:48 +0900)]
public/js: fix to work moderation and metamoderation

7 years agoController::API::Metamoderation: fix to work
hylom [Thu, 2 Feb 2017 13:48:09 +0000 (22:48 +0900)]
Controller::API::Metamoderation: fix to work

7 years agoController::API::Moderation: fix to use Moderations::select_with_m2 method
hylom [Thu, 2 Feb 2017 13:47:41 +0000 (22:47 +0900)]
Controller::API::Moderation: fix to use Moderations::select_with_m2 method

7 years agoPlugin::AntiCsrf: change token size, fix some methods to work, and ad hook in registe...
hylom [Thu, 2 Feb 2017 13:45:31 +0000 (22:45 +0900)]
Plugin::AntiCsrf: change token size, fix some methods to work, and ad hook in register method for auto validation

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