tryton-modules-web-shortener 6.0.1-3 source package in Ubuntu
Changelog
tryton-modules-web-shortener (6.0.1-3) sid; urgency=medium * Update the package URLS to https and the new mono repos location. * Bump the Standards-Version to 4.6.2, no changes needed. -- Mathias Behrle <email address hidden> Mon, 13 Feb 2023 12:37:16 +0100
Upload details
- Uploaded by:
- Debian Tryton Maintainers
- Uploaded to:
- Sid
- Original maintainer:
- Debian Tryton Maintainers
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc | |
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
tryton-modules-web-shortener_6.0.1-3.dsc | 2.5 KiB | 75dbfd632c912107d3bb430530adb583842b98eb1735643be6236969fcc85cd1 |
tryton-modules-web-shortener_6.0.1.orig.tar.gz | 23.4 KiB | 2b6bb64be03a0ccdedd04f61101c2f0d10da5f886e9059265453f4602213066f |
tryton-modules-web-shortener_6.0.1.orig.tar.gz.asc | 506 bytes | 38968a7d5ac7b453f3df85492cc66e726789555316c4e6700ca0f2ae959898a2 |
tryton-modules-web-shortener_6.0.1-3.debian.tar.xz | 12.0 KiB | 7ce019d56d4b600791f364cad03fd5266c337008050f4fc7dc17fc266433b18b |
Available diffs
- diff from 6.0.1-2 to 6.0.1-3 (691 bytes)
No changes file available.
Binary packages built by this source
- tryton-modules-web-shortener: Tryton application platform - web shortener module
Tryton is a high-level general purpose application platform. It is the base
of a complete business solution as well as a comprehensive health and hospital
information system (GNUHealth).
.
The web_shortener module allows URLs to be shortened. It counts the number of
times the URL is accessed and optionally triggers action.
.
The module defines a route `/s/<shortened_id>`
which will redirect the queries to the URL registered previously with
`ShortenedURL.get_url` .
.
Models that need to be callable from a shortened URL must define the method
`shortened_url_execute` . This class method will be called from the underlying
queue with the record and the keywords arguments transmitted when calling
`get_url`.
.
Shortened URL
*************
.
- Shortened URL: The shortened URL
- Redirect URL: The URL the request is redirected to
- Record: The record on which `method` will be executed
- Method: The name of the method to call on `record`
- Count: The number of times this shortened URL has been triggered
.
Configuration
*************
.
The web_shortener modules uses the parameter from the section:
.
- `[web]`:
.
- `shortener_base`: The base URL without path for shortened URL.
The default value is composed with the configuration `[web]` `hostname`.