-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCHANGELOG
72 lines (59 loc) · 1.92 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
## 1.3.0
(date: Dec 25 2019)
- ** Restructure application layout
$ROOT/
|- wsgi.py
|- requirements.txt
|-/views/ :contains the views
|-/templates/ :contains templates
|-/static/ :contains static file and non user-generated data
|-/lib/ "contains shared code
|- config.py
|- models.py
|-/run/ :contains executables and scripts
|- scripts.py
|-/data/ :contains random files and user-generated data
- Added Flask-Login extension. And have ext.login_manager to access FL setup
- forms validation with WTForms
- flash_data, get_flashed_data: to add data instead of message for the user
- `Assembly.initialize`, can now accept Flask instance as first argument to make it work with
existing flask application.
- Expose asm functions as *. Now all functions in asm will be available from assembly
- Models are explicit, must be loaded manually
- Consolidate CLI asm-admin to asm
- rename cli.py to scripts.py
- Add Boxie configuration to deploy on own server
- Update doc
- Changed route endpoint format "module.x.Y:z" to "module.x.Y.z", with dot instead.
- new scripts command: 'asm gen:view' to generate views
- Added @decorate, to apply a decorator to all methods,
usually when a decorator was meant for only function. ie
```
@decorate(login_required)
class Index(Assembly):
...
```
- 'placeholder' & 'addto' extension to add content from subtemplate
```
{% placeholder "css" %}
{% addto "css" %}
<style>
...
</style>
{% endaddto %}
```
## 1.2.0
(Nov 27 2019)
- Update CLI `asm-admin sync-models` to execute `Model.__sync__()` to run routines on a table
upon creating or updating a table.
## 1.1.0
(Nov 24 2019)
- added set_cookie(), get_cookie(), delete_cookie()
- rename module 'extensions' to '_extensions' to indicate not to import
---
## 1.0.1
(Nov 20 2019)
- Added dependencies: pyyaml
---
## 1.0.0
(Nov 17 2019)