Skip to content

Releases: pyhoon/web-api-server-b4j

Web API Server v3.00

09 Nov 17:01
cb9c3a2
Compare
Choose a tag to compare

What's New
Version: 3.00

  • (new) depends on WebApiUtils v3.02
  • (new) depends on MiniORMUtils v1.14
  • (fix) issue with SSL settings in Release
  • (fix) issue in FindApiHandler to check missing keywords key in request body
  • (update) new Code Snippets to WebApiUtils for creating new Web and Api handlers
  • (update) rename JavaScripts files name and move from js to scripts folder inside www/assetst inside B4J additional libraries folder.

Web API Server v2.08

06 Jul 19:10
Compare
Choose a tag to compare

What's New
Version: 2.08

  • (new) WebApiUtils v2.08
  • (new) MiniORMUtils v1.13
  • (new) WebAPIController v1.07
  • (change) Use DbFile instead of DbName for SQLite in config.ini
  • (change) Move code from ConfigureDatabase sub to Initialize sub in DatabaseConfiguration class
  • (remove) Code for Firebird, PostgreSQL and MS SQL

Rename to "Web API Server (2.08).b4xtemplate" and put inside B4J additional libraries folder.

Web API Server v2.07

28 Apr 17:54
Compare
Choose a tag to compare

What's New
Version: 2.07

  • (new) WebApiUtils v2.07
  • (new) MiniORMUtils v1.11
  • (new) WebAPIController v1.06
  • (new) Main module
    • SHOW_API_ICON to control API icon visible on frontend top navbar
  • (new) ServerConfiguration class
    • setEnableHelp to disable API Documentation and icon in frontend top navbar
    • setSimpleResponse replaces 3 old variables
  • (change) ServerConfiguration class
    • rename some variables
    • change some Public subs to Private
  • (change) Some index.html files deleted

Web API Server v2.06

28 Apr 17:23
Compare
Choose a tag to compare

What's New
Version: 2.06

(new) WebApiUtils v2.06
(new) MiniORMUtils v1.10
(new) WebAPIController v1.05
(new) Main module is cleaner
(new) Added ServerConfiguration class
(new) Added DatabaseConfiguration class
(new) Added empty index.html files into assets folders
(new) FindController - case insensitive and wildcard search
(change) Table tbl_category renamed to tbl_categories
(change) ServerConfiguration Update sub renamed to Finalize
(change) better handling of default values in config.ini
(fix) bug in v2.06 beta 1, no database set by default in config.ini
(fix) bug in v2.06 beta 2, PostProduct line#233 in ProductsController causing all data inserted as Timestamp

Web API Server v2.05

28 Dec 18:41
01f4b05
Compare
Choose a tag to compare

What's New
Version: 2.05

  • (new) MinimaList API Server (version 2.05) as a separate template
  • (new) MiniORMUtils (version 1.07)
  • (new) MinimaListUtils (version 1.02)
  • (new) WebApiController (version 1.04)
  • (new) Use a single public variable SimpleResponse instead of 3 different public variables.
  • (update) HelpHandler - JavaScript files for search is no longer generated during compilation.

The files are now keep inside assets/js folder instead. SimpleResponse and standard JSON are supported.
Thanks to projects Support Ticketing System and Shao.

  • (update) Some JavaScript files have been renamed using period instead of dash.

Web API Server v2.04

28 Dec 18:13
f893b92
Compare
Choose a tag to compare

Web API Template 2
version: 2.04
Size: 447KB +

What's New?

  • (new) Web Front-end with CRUD demo (similar to version 1)
  • (new) B4X Web API Client (version 1.05) supported (note: set ConfigureResponse(False))
  • (new) WebApiUtils.b4xlib (version 2.04) (Utility and WebUtils modules merged)
  • (new) WebAPIController (version 1.03) is backed
  • (new) MinimaListUtils.b4xlib (version 1.00)
  • (new) Database support (tested with SQLite and MySQL)
  • (new) Build Standalone Package supported
  • (new) Additional library for jdbc connector is set by selecting a Build configuration during Debug
  • (new) ConfigureServer subs are now enabled by passing Boolean value instead of commenting the line
  • (new) Utilize B4J v10.00 Code Snippets feature
  • (new) DatabaseConnector (for SQLite, MySQL, SQL Server, Firebird, PostgreSQL, DBF)
  • (new) SeedData for MinimaList
  • (new) ConfigureResponse added SimpleResponseDataKey (when SimpleResponseFormat = "Map", default is data)
  • (new) JavaScript files for supporting SimpleResponseFormat
  • (new) ReturnApiResponse sub added
  • (fixed) ConfigureServer subs order changed
  • (fixed) ConfigurePort
  • (fixed) ConfigurePaths
  • (fixed) ConfigureElements list element indices during Debug
  • (fixed) ConfigureHandlers
  • (fixed) ConfigureResponse added SimpleResponseFormat = "Auto"
  • (removed) Timezone setting
  • (removed) DataController class
  • (removed) ReturnSimpleHttpResponse
  • (removed) MinimaListController (version 1.05) -> succeeded by WebAPIController
  • (updated) MinimaList subs are renamed
  • (updated) ReturnHttpResponse
  • (updated) All Controllers
  • (updated) All Handlers
  • (other) Clean up unused code and many other bugs fixes

I am happy to release this major update on this project template!

To use this template, copy all the attachments in post #1 to B4J additional libraries folder and create a new project from B4J menu New. Default database is SQLite.

To seed dummy data (when using MinimaList), browse to:
http://127.0.0.1:19800/web/?seed=1

This project has been tested many many times. Please report bugs if you found any.

Web API Server v2.03

14 Jun 13:27
a70b5d5
Compare
Choose a tag to compare
Update README.md

2.02.1: Merge pull request #23 from pyhoon/pyhoon-patch-1

18 May 07:25
433843e
Compare
Choose a tag to compare

Web API Server v2.02

17 May 09:58
95900d1
Compare
Choose a tag to compare
Merge pull request #20 from pyhoon/pyhoon-patch-1

Add files via upload

Web API Server v2.01

14 May 11:32
aa35594
Compare
Choose a tag to compare
Merge pull request #16 from pyhoon/pyhoon-patch-2

Add files via upload