portainer/app/docker/services
pc 8df64031e8 feat(log-viewer): change line count default to 100 and add a since parameter (#2377)
* chore(log-viewer): add the ability to use`since` parameter #1942

https://github.com/portainer/portainer/issues/1942#issuecomment-430246378

* chore(log-viewer): change lineCount to 100 #1942

https://github.com/portainer/portainer/issues/1942#issuecomment-430246378

* fix(log-viewer): js syntax typo for `;` and `'`

forget to lint the code, reported by codeclimate

* fix(log-viewer): use mementjs to format timestamp

1. use moment lib instead of define a function in filter.js(not the right place for this function, removed)
2. set sinceTimestamp init value to `24 hours ago`, as we just need to focus on the relative latest logs after the log-viewer loading, not all the logs(to speedup the process)
3. use moment().unix() to convert the `sinceTimestamp`  to local unix timestamp(not utc)

* chore(log-viewer): add the ability to select the datetime for `since`

* chore(log-viewer): add the ability to fetch logs from specific time
2018-10-29 17:49:35 +13:00
..
buildService.js feat(image-build): add the ability to build images (#1672) 2018-02-28 07:19:06 +01:00
configService.js refactor(app): introduce new project structure for the frontend (#1623) 2018-02-01 13:27:52 +01:00
containerService.js feat(log-viewer): change line count default to 100 and add a since parameter (#2377) 2018-10-29 17:49:35 +13:00
execService.js feat(agent): add agent support (#1828) 2018-05-06 09:15:57 +02:00
imageService.js feat(images): add the ability to export/import Docker images (#935) (#2073) 2018-07-26 15:09:48 +02:00
networkService.js feat(stacks): support compose v2.0 stack (#1963) 2018-06-11 15:13:19 +02:00
nodeService.js feat(host): replace engine view with host view (#2255) 2018-10-08 11:44:08 +13:00
pluginService.js refactor(app): introduce new project structure for the frontend (#1623) 2018-02-01 13:27:52 +01:00
secretService.js refactor(app): introduce new project structure for the frontend (#1623) 2018-02-01 13:27:52 +01:00
serviceService.js feat(log-viewer): change line count default to 100 and add a since parameter (#2377) 2018-10-29 17:49:35 +13:00
swarmService.js refactor(app): introduce new project structure for the frontend (#1623) 2018-02-01 13:27:52 +01:00
systemService.js feat(endpoints): add the ability to browse offline endpoints (#2253) 2018-10-28 22:27:06 +13:00
taskService.js feat(log-viewer): change line count default to 100 and add a since parameter (#2377) 2018-10-29 17:49:35 +13:00
volumeService.js * chore(eslint): update esllint and remove unused variables 2018-08-22 17:33:06 +02:00