Codex Team Capella Versions Save

Cloud service for image storage and delivery

v2.5

3 years ago

Now you can define uploading limits for clients (identified by IP address) by setting up quota and cycle params in.env file:

...
### Rate limiter params
# QUOTA is a number of images could be uploaded per target time CYCLE in seconds
# For example: not more 3 images per 60 seconds (quota=3, cycle=60)
RATE_LIMITER_QUOTA=3
RATE_LIMITER_CYCLE=60
#DISABLE_RATE_LIMITER=True

2.4.2

5 years ago
  • Fix — Early beforeSend ajax method. #132
  • Fix — Cannot choose image on mobile devices. Update Ajax package. #133

2.4.1

5 years ago
  • use package hawk.javascript from the separate bundle file
  • use @codexteam/ajax instead of codex.ajax and codex.transport
  • update codex-notifier package
  • update @babel's packages
  • replace extract-text-webpack-plugin to mini-css-extract-plugin
  • add cssnano to minify css bundle
  • remove version from package.json
  • fix postcss warnings
  • fix php notice "... always_populate_raw_post_data ..."
  • use Yarn as a package manager: package-lock.json -> yarn.lock
  • upload dir was created
  • .env file now has correct cache host for docker by default
  • a few docs fixes

v2.4

5 years ago

Now you can use filter cover to add tall, small or white-bordered images into your texts. It is easy and cool.

Cover

Param Type Description
color String Hex code of cover's color without hash symbol

Example: https://capella.pics/<image_id>/cover/eff2f5

Filter Result
/cover/eff2f5
/crop/150/cover/fee

Also we fixed cache critical bug #129.

v2.3

5 years ago

From this moment Capella return image's URL with an extension by default. Useful when you need to validate image's link.

https://capella.pics/69256e83-66e1-449a-b0c2-5414d332e3a6.jpg

You still can get an image by link without extension.

https://capella.pics/69256e83-66e1-449a-b0c2-5414d332e3a6

v2.2

5 years ago

Now Capella returns information about uploaded image:

  • mime type of image
  • width and height
  • average color of image in hex format
  • size in bytes

Example Response

{
    "success": true,
    "message": "Image uploaded",
    "id": "69256e83-66e1-449a-b0c2-5414d332e3a6",
    "url": "https:\/\/capella.pics\/69256e83-66e1-449a-b0c2-5414d332e3a6",
    "mime": "image\/jpg",
    "width": 1080,
    "height": 700,
    "color": "#9d908d",
    "size": "176769"
}

v2.1

6 years ago

Starting from this version Capella gets params for cache server from .env file. Maybe you'll need to update it. Check out .env.sample.

In this version we have improved code for developers:

  • added links to SDKs
  • guides for deployment and development
  • more source code comments
  • composer now available in php container

Also:

  • php-memcached support
  • do not save exif data with image
  • fixed bug with wrong image orientation

v2.0

6 years ago

Migrating to Capella 2.0

We added Docker files to this project. If you want to upgrade your Capella then do these two little steps:

  • Update path to Capella’s sources folder in nginx config from root /var/www/capella.pics; to root /var/www/capella.pics/capella;
  • Move vendor/ and upload/ dirs to capella directory in the project's root
$ mv vendor/ capella/
$ mv upload/ capella/

New in this version

  • paste images from clipboard now works in Safari
  • now you can upload image/tiff files
  • easy development with Capella's Docker containers
  • Webpack 4 as a client js build system

v1.2

6 years ago

Now you need less traffic and time to get images. Capella stores images in JPG format with quality 90.

v1.1

6 years ago

In this version:

  • New domain https://capella.pics/.
  • Design update for main page and result page with uploaded image.
  • You can upload image by drag-n-drop or Ctrl+V.
  • Capella will show message on error.
  • Described Capella API.