portainer/app/docker
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
..
components feat(log-viewer): change line count default to 100 and add a since parameter (#2377) 2018-10-29 17:49:35 +13:00
filters fix(services): fix invalid replica count (#1990) (#2127) 2018-08-19 08:05:16 +02:00
helpers * chore(eslint): update esllint and remove unused variables 2018-08-22 17:33:06 +02:00
interceptors feat(endpoints): add the ability to browse offline endpoints (#2253) 2018-10-28 22:27:06 +13:00
models feat(container-stats): display cache in memory usage chart (#2383) 2018-10-28 15:45:02 +13:00
rest feat(endpoints): add the ability to browse offline endpoints (#2253) 2018-10-28 22:27:06 +13:00
services feat(log-viewer): change line count default to 100 and add a since parameter (#2377) 2018-10-29 17:49:35 +13:00
views feat(log-viewer): change line count default to 100 and add a since parameter (#2377) 2018-10-29 17:49:35 +13:00
__module.js feat(jobs): add the ability to run a job on a target endpoint #2374 2018-10-28 19:06:50 +13:00