OSDN Git Service

newslash/newslash.git
6 years agotemplate: fix feed and boxes manager
hylom [Thu, 3 Aug 2017 13:36:49 +0000 (22:36 +0900)]
template: fix feed and boxes manager

6 years ago * utils/tools/import_sd_blocks: add codes for boxes import
hylom [Thu, 3 Aug 2017 13:36:10 +0000 (22:36 +0900)]
 * utils/tools/import_sd_blocks: add codes for boxes import

6 years agot: update models/feeds.t
hylom [Thu, 3 Aug 2017 13:35:29 +0000 (22:35 +0900)]
t: update models/feeds.t

6 years ago * Model::Feeds::Items: select() now support feed_name query parameter
hylom [Thu, 3 Aug 2017 13:34:58 +0000 (22:34 +0900)]
 * Model::Feeds::Items: select() now support feed_name query parameter

6 years ago * Model::Feeds: add `name` column to ns_feeds table
hylom [Thu, 3 Aug 2017 13:34:24 +0000 (22:34 +0900)]
 * Model::Feeds: add `name` column to ns_feeds table

6 years ago * Model::Boxes: add `title` column to ns_boxes table
hylom [Thu, 3 Aug 2017 13:33:29 +0000 (22:33 +0900)]
 * Model::Boxes: add `title` column to ns_boxes table

6 years ago * Model::Boxes: add support for security_level and type column to create() and update()
hylom [Thu, 3 Aug 2017 11:51:18 +0000 (20:51 +0900)]
 * Model::Boxes: add support for security_level and type column to create() and update()

6 years ago * Model::Boxes: add type column to ns_boxes table
hylom [Thu, 3 Aug 2017 11:43:24 +0000 (20:43 +0900)]
 * Model::Boxes: add type column to ns_boxes table

6 years ago * Model: add Model::Feeds::Items as feed_items
hylom [Thu, 3 Aug 2017 11:34:58 +0000 (20:34 +0900)]
 * Model: add Model::Feeds::Items as feed_items

6 years ago * Model::Feeds::Items: fix select() by feed_id
hylom [Thu, 3 Aug 2017 11:34:17 +0000 (20:34 +0900)]
 * Model::Feeds::Items: fix select() by feed_id

6 years ago * Model::Boxes: change ns_boxes table definition (add security_level column)
hylom [Thu, 3 Aug 2017 11:33:26 +0000 (20:33 +0900)]
 * Model::Boxes: change ns_boxes table definition (add security_level column)

6 years ago * Model::Feeds: add subscribers column to ns_feeds table
hylom [Thu, 3 Aug 2017 11:06:59 +0000 (20:06 +0900)]
 * Model::Feeds: add subscribers column to ns_feeds table

6 years agoutils: add tools/import_sd_blocks.pl
hylom [Wed, 2 Aug 2017 11:02:23 +0000 (20:02 +0900)]
utils: add tools/import_sd_blocks.pl

6 years ago * Model::Feeds: fetch_url() now can take timeout parameter
hylom [Wed, 2 Aug 2017 11:00:53 +0000 (20:00 +0900)]
 * Model::Feeds: fetch_url() now can take timeout parameter

6 years ago * FeedFetcher: use Newslash::Util->load_config()
hylom [Wed, 2 Aug 2017 10:59:53 +0000 (19:59 +0900)]
 * FeedFetcher: use Newslash::Util->load_config()

6 years agoadd Newslash::Util
hylom [Wed, 2 Aug 2017 10:59:25 +0000 (19:59 +0900)]
add Newslash::Util

6 years ago * FeedFetcher: insert latest_fetch_time and latest_Fetch_result when do fetch
hylom [Tue, 1 Aug 2017 15:12:36 +0000 (00:12 +0900)]
 * FeedFetcher: insert latest_fetch_time and latest_Fetch_result when do fetch

6 years ago * Model::Feeds: change ns_feeds.update_time not to update automatically
hylom [Tue, 1 Aug 2017 15:10:59 +0000 (00:10 +0900)]
 * Model::Feeds: change ns_feeds.update_time not to update automatically

6 years agoadd newslash_feed_fetcher
hylom [Tue, 1 Aug 2017 12:40:33 +0000 (21:40 +0900)]
add newslash_feed_fetcher

6 years agot: fix feeds related test code
hylom [Tue, 1 Aug 2017 12:40:18 +0000 (21:40 +0900)]
t: fix feeds related test code

6 years agochange feed API's parameters
hylom [Tue, 1 Aug 2017 12:39:39 +0000 (21:39 +0900)]
change feed API's parameters

6 years ago * Model::Feeds: fetch_url() takes ref of $url
hylom [Tue, 1 Aug 2017 12:39:01 +0000 (21:39 +0900)]
 * Model::Feeds: fetch_url() takes ref of $url

6 years ago * Model::Feeds: change ns_feed_items table definition
hylom [Tue, 1 Aug 2017 12:38:31 +0000 (21:38 +0900)]
 * Model::Feeds: change ns_feed_items table definition

6 years agoimplement feeds manager for admin
hylom [Fri, 28 Jul 2017 11:53:17 +0000 (20:53 +0900)]
implement feeds manager for admin

6 years ago * Web::Controller::API::Admin::Feed: now can use "id" parameter
hylom [Fri, 28 Jul 2017 11:52:25 +0000 (20:52 +0900)]
 * Web::Controller::API::Admin::Feed: now can use "id" parameter

6 years ago * Model::Feeds: change table definition because of column size resctiction
hylom [Fri, 28 Jul 2017 11:51:34 +0000 (20:51 +0900)]
 * Model::Feeds: change table definition because of column size resctiction

6 years agoimplement feed api
hylom [Fri, 28 Jul 2017 11:05:31 +0000 (20:05 +0900)]
implement feed api

6 years ago * Model::Feeds: rename fetch() to fetch_url()
hylom [Fri, 28 Jul 2017 09:51:55 +0000 (18:51 +0900)]
 * Model::Feeds: rename fetch() to fetch_url()

6 years agotest-container: update Dockerfile
hylom [Fri, 28 Jul 2017 09:50:04 +0000 (18:50 +0900)]
test-container: update Dockerfile

6 years ago * Model::Feeds: add status column to ns_feeds table, and add fetch()
hylom [Fri, 28 Jul 2017 09:49:16 +0000 (18:49 +0900)]
 * Model::Feeds: add status column to ns_feeds table, and add fetch()

6 years agoadd Feeds and Feeds::Items Models
hylom [Thu, 27 Jul 2017 12:03:05 +0000 (21:03 +0900)]
add Feeds and Feeds::Items Models

6 years ago * Web::Controller::API::Poll: fix vote() to suppress warnings
hylom [Thu, 27 Jul 2017 10:04:47 +0000 (19:04 +0900)]
 * Web::Controller::API::Poll: fix vote() to suppress warnings

6 years ago * t/models/stories.t: replace latest() to select() for deprecate latest()
hylom [Thu, 27 Jul 2017 10:04:09 +0000 (19:04 +0900)]
 * t/models/stories.t: replace latest() to select() for deprecate latest()

6 years ago * Model::Cowrapper: fix _decode_param() to work correctly
hylom [Thu, 27 Jul 2017 10:03:41 +0000 (19:03 +0900)]
 * Model::Cowrapper: fix _decode_param() to work correctly

6 years ago * Model::Stories: remove latest()
hylom [Tue, 25 Jul 2017 11:56:27 +0000 (20:56 +0900)]
 * Model::Stories: remove latest()

6 years ago * Model::Cowrapper: prepare to extend build_where_clause()
hylom [Tue, 25 Jul 2017 11:55:59 +0000 (20:55 +0900)]
 * Model::Cowrapper: prepare to extend build_where_clause()

6 years ago * Model::Cowrapper: cleanup codes
hylom [Tue, 25 Jul 2017 11:33:13 +0000 (20:33 +0900)]
 * Model::Cowrapper: cleanup codes

6 years ago * Web::Controller::Index: use select() insted of latest()
hylom [Tue, 25 Jul 2017 11:19:01 +0000 (20:19 +0900)]
 * Web::Controller::Index: use select() insted of latest()

6 years agoimplement "default sidebar" settings for admin
hylom [Tue, 25 Jul 2017 11:15:29 +0000 (20:15 +0900)]
implement "default sidebar" settings for admin

6 years ago/api/v1/users now support "user_id" parameter for admin
hylom [Tue, 25 Jul 2017 11:14:43 +0000 (20:14 +0900)]
/api/v1/users now support "user_id" parameter for admin

6 years ago * Model::Networks: separate Activities.pm
hylom [Tue, 25 Jul 2017 10:29:59 +0000 (19:29 +0900)]
 * Model::Networks: separate Activities.pm

6 years ago * Model::Cowrapper: make calculate_time_range() public
hylom [Tue, 25 Jul 2017 10:29:32 +0000 (19:29 +0900)]
 * Model::Cowrapper: make calculate_time_range() public

6 years ago * Model::Polls: now can take "question_id instead of "qid"
hylom [Mon, 24 Jul 2017 11:07:04 +0000 (20:07 +0900)]
 * Model::Polls: now can take "question_id instead of "qid"

6 years ago * Model::Cowrapper: fix build_where_clause always returns unique = 1
hylom [Mon, 24 Jul 2017 11:06:15 +0000 (20:06 +0900)]
 * Model::Cowrapper: fix build_where_clause always returns unique = 1

6 years agofix routing rules of archive page
hylom [Mon, 24 Jul 2017 10:45:59 +0000 (19:45 +0900)]
fix routing rules of archive page

6 years agotest: api/story.t more vorbose
hylom [Mon, 24 Jul 2017 10:43:10 +0000 (19:43 +0900)]
test: api/story.t more vorbose

6 years ago * Web::Controller::API::Story: fix get() to work
hylom [Mon, 24 Jul 2017 10:42:29 +0000 (19:42 +0900)]
 * Web::Controller::API::Story: fix get() to work

6 years ago * Model::Comments: _generalize() support "public" and "id" property, and delete...
hylom [Fri, 21 Jul 2017 12:45:06 +0000 (21:45 +0900)]
 * Model::Comments: _generalize() support "public" and "id" property, and delete "is_login" property

6 years ago * Model::Journals: _generalize() support "public" property
hylom [Fri, 21 Jul 2017 12:44:43 +0000 (21:44 +0900)]
 * Model::Journals: _generalize() support "public" property

6 years ago * Model::Stories: select() uses query builder, support new-table-order
hylom [Fri, 21 Jul 2017 12:43:48 +0000 (21:43 +0900)]
 * Model::Stories: select() uses query builder, support new-table-order

6 years agotemplate: fix sidebar editor form
hylom [Fri, 21 Jul 2017 12:34:28 +0000 (21:34 +0900)]
template: fix sidebar editor form

6 years ago * Model::Comments: select() now uses query builders and support new-table-order
hylom [Fri, 21 Jul 2017 12:33:28 +0000 (21:33 +0900)]
 * Model::Comments: select() now uses query builders and support new-table-order

6 years ago * Model::Cowrapper: _calculate_time_range() now takes more keywords
hylom [Fri, 21 Jul 2017 12:32:08 +0000 (21:32 +0900)]
 * Model::Cowrapper: _calculate_time_range() now takes more keywords

6 years ago * Model::Journals: remove _latest(), and fix codes for new-table-order
hylom [Fri, 21 Jul 2017 10:18:46 +0000 (19:18 +0900)]
 * Model::Journals: remove _latest(), and fix codes for new-table-order

6 years ago * Model::Cowrapper: rename build_orderby_clause() to build_order_by_clause() and...
hylom [Fri, 21 Jul 2017 10:17:24 +0000 (19:17 +0900)]
 * Model::Cowrapper: rename build_orderby_clause() to build_order_by_clause() and fix to work them

6 years agoadd archive link to journals index
hylom [Wed, 19 Jul 2017 11:02:47 +0000 (20:02 +0900)]
add archive link to journals index

6 years agofix journal archive's item order
hylom [Wed, 19 Jul 2017 11:01:39 +0000 (20:01 +0900)]
fix journal archive's item order

6 years ago * Model::Stories: now story object has "id" property equal to stoid
hylom [Wed, 19 Jul 2017 11:00:55 +0000 (20:00 +0900)]
 * Model::Stories: now story object has "id" property equal to stoid

6 years agofix to show journal and submissions's timestamp correctly
hylom [Wed, 19 Jul 2017 10:40:15 +0000 (19:40 +0900)]
fix to show journal and submissions's timestamp correctly

6 years agofix archive page's calendar to work correctly
hylom [Wed, 19 Jul 2017 10:31:58 +0000 (19:31 +0900)]
fix archive page's calendar to work correctly

6 years agoadd handler for journal archive
hylom [Thu, 13 Jul 2017 13:41:50 +0000 (22:41 +0900)]
add handler for journal archive

6 years agotemplate: rename some variables in archive
hylom [Thu, 13 Jul 2017 13:41:09 +0000 (22:41 +0900)]
template: rename some variables in archive

6 years ago * Model::Journals: select() accept "year", "month", "day" key
hylom [Thu, 13 Jul 2017 13:39:57 +0000 (22:39 +0900)]
 * Model::Journals: select() accept "year", "month", "day" key

6 years agoModel::Cowrapper: build_where_clause() now support 'timestamp' key
hylom [Thu, 13 Jul 2017 13:39:03 +0000 (22:39 +0900)]
Model::Cowrapper: build_where_clause() now support 'timestamp' key

6 years agoadd native-contents-ads to story
hylom [Tue, 11 Jul 2017 13:42:13 +0000 (22:42 +0900)]
add native-contents-ads to story

6 years agoshow topic icon in related stories box
hylom [Mon, 10 Jul 2017 12:36:18 +0000 (21:36 +0900)]
show topic icon in related stories box

6 years agotemplate: fix sidebar editor
hylom [Fri, 7 Jul 2017 10:45:20 +0000 (19:45 +0900)]
template: fix sidebar editor

6 years ago * Plugin::QuasiStaticContent: more vorbose error message
hylom [Fri, 7 Jul 2017 10:44:59 +0000 (19:44 +0900)]
 * Plugin::QuasiStaticContent: more vorbose error message

6 years agotemplate: shorten site header
hylom [Fri, 7 Jul 2017 09:45:54 +0000 (18:45 +0900)]
template: shorten site header

6 years agocss: separate some styles to acount-bar.less, nav-indexes.less
hylom [Fri, 7 Jul 2017 09:45:18 +0000 (18:45 +0900)]
css: separate some styles to acount-bar.less, nav-indexes.less

6 years ago Model::Journals: implemet count() and hard_delete(), remove latest(), use build_wher...
hylom [Thu, 6 Jul 2017 13:56:57 +0000 (22:56 +0900)]
 Model::Journals: implemet count() and hard_delete(), remove latest(), use build_where_clause in select()

6 years ago * Model::Users: fix build_where_clause() patameter
hylom [Thu, 6 Jul 2017 13:56:30 +0000 (22:56 +0900)]
 * Model::Users: fix build_where_clause() patameter

6 years ago * Util::TestMan: create_user() and create_admin() returns with srcids
hylom [Thu, 6 Jul 2017 13:55:35 +0000 (22:55 +0900)]
 * Util::TestMan: create_user() and create_admin() returns with srcids

6 years ago * Model::Cowrapper: change build_where_clause()'s arguments
hylom [Thu, 6 Jul 2017 13:54:56 +0000 (22:54 +0900)]
 * Model::Cowrapper: change build_where_clause()'s arguments

6 years ago * test-container/Dockerfile: update dependent packages
hylom [Tue, 4 Jul 2017 13:22:09 +0000 (22:22 +0900)]
 * test-container/Dockerfile: update dependent packages

6 years ago * Web::Controller::API::Story: fix to receive ISO8601 format timestamp
hylom [Tue, 4 Jul 2017 13:21:03 +0000 (22:21 +0900)]
 * Web::Controller::API::Story: fix to receive ISO8601 format timestamp

6 years ago * Model::Stories: select() now support "datetime_format" parameter
hylom [Tue, 4 Jul 2017 13:14:23 +0000 (22:14 +0900)]
 * Model::Stories: select() now support "datetime_format" parameter

6 years ago * Model::Stories: remove _latest()
hylom [Tue, 4 Jul 2017 13:13:46 +0000 (22:13 +0900)]
 * Model::Stories: remove _latest()

6 years agocheck 'public' parameter when story/stories to show
hylom [Tue, 4 Jul 2017 12:31:24 +0000 (21:31 +0900)]
check 'public' parameter when story/stories to show

6 years agoadd Template::Plpugin::MicroCalendar
hylom [Fri, 30 Jun 2017 12:57:06 +0000 (21:57 +0900)]
add Template::Plpugin::MicroCalendar

6 years agocss: add archive related css
hylom [Fri, 30 Jun 2017 12:56:49 +0000 (21:56 +0900)]
css: add archive related css

6 years agorefine editor code and to fix timestamp related problem
hylom [Fri, 30 Jun 2017 12:54:32 +0000 (21:54 +0900)]
refine editor code and to fix timestamp related problem

6 years agojs: move nsUtil's definition from base.js to ns-util.js
hylom [Fri, 30 Jun 2017 12:53:15 +0000 (21:53 +0900)]
js: move nsUtil's definition from base.js to ns-util.js

6 years ago * template/archive/index_header: fix to suppress warning message
hylom [Fri, 30 Jun 2017 10:57:27 +0000 (19:57 +0900)]
 * template/archive/index_header: fix to suppress warning message

6 years ago * Model::SlashDB: add warning message in createStory()
hylom [Fri, 30 Jun 2017 10:56:55 +0000 (19:56 +0900)]
 * Model::SlashDB: add warning message in createStory()

6 years agoArchive: show "not found" message when no item found
hylom [Fri, 30 Jun 2017 10:26:19 +0000 (19:26 +0900)]
Archive: show "not found" message when no item found

6 years ago * Model::Stories: fix typo
hylom [Fri, 30 Jun 2017 10:26:02 +0000 (19:26 +0900)]
 * Model::Stories: fix typo

6 years agoadd navigation to archive page
hylom [Thu, 29 Jun 2017 13:00:38 +0000 (22:00 +0900)]
add navigation to archive page

6 years ago * Model::Stories: fix count() to work correctly
hylom [Thu, 29 Jun 2017 13:00:02 +0000 (22:00 +0900)]
 * Model::Stories: fix count() to work correctly

6 years agoadd navigationheader to archive page (working...)
hylom [Wed, 28 Jun 2017 11:21:45 +0000 (20:21 +0900)]
add navigationheader to archive page (working...)

6 years ago * Model::Stories: implement count()
hylom [Wed, 28 Jun 2017 11:21:27 +0000 (20:21 +0900)]
 * Model::Stories: implement count()

6 years agorename Util::Formatters::format_datetime() to datetime_to_string()
hylom [Wed, 28 Jun 2017 11:20:44 +0000 (20:20 +0900)]
rename Util::Formatters::format_datetime() to datetime_to_string()

6 years agomove archive page's handler to Web::Controller::Archive
hylom [Tue, 27 Jun 2017 10:07:10 +0000 (19:07 +0900)]
move archive page's handler to Web::Controller::Archive

6 years agomove '/comments' handler from Web::Controller::Index to Web::Controller:Comments
hylom [Mon, 26 Jun 2017 10:37:48 +0000 (19:37 +0900)]
move '/comments' handler from Web::Controller::Index to Web::Controller:Comments

6 years ago * Model::Comments: fix select() to work order_by parameter
hylom [Mon, 26 Jun 2017 10:37:10 +0000 (19:37 +0900)]
 * Model::Comments: fix select() to work order_by parameter

6 years ago * Web::Controller::Poll: implement voting function
hylom [Mon, 26 Jun 2017 09:51:58 +0000 (18:51 +0900)]
 * Web::Controller::Poll: implement voting function

6 years ago * js/vue-newslash.js: add poll/vote endpoints
hylom [Fri, 23 Jun 2017 12:01:18 +0000 (21:01 +0900)]
 * js/vue-newslash.js: add poll/vote endpoints

6 years agoimplement Poll related API
hylom [Fri, 23 Jun 2017 11:59:33 +0000 (20:59 +0900)]
implement Poll related API

6 years ago * Util::Test: create_user() and create_admin_user() now update password when user...
hylom [Fri, 23 Jun 2017 11:58:38 +0000 (20:58 +0900)]
 * Util::Test: create_user() and create_admin_user() now update password when user exists

6 years ago * Model::Polls: implement vote()
hylom [Fri, 23 Jun 2017 11:03:07 +0000 (20:03 +0900)]
 * Model::Polls: implement vote()