OSDN Git Service

newslash/newslash.git
6 years agodebian: add newslash-utils package
hylom [Tue, 10 Oct 2017 09:22:49 +0000 (18:22 +0900)]
debian: add newslash-utils package

6 years agodebian: add environment setting to newslash-eventd.service
hylom [Tue, 10 Oct 2017 08:54:08 +0000 (17:54 +0900)]
debian: add environment setting to newslash-eventd.service

6 years agoEventd: fix module import in Handlers
hylom [Tue, 10 Oct 2017 08:53:44 +0000 (17:53 +0900)]
Eventd: fix module import in Handlers

6 years agodebian: update rules and newslash-sradjp.prerm
hylom [Tue, 10 Oct 2017 08:34:38 +0000 (17:34 +0900)]
debian: update rules and newslash-sradjp.prerm

6 years agodebian: add service file for eventd
hylom [Mon, 9 Oct 2017 15:15:54 +0000 (00:15 +0900)]
debian: add service file for eventd

6 years agoutils: add message related sqls
hylom [Mon, 9 Oct 2017 15:07:49 +0000 (00:07 +0900)]
utils: add message related sqls

6 years agouse cache in Controller::Timeline, Controller::API::Coment
hylom [Mon, 9 Oct 2017 15:07:08 +0000 (00:07 +0900)]
use cache in Controller::Timeline, Controller::API::Coment

6 years agochange ns_events table definition
hylom [Mon, 9 Oct 2017 14:41:34 +0000 (23:41 +0900)]
change ns_events table definition

6 years agoEventd: rename journal:post template
hylom [Mon, 9 Oct 2017 14:29:50 +0000 (23:29 +0900)]
Eventd: rename journal:post template

6 years agoEventd: add Submission Handler
hylom [Mon, 9 Oct 2017 14:28:20 +0000 (23:28 +0900)]
Eventd: add Submission Handler

6 years ago * Model::Users: select() now fallback to _select_user()
hylom [Mon, 9 Oct 2017 14:27:26 +0000 (23:27 +0900)]
 * Model::Users: select() now fallback to _select_user()

6 years ago * Util::TestMan: add create_submission()
hylom [Mon, 9 Oct 2017 14:26:58 +0000 (23:26 +0900)]
 * Util::TestMan: add create_submission()

6 years ago * Model::Submissions: hard_delte() can take id parameter
hylom [Mon, 9 Oct 2017 14:26:34 +0000 (23:26 +0900)]
 * Model::Submissions: hard_delte() can take id parameter

6 years ago * Model::Messages: fix return value of create()
hylom [Mon, 9 Oct 2017 14:25:56 +0000 (23:25 +0900)]
 * Model::Messages: fix return value of create()

6 years ago * Model::Cowrapper: add gt/lt/ge/le where clause support
hylom [Mon, 9 Oct 2017 14:25:28 +0000 (23:25 +0900)]
 * Model::Cowrapper: add gt/lt/ge/le where clause support

6 years agot: add test for eventd journal handler
hylom [Mon, 9 Oct 2017 13:35:46 +0000 (22:35 +0900)]
t: add test for eventd journal handler

6 years agoEventd: fix journal:post handler
hylom [Mon, 9 Oct 2017 13:35:15 +0000 (22:35 +0900)]
Eventd: fix journal:post handler

6 years ago * Model::Journal: fix _generalize() for journal_id property
hylom [Mon, 9 Oct 2017 13:34:47 +0000 (22:34 +0900)]
 * Model::Journal: fix _generalize() for journal_id property

6 years agot: add eventd test
hylom [Sun, 8 Oct 2017 18:06:01 +0000 (03:06 +0900)]
t: add eventd test

6 years agot: rewrite test for Model::Messages
hylom [Sun, 8 Oct 2017 18:05:25 +0000 (03:05 +0900)]
t: rewrite test for Model::Messages

6 years agoEventd: fix Handler::Comment to work
hylom [Sun, 8 Oct 2017 18:05:08 +0000 (03:05 +0900)]
Eventd: fix Handler::Comment to work

6 years agoEventd: add create_message() to Handler.pm
hylom [Sun, 8 Oct 2017 18:04:23 +0000 (03:04 +0900)]
Eventd: add create_message() to Handler.pm

6 years ago * Model::WebMessages: fix select(), add hard_delete()
hylom [Sun, 8 Oct 2017 18:03:52 +0000 (03:03 +0900)]
 * Model::WebMessages: fix select(), add hard_delete()

6 years ago * Model::Messages: change rewrite create(), now create message_log
hylom [Sun, 8 Oct 2017 18:03:24 +0000 (03:03 +0900)]
 * Model::Messages: change rewrite create(), now create message_log

6 years ago * Model::Messages: remove _render()
hylom [Sun, 8 Oct 2017 18:02:56 +0000 (03:02 +0900)]
 * Model::Messages: remove _render()

Acked-by: hylom <hylom@users.sourceforge.jp>
6 years ago * Model::Events: add select()
hylom [Sun, 8 Oct 2017 17:55:36 +0000 (02:55 +0900)]
 * Model::Events: add select()

6 years agofix message related template
hylom [Sun, 8 Oct 2017 17:55:20 +0000 (02:55 +0900)]
fix message related template

6 years agoremove unused template
hylom [Sun, 8 Oct 2017 17:55:10 +0000 (02:55 +0900)]
remove unused template

6 years ago * Model::TestMan: add create_{comment|journal|story}()
hylom [Sun, 8 Oct 2017 17:52:24 +0000 (02:52 +0900)]
 * Model::TestMan: add create_{comment|journal|story}()

6 years ago * Util::Test: add create/delete comment/journal methods
hylom [Sun, 8 Oct 2017 17:51:36 +0000 (02:51 +0900)]
 * Util::Test: add create/delete comment/journal methods

6 years agoEventd: Add/Fix Comment and Journal Handler
hylom [Fri, 6 Oct 2017 12:34:46 +0000 (21:34 +0900)]
Eventd: Add/Fix Comment and Journal Handler

6 years ago * Model::Messages: restructure create()
hylom [Fri, 6 Oct 2017 12:34:00 +0000 (21:34 +0900)]
 * Model::Messages: restructure create()

6 years ago * Model::Journals: select() now accept "discussion_id"/"discussion" parameter
hylom [Fri, 6 Oct 2017 12:33:30 +0000 (21:33 +0900)]
 * Model::Journals: select() now accept "discussion_id"/"discussion" parameter

6 years agofix design & layout for mobile
hylom [Fri, 6 Oct 2017 10:57:33 +0000 (19:57 +0900)]
fix design & layout for mobile

6 years agofix some designs for mobile
hylom [Thu, 5 Oct 2017 12:04:58 +0000 (21:04 +0900)]
fix some designs for mobile

6 years ago * Controller::API::Comment: check comment allowed when post
hylom [Thu, 5 Oct 2017 10:53:16 +0000 (19:53 +0900)]
 * Controller::API::Comment: check comment allowed when post

6 years agofix comment allowed/denyed related problems
hylom [Thu, 5 Oct 2017 10:47:22 +0000 (19:47 +0900)]
fix comment allowed/denyed related problems

6 years ago * Controller::Journal: use is_comment_allowed to check comment allowed
hylom [Thu, 5 Oct 2017 10:46:32 +0000 (19:46 +0900)]
 * Controller::Journal: use is_comment_allowed to check comment allowed

6 years ago * Model::Relations: add is_friend_or_fof() and is_foe_or_eof()
hylom [Thu, 5 Oct 2017 10:46:08 +0000 (19:46 +0900)]
 * Model::Relations: add is_friend_or_fof() and is_foe_or_eof()

6 years ago * Model::Discussions: add is_comment_allowed()
hylom [Thu, 5 Oct 2017 10:45:51 +0000 (19:45 +0900)]
 * Model::Discussions: add is_comment_allowed()

6 years agoadd some icons to comment form
hylom [Wed, 4 Oct 2017 17:43:12 +0000 (02:43 +0900)]
add some icons to comment form

6 years agocss: add transform.less
hylom [Wed, 4 Oct 2017 17:42:40 +0000 (02:42 +0900)]
css: add transform.less

6 years agofix journal's comment settings to work
hylom [Wed, 4 Oct 2017 17:22:03 +0000 (02:22 +0900)]
fix journal's comment settings to work

6 years agoapply comment status to journal page
hylom [Wed, 4 Oct 2017 16:58:59 +0000 (01:58 +0900)]
apply comment status to journal page

6 years agotemplate: change comment settings parameter's order
hylom [Wed, 4 Oct 2017 16:58:24 +0000 (01:58 +0900)]
template: change comment settings parameter's order

6 years agofix sidebar
hylom [Wed, 4 Oct 2017 16:57:47 +0000 (01:57 +0900)]
fix sidebar

6 years agochange create account page's url
hylom [Wed, 4 Oct 2017 16:57:28 +0000 (01:57 +0900)]
change create account page's url

6 years ago * Model::Relations: fix friends() etc. parameters, add is_friend()/is_foe()/is_fof...
hylom [Wed, 4 Oct 2017 16:56:15 +0000 (01:56 +0900)]
 * Model::Relations: fix friends() etc. parameters, add is_friend()/is_foe()/is_fof()/is_eof()

6 years ago * Model::Journals: fix create() to set 'discussion' parameter correctly
hylom [Wed, 4 Oct 2017 16:55:10 +0000 (01:55 +0900)]
 * Model::Journals: fix create() to set 'discussion' parameter correctly

6 years agofix comment style
hylom [Wed, 4 Oct 2017 16:54:44 +0000 (01:54 +0900)]
fix comment style

6 years agofix pager style
hylom [Wed, 4 Oct 2017 12:09:46 +0000 (21:09 +0900)]
fix pager style

6 years agotemplate: fix common/article/article for journal body show doubled
hylom [Wed, 4 Oct 2017 11:47:05 +0000 (20:47 +0900)]
template: fix common/article/article for journal body show doubled

6 years agoadd /~<user>/journal for compatibility
hylom [Wed, 4 Oct 2017 11:43:18 +0000 (20:43 +0900)]
add /~<user>/journal for compatibility

6 years ago * Plugin::Canonical: add canonical table
hylom [Wed, 4 Oct 2017 11:42:59 +0000 (20:42 +0900)]
 * Plugin::Canonical: add canonical table

6 years ago * Controller::APU::journal: fix 'promotype' parameter typo
hylom [Wed, 4 Oct 2017 11:20:13 +0000 (20:20 +0900)]
 * Controller::APU::journal: fix 'promotype' parameter typo

6 years agoadd "enable auto preview" button to article editor
hylom [Wed, 4 Oct 2017 11:13:50 +0000 (20:13 +0900)]
add "enable auto preview" button to article editor

6 years agofix unwanted warn
hylom [Wed, 4 Oct 2017 11:13:35 +0000 (20:13 +0900)]
fix unwanted warn

6 years agofix design and layout for messages page
hylom [Tue, 3 Oct 2017 14:20:02 +0000 (23:20 +0900)]
fix design and layout for messages page

6 years agoadd files for /admin/firehose
hylom [Tue, 3 Oct 2017 14:19:36 +0000 (23:19 +0900)]
add files for /admin/firehose

6 years agofix to show error message when login not failed
hylom [Tue, 3 Oct 2017 13:56:57 +0000 (22:56 +0900)]
fix to show error message when login not failed

6 years agoimplement /admin/firehose/<id> for test
hylom [Tue, 3 Oct 2017 13:34:21 +0000 (22:34 +0900)]
implement /admin/firehose/<id> for test

6 years agotemplate: support feed type
hylom [Tue, 3 Oct 2017 13:34:12 +0000 (22:34 +0900)]
template: support feed type

6 years ago * Model::Timeline: fix _select_global()
hylom [Tue, 3 Oct 2017 13:33:50 +0000 (22:33 +0900)]
 * Model::Timeline: fix _select_global()

6 years ago * Model::Cowrapper: fix generic_select()
hylom [Tue, 3 Oct 2017 13:09:39 +0000 (22:09 +0900)]
 * Model::Cowrapper: fix generic_select()

6 years ago * Newslash::Model: add select(), create(), hard_delete()
hylom [Tue, 3 Oct 2017 13:09:00 +0000 (22:09 +0900)]
 * Newslash::Model: add select(), create(), hard_delete()

6 years ago * Model::Submissions: fix to get valid primary_topics infomation
hylom [Tue, 3 Oct 2017 12:22:43 +0000 (21:22 +0900)]
 * Model::Submissions: fix to get valid primary_topics infomation

6 years ago * Model::Journals: fix to not display non-public items
hylom [Tue, 3 Oct 2017 12:07:34 +0000 (21:07 +0900)]
 * Model::Journals: fix to not display non-public items

6 years agocss: fix sidebar stylesheet
hylom [Mon, 2 Oct 2017 15:23:47 +0000 (00:23 +0900)]
css: fix sidebar stylesheet

6 years ago * Controller::API::Admin::Feed: _fetch() now use global config value
hylom [Mon, 2 Oct 2017 14:48:09 +0000 (23:48 +0900)]
 * Controller::API::Admin::Feed: _fetch() now use global config value

6 years ago * Model::Feeds: fetch_url() can accept hashref as options
hylom [Mon, 2 Oct 2017 14:47:40 +0000 (23:47 +0900)]
 * Model::Feeds: fetch_url() can accept hashref as options

6 years agoFeedFetcher: use global config
hylom [Mon, 2 Oct 2017 14:17:16 +0000 (23:17 +0900)]
FeedFetcher: use global config

6 years ago * Model::Feeds: fetch_url() now support "http_proxy", "http_proxy", "fetch_timeout"
hylom [Mon, 2 Oct 2017 14:16:24 +0000 (23:16 +0900)]
 * Model::Feeds: fetch_url() now support "http_proxy", "http_proxy", "fetch_timeout"

6 years agotemplate: add common/user
hylom [Mon, 2 Oct 2017 13:17:23 +0000 (22:17 +0900)]
template: add common/user

6 years agoadd Plugin::Canonical
hylom [Mon, 2 Oct 2017 13:16:52 +0000 (22:16 +0900)]
add Plugin::Canonical

6 years agotemplate: fix noindex settings and add canonical tag to common/header
hylom [Mon, 2 Oct 2017 13:16:22 +0000 (22:16 +0900)]
template: fix noindex settings and add canonical tag to common/header

6 years agotest-container: fix docker parameter to enable https
hylom [Mon, 2 Oct 2017 13:14:50 +0000 (22:14 +0900)]
test-container: fix docker parameter to enable https

6 years agoforce noindex all pages
hylom [Fri, 29 Sep 2017 13:08:24 +0000 (22:08 +0900)]
force noindex all pages

6 years agofix User homepage
hylom [Fri, 29 Sep 2017 13:05:55 +0000 (22:05 +0900)]
fix User homepage

6 years ago * Model::Users::Friends: fix _get_friends()
hylom [Fri, 29 Sep 2017 13:05:23 +0000 (22:05 +0900)]
 * Model::Users::Friends: fix _get_friends()

6 years ago * Model::Journals: fix select() problem when uid given
hylom [Fri, 29 Sep 2017 13:04:43 +0000 (22:04 +0900)]
 * Model::Journals: fix select() problem when uid given

6 years agotemplate: fix author's url
hylom [Fri, 29 Sep 2017 10:54:45 +0000 (19:54 +0900)]
template: fix author's url

6 years ago * js/ns-util.js: fix decodeMySQLDateTime() cannot work in Safari
hylom [Fri, 29 Sep 2017 10:49:30 +0000 (19:49 +0900)]
 * js/ns-util.js: fix decodeMySQLDateTime() cannot work in Safari

6 years agonow supporting url only submission
hylom [Thu, 28 Sep 2017 11:37:57 +0000 (20:37 +0900)]
now supporting url only submission

6 years ago * Model::Submissions: create() now supprot 'url' arguments
hylom [Thu, 28 Sep 2017 11:37:21 +0000 (20:37 +0900)]
 * Model::Submissions: create() now supprot 'url' arguments

6 years ago * Model::Tags: fix error to use any()
hylom [Thu, 28 Sep 2017 11:36:56 +0000 (20:36 +0900)]
 * Model::Tags: fix error to use any()

6 years agojs: fix getComments() in newslash.js
hylom [Thu, 28 Sep 2017 11:36:12 +0000 (20:36 +0900)]
js: fix getComments() in newslash.js

6 years ago * Model::Timeline: fix tags related codes in select()
hylom [Thu, 28 Sep 2017 10:06:41 +0000 (19:06 +0900)]
 * Model::Timeline: fix tags related codes in select()

6 years ago * Model::Submission: fix tags related codes
hylom [Thu, 28 Sep 2017 10:06:21 +0000 (19:06 +0900)]
 * Model::Submission: fix tags related codes

6 years ago * Model::Journals: select() now returns tags information too
hylom [Thu, 28 Sep 2017 10:05:54 +0000 (19:05 +0900)]
 * Model::Journals: select() now returns tags information too

6 years ago * Model::Tags: add is_reserved_name() and select_for_items()
hylom [Thu, 28 Sep 2017 10:05:25 +0000 (19:05 +0900)]
 * Model::Tags: add is_reserved_name() and select_for_items()

6 years agoimplement motd
hylom [Wed, 27 Sep 2017 10:44:29 +0000 (19:44 +0900)]
implement motd

6 years ago * Model::Timeline: implement _select_tags() to query tags info
hylom [Wed, 27 Sep 2017 10:23:05 +0000 (19:23 +0900)]
 * Model::Timeline: implement _select_tags() to query tags info

6 years agofix some submission editor's design
hylom [Wed, 27 Sep 2017 10:22:38 +0000 (19:22 +0900)]
fix some submission editor's design

6 years agorevert font size
hylom [Wed, 27 Sep 2017 09:38:50 +0000 (18:38 +0900)]
revert font size

6 years agot: add test for Model::Topics
hylom [Tue, 26 Sep 2017 13:39:41 +0000 (22:39 +0900)]
t: add test for Model::Topics

6 years agoeditor now support tag editing
hylom [Tue, 26 Sep 2017 13:39:21 +0000 (22:39 +0900)]
editor now support tag editing

6 years agocss: fix font size
hylom [Tue, 26 Sep 2017 13:38:58 +0000 (22:38 +0900)]
css: fix font size

6 years ago * Model::Submission: support tagging in create()
hylom [Tue, 26 Sep 2017 13:37:29 +0000 (22:37 +0900)]
 * Model::Submission: support tagging in create()

6 years agoadd Model::Topics
hylom [Tue, 26 Sep 2017 13:36:54 +0000 (22:36 +0900)]
add Model::Topics

6 years agofix: preview not shown in submission page
hylom [Tue, 26 Sep 2017 10:54:49 +0000 (19:54 +0900)]
fix: preview not shown in submission page