OSDN Git Service

newslash/newslash.git
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

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