Skip to content

Commit

Permalink
Init Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxso committed Aug 27, 2021
0 parents commit 257d3d7
Show file tree
Hide file tree
Showing 181 changed files with 22,221 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.DS_Store
*.pyc
*$py.class
*~
.*.sw[po]
dist/
*.egg-info
*.egg
*.egg/
*.eggs
doc/__build/*
build/
.build/
pip-log.txt
.directory
erl_crash.dump
*.db
Documentation/
.tox/
.ropeproject/
.project
.pydevproject
.idea
.vagrant
env
venv
*.retry
.cache/
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
dist: xenial
language: python
os:
- linux
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8-dev"
- "pypy"
matrix:
allow_failures:
- python: "3.8-dev"
install:
- pip install tox-travis
before_script:
- pip freeze
script:
- tox
139 changes: 139 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
Celery Flower
=============

Here you can see the full list of changes between each release.

Version 0.9
-----------

Released on March 19 2016

- workers can be sorted and filtered
- tasks can be sorted, filtered by name, state, worker, runtime, etc.
- tasks columns can be reordered and customized
- tasks columns for worker, retries, revoked, expires, eta, etc.
- pagination of tasks
- GitHub Auth support
- --max_workers option for limiting the number of workers
- --unix_socket option for running with unix socket
- bug fixes

Version 0.8
-----------

Released on March 22 2015

- Google OAuth 2.0 support
- tasks can be sorted by state, received and started times
- tasks can be filters by time range
- --conf option to change the default configuration file
- --enable_events option to disable periodic `enable_events` commands
- show time in natural format (e.g. 3 minutes ago)
- format_task option to filter out sensitive information
- exceptions are shown as a result for failed tasks
- performance improvements
- improvements in monitor page
- improvements in docs
- improvements in logging
- bug fixes

Version 0.7
-----------

Released on May 25 2014

- documentation
- --basic_auth option accepts multiple basic http auth users
- configuration options can be passed through `flowerconfig.py` file
- --cookie_secret option for setting secure cookie secret
- new task info api
- --auto_refresh option allows to disable dashboard auto-refreshes
- `received` and `started` time columns for tasks dashboard
- man page

Version 0.6
-----------

Released on Nov 10 2013

- Python 3 support
- SSL support
- new api docs
- UI improvements
- api error reporting and validation improvements
- tasks api accepts `async_apply` options
- --debug option sets logging level to DEBUG
- tasks in RETRY state can be revoked
- --xheaders option enables X-Real-Ip/X-Forwarded-For and X-Scheme/X-Forwarded-Proto headers
- monitor update interval can be changed with `updateInterval` url param
- --broker_api option is not required for Redis

Version 0.5
-----------

Released on Apr 23 2013

- broker monitor for RabbitMQ and Redis
- HTTP Basic Auth
- --auth option accepts an email regexp
- flower state can be saved with --persistent option
- database name can be changed with --db option
- number of in-memory tasks can be limited with --max_tasks option
- task runtime graph
- --url_prefix option allows to deploy flower on non-root URLs
- flower detects inactivity and stops inspecting workers

Version 0.4
-----------

Released on Oct 16 2012

- tasks can be invoked via REST API
- inspect timeout can be changed with --inspect_timeout option
- flower --address option allows to bind to specific IP address
- tasks can be filtered by state
- broker url is available on workers page
- long args/kwargs are truncated on tasks page
- Google OpenID authentication

Version 0.3
-----------

Released on Aug 14 2012

- flower --inspect option for disabling worker inspects
- websocket api for getting real-time task events
- real-time monitoring graphs for succeeded and failed tasks
- api for managing workers and tasks
- tasks can be revoked and terminated
- worker view shows autoscaler options
- worker view shows worker's PID

Version 0.2
-----------

Released on Jul 24 2012

- configuration viewer for each worker
- improves UI
- adds error pages
- warns about unsupported transports
- periodically enables events

Version 0.1
-----------

Released on Jul 09 2012

- workers dashboard with auto refresh
- worker pool control commands (restart, grow/shrink, autoscale)
- worker pool options viewer
- broker options viewer
- active queues options viewer
- consumer addition and cancellation
- processed tasks statistics
- active tasks viewer
- scheduled tasks viewer
- reserved tasks viewer
- task options viewer
- task limit control (rate limits, hard and soft timeouts)
89 changes: 89 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
======================================
Contributors (in chronological order)
======================================

Mher Movsisyan
Ask Solem
Lukasz Marcin Dobrzanski
Alexander Koshelev
Gary Linscott
Tommaso Barbugli
Miguel Gaiowski
Matt Hughes
Romain Commandé
Andres Riancho
Jet Zheung
Audrius Butkevicius
Yulian Slobodyan
Rob O'Dwyer
Horace Thomas
Kit Sunde
Adam Greig
Luciano Pacheco
Miki Tebeka
Michael J. Schultz
TJ Kells
Geoff Jukes
Peter De Vries
Lisa Chung
Sabeel Saif Hakim
Gaurav Dadhania
Charlie Marshall
Benjamin Drung
David Thorman
Hong Minhee
John Costa
Iuri de Silvio
Balthazar Rouberol
Alexandre Ferland
Florian Glesser
Tomasz Pazurkiewicz
Benjamin Toueg
Rob Hoelz
Tadej Janež
Corey Farwell
Thomas Grainger
Tom Mortimer-Jones
Konstantinos Koukopoulos
Samuel Cormier-Iijima
David Matson
Paulo SantAnna
Sanchit Arora
Ilya Lebedev
Wendy Liu
Mike Helmick
Ilya Georgievsky
Raghuram Onti Srinivasan
Michael Kahn
Gaurav Kumar
Simon Westphahl
Pedro Ferreira
Danilo Resende
Kevin Wu
Vinay Karanam
Rodrigo Pinheiro Matias
Thomas Boquet
Misha Behersky
Sebastian Kalinowski
Jingyu Zhou
Maxim Krivodaev
Alli Witheford
Alexander Zaitsev
Anton Prokhorov
Sharang Phadke
Moinuddin Quadri
John Arnold
Scott Kruger
David Schneider
S M Ahasanul Haque
Leo Singer
Pavel Savchenko
Bhargav Srinivasan
Josiah Berkebile
Deniz Dogan
Aliaksei Urbanski
Mike Dearman
Francisco J. Capdevila
Scott Allen
Johan Adami
Wen YE
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM python:alpine

# Get latest root certificates
RUN apk add --no-cache ca-certificates && update-ca-certificates

# Install the required packages
RUN pip install --no-cache-dir redis flower

# PYTHONUNBUFFERED: Force stdin, stdout and stderr to be totally unbuffered. (equivalent to `python -u`)
# PYTHONHASHSEED: Enable hash randomization (equivalent to `python -R`)
# PYTHONDONTWRITEBYTECODE: Do not write byte files to disk, since we maintain it as readonly. (equivalent to `python -B`)
ENV PYTHONUNBUFFERED=1 PYTHONHASHSEED=random PYTHONDONTWRITEBYTECODE=1

# Default port
EXPOSE 5555

# Run as a non-root user by default, run as user with least privileges.
USER nobody

ENTRYPOINT ["flower"]
28 changes: 28 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright (c) 2012, Mher Movsisyan and individual contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

* Neither the name of the Celery Flower nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
10 changes: 10 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
include AUTHORS
include CHANGES
include LICENSE
include MANIFEST.in
include README.rst
recursive-include docs *
recursive-include flower/static *
recursive-include flower/templates *
recursive-include tests *
recursive-include requirements *.txt
Loading

0 comments on commit 257d3d7

Please sign in to comment.