Uliweb

Latest version: v0.6

Safety actively analyzes 621673 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.5

-----------------

* Fix OneToOne result object not be cached bug
* When access reversed OneToOne property, if OneToOne record not existed, it'll auto create
a blank object automatically. And if delete one record, it'll delete reversed onetoone
record also.
* Add lock protect when creating request and response local instance in `_open()` function
* Add ORM Model migrate support
* Refactor SortedDict with dict base class
* Add model_config app, to support dynamic create model
* Add model ipython notebook support
* Refact sqldot
* Add environ variables passing in uliweb shell command
* Change app_url syntax to {'suffix':} to {'prefix':} only for dict data type
* Add URL route option in settings, it is [URL_ROUTE], format is


[URL_ROUTE]
any_key_1 = ('mapping_str', 'replacement')
any_key_2 = ('mapping_str', 'replacement')

* Change uliweb jupyter extension load mechanism from automatically to `%load_ext uliweb`

0.4.1

-----------------

* Add new app sequence, you can use it to create sequence value.
* Fix generic version parameter passing to obj.save() bug, only when version is not False will be passed
* Improve nginx and supervisor config content for deployment
* Fix multi expose `expose('/')` and `expose('')` for the same URL bug
* Add `strict_slashes=False` to Map instance.
* Add `Reference()` with `reference_class` is `None`, it can replace `SelfReference`
* Add `ManyToMany()` with `reference_class` is `None`, it can implements self manytomany relationship.
* Fix `ManyToMany()` with through model references to the same model bug

0.4

-----------------
* Refactor template with tornado
* Fix Pickle default value process bug, will not convert empty value to ''
* Add staticize command
* Resume DEBUG_TEMPLATE option for template
* Fix count implement when there is group_by, limit, join, it'll use select count(*) from (select * from table)
* Add __debug__ parameter for tracing i18n language
* ORM add duplication support, so you can set it in CONNECTIONS options, it'll make definition of
Model engine simple
* Add `set_session()` function to orm
* Add `fieldname` parameter to Property, and fix column mapping process between property and table field
* Add `-z` paramter to `load` and `loadtable` command, thanks for linuxr
* Fix `tmp/templates_temp` creation

0.3.1

-----------------

* Add qqmail mail server backend support, thanks to Yubin Wang <harry198344 AT gmail.com>
* Add `yes` option, remove `--force` of makeapp,makeproject command
* Remove `has_options` attribute in Command class
* Fix `include` bug in ini
* Fix condition test bug of orm.get()
* Add `sqlshell` command
* Add `having` and `join` support to ORM
* Add whole database dump and load support 33
* Add NotFound to __all__ of orm
* Fix recorder bug
* Add `validatetemplate` command to validate syntax for template files

0.3

-----------------

* Fix pyini "key=" for raw output bug
* Fix objcache for Lazy field bug, it'll refresh first if found Lazy field
* Fix executing orm command raise Exception not be thrown bug
* Refact multidb support
* Change UserWarn to DeprecationWarning
* Fix syncdb for different table name between `Model.__tablename__` and settings bug
* Remove `get_cached()` and add `cache` parameter to `Model.get()`
* Add `get_local_cache()` and `clear_local_cache()` in order to compatiable
with SimpleFrame implementation
* ORM `Property.to_str()` will return string but not unicode for CHAR and VARCHAR.
* Simplify server_default, if integer given, it'll be convert to `text(n)`
* `ManyResult.all()` can receive a `cache` parameter
* Improve `dump()` and `load()`, add PickleType , ManyToMany support
* Refact objcache app implementation and add `exclude` config option
* Remove primary_key detect, because multi primary_key columns can make composite primary key,
add partition support for mysql

you can define:


__table_args__ = {
'mysql_partition_by':'HASH(YEAR(create_time))',
'mysql_partitions': '6'
}

* add None patch process, you can set '', 'empty, 'exception'.
* move uliweb/orm/middle*.py to uliweb/contrib/orm
* move uliweb/i18n/middle_i18n.py to uliweb/contrib/i18n
* move storage from core to utils directory
* improve count process
* Fix Reference and ManyToMany dump and load bug
* Add `is_in_web()` funciton, so you can test if current frame is in web executation
* Add `--gevent` support to call command
* Add `any` to Model, Result, ManyResult
* Add `clear_prefix()` to redis_cli APP, this feature need redis 2.6+ version
* Add version check to redis_cli APP, default is disabled
* Add `clear_table()` to objcache APP
* Add 'id' parameter to `get()` and `get_object()` and `get_cached_object()` functions,
so that if the ID can't be found in cache, condition (old parameter) will be used.
And when id and condition given both, only when id is not integer or valid expression
condition will be used. So in most cases, you don't need pass condition.
* If not set url option for session of database type, it'll automatically use ORM settings if exists
* Add settings and local_settings env variables support
* Fix count bug
* Change orm requirement.txt, add uliweb-alembic package
* generic app add avalon and mmgrid support
* Model.put() not is deprecated, you should use save
* `generic.py` add version support when saving, and add `save` callback parameter.

0.2.6

-----------------

* Add warning output for Reference class parameter of relation properties definition.
* Fix manual and total process bug in ListView and SelectListView
* Fix rawsql bug
* Add `get_object()` support in Generic ListView
* Fix `get_cached()` bug
* Fix process_files in generic add and edit functions bug
* Add `import readline` before enter shell environment
* change occ name to version
* Improve autocomplete in shell command
* Fix manytomany cached value is not used when do the save, because of not stored
in `_old_values`
* If you've already define primary key in Model, then it'll not create id property
for you, just like:


user_id = Field(int, primary_key=True, autoincrement=True)

* Fix sqldot bug and improve sqlhtml generation
* Eanble colored log output by default.
* Add recorder app, you can use it to record the visit url, and test it later

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.