Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sync#36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
TommyLemon merged 2 commits intoAPIJSON:masterfromzhangchunlin:master
Sep 17, 2019
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletionsCHANGELOG.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
# Changelog

- 0.2.0(2019-09-17)
- setup: add fix utf8 for reading file
- **fix json response structure to be same as original apijson api (java)**
- demo: use menu to display example list
- **add association query support**
- 0.1.3(2019-08-06)
- demo: use admlte style layout
- apijson-table: add sort support
- apply_vars -> _apply_vars to avoid mapping to view; don't show db exception detail for security
- apijson-viewedit: remove custom_tcolumns_render_generator in apijson-viewedit; add custom_viewedit_componet block
- 0.1.2 (2019-05-27)
- **add @expr support in apijson_get array**
- more strict check with model name in get action; fix request_tag should get with tag not with model name
- add vue component apijson-viewedit
- apijson post/put/delete should get model name from request_tag setting; add NECESSARY support in _put_one
- add functions.get_apijson_table
- apijson-table: add custom_tcolumns_render_generator prop; deault component is input in add modal; add Notice top config
- 0.1.1 (2019-05-07)
- more strict check to tag_POST; support DISALLOW in apijson_put
- fix DISALLOW and NECESSARY get wrongly problem
- vue component apijson-table: change hook function names; change "type" to "component" in fields config; override modal footer, only cancel button; add checkbox render; add set deleted support
- 0.1.0 (2019-04-02)
- First workable release
2 changes: 2 additions & 0 deletionsdemo/README.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,4 +21,6 @@ uliweb runserver

Then you can access http://localhost:8000 to try demo.

Users in demo for test: **admin**/**usera**/**userb**/**userc** , password: **123**

![](doc/imgs/demo_screenshot.png)
10 changes: 5 additions & 5 deletionsdemo/apps/apijson_demo/templates/index.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -28,35 +28,35 @@
<i-menu :active-name="0" @on-select="on_select_get" width="360px" ref='menu_get'>
<menu-group title="apijson get examples" v-if="tab_current==='tab_get'">
<menu-item v-for="(item,index) in request_get" :name="index" :key="index">
📋 {item.label}
<i class="fa fa-fw fa-file-code-o"></i> {item.label}
</menu-item>
</menu-group>
</i-menu>
<i-menu :active-name="0" @on-select="on_select_head" width="360px">
<menu-group title="apijson head examples" v-if="tab_current==='tab_head'">
<menu-item v-for="(item,index) in request_head" :name="index" :key="index">
📋 {item.label}
<i class="fa fa-fw fa-file-code-o"></i> {item.label}
</menu-item>
</menu-group>
</i-menu>
<i-menu :active-name="0" @on-select="on_select_post" width="360px">
<menu-group title="apijson post examples" v-if="tab_current==='tab_post'">
<menu-item v-for="(item,index) in request_post" :name="index" :key="index">
📋 {item.label}
<i class="fa fa-fw fa-file-code-o"></i> {item.label}
</menu-item>
</menu-group>
</i-menu>
<i-menu :active-name="0" @on-select="on_select_put" width="360px">
<menu-group title="apijson put examples" v-if="tab_current==='tab_put'">
<menu-item v-for="(item,index) in request_put" :name="index" :key="index">
📋 {item.label}
<i class="fa fa-fw fa-file-code-o"></i> {item.label}
</menu-item>
</menu-group>
</i-menu>
<i-menu :active-name="0" @on-select="on_select_delete" width="360px">
<menu-group title="apijson delete examples" v-if="tab_current==='tab_delete'">
<menu-item v-for="(item,index) in request_delete" :name="index" :key="index">
📋 {item.label}
<i class="fa fa-fw fa-file-code-o"></i> {item.label}
</menu-item>
</menu-group>
</i-menu>
Expand Down
Binary file modifieddemo/doc/imgs/demo_screenshot.png
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

[8]ページ先頭

©2009-2025 Movatter.jp