HomeCode
Diffusion Zed 01cd99e5b1ef

[API] - Removing /api controller in index.php, that's stupid as it would…
01cd99e5b1efUnpublished

Unpublished Commit · Learn More

No further details are available.

Description

[API] - Removing /api controller in index.php, that's stupid as it would request user is logged

[Ship API]

  • Desktop apps auth: /appauthenticate and /appauthenticated done
  • Web auth yet to do (/authenticate)
  • New class Ship

[Perso requests]

  • To confirm desktop app auth, creating a perso request system. When the perso flag conf site.requests is defined, user is served the persorequest.php controller at perso select.

[SmartLine]

  • New perso flag : site.smartline.method (get/post) to pick the smartline form method
  • Adding a requests command to the smartline to see current perso requests
  • If the global variable $controller is defiend, this controller will be called. It's up to you in this controller to exit the script if you don't want further processing.

[Misc]

  • Some (c) Azhàr -> Zed
  • Adding a Perso::get static method to use when you'll make most call to the same Perso id, to share instances.
  • CSS: dark messages will use #000033 (dark blue) font color instead black
  • New helper method in core.php: string_starts_with($haystack, $needle, $case_senstive = true)
  • Moving some on select code to Perso on_select method (like site.lastlogin flag definition)
  • Adding a quux controller in dev release calling dev/quux.php -

[AJAX]

  • do.php is the script handling all ajax queries
  • URL can be customized in $Config['DoURL']

Details

Provenance
derecksonAuthored on
Parents
rZEDc88cdc78f182: [API] Adding boolean support in toXml()
Branches
Unknown
Tags
Unknown

Event Timeline