Implement server-to-server encryption (RINO) using php-encryption library as "RINO 2", deprecate "RINO 1" (issue #1655) (fabrixxm)
Fix connection with Diaspora "freelove" account (issue #1572) (annando)
Various SQL speedups (annando)
- Port of Javascript DatePicker input from RedMatrix (rabuzarus)
+ Port of JavaScript DatePicker input from RedMatrix (rabuzarus)
Port of RedMatrix archive widget (rabuzarus)
Load profile owner settings for theme on profile page (rabuzarus)
Move HTML code from php into templates (rabuzarus)
### JavaScript hooks
The main Friendica script provides hooks via events dispatched on the `document` property.
-In your Javascript file included as described above, add your event listener like this:
+In your JavaScript file included as described above, add your event listener like this:
```js
document.addEventListener(name, callback);
- *name* is the name of the hook and corresponds to a known Friendica JavaScript hook.
- *callback* is a JavaScript anonymous function to execute.
-More info about Javascript event listeners: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
+More info about JavaScript event listeners: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
#### Current JavaScript hooks
### footer
Called after HTML content functions have completed.
-Deferred Javascript files should be registered using this hook.
+Deferred JavaScript files should be registered using this hook.
`$b` is (string) HTML of footer div/element.
### avatar_lookup
any template that exists there will be used instead of the default one.
-### Javascript
+### JavaScript
The same rule applies to the JavaScript files found in
# Bookmarklet-share2friendica
-Javascript bookmarklet to share websites with your friendica account
+JavaScript bookmarklet to share websites with your friendica account
## Getting Started
* Initializes Page->page['footer'].
*
* Includes:
- * - Javascript homebase
+ * - JavaScript homebase
* - Mobile toggle link
* - Registered footer scripts (through App->registerFooterScript())
* - footer.tpl template
* Otherwise we are going to emit a 404 not found.
*/
$queryString = $this->server['QUERY_STRING'];
- // Stupid browser tried to pre-fetch our Javascript img template. Don't log the event or return anything - just quietly exit.
+ // Stupid browser tried to pre-fetch our JavaScript img template. Don't log the event or return anything - just quietly exit.
if (!empty($queryString) && preg_match('/{[0-9]}/', $queryString) !== 0) {
System::exit();
}
/**
* Asynchronous attachment upload module
*
- * Only used as the target action of the AjaxUpload Javascript library
+ * Only used as the target action of the AjaxUpload JavaScript library
*/
class Upload extends \Friendica\BaseModule
{
/**
* Asynchronous photo upload module
*
- * Only used as the target action of the AjaxUpload Javascript library
+ * Only used as the target action of the AjaxUpload JavaScript library
*/
class Upload extends \Friendica\BaseModule
{
*/
public function __construct(string $contact_name, string $contact_url, string $contact_photo, string $timestamp, string $plaintext, string $html, string $href, bool $seen)
{
- // Properties differ from constructor because this structure is used in the "nav-update" Javascript event listener
+ // Properties differ from constructor because this structure is used in the "nav-update" JavaScript event listener
$this->contact = [
'name' => $contact_name,
'url' => $contact_url,
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
/**
- * Javascript for the admin module
+ * JavaScript for the admin module
*/
$(function () {
let $body = $("body");
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
/**
- * Javascript for the display module
+ * JavaScript for the display module
*/
// Catch the GUID from the URL
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
/**
- * Javascript for the notifications module
+ * JavaScript for the notifications module
*/
// Catch the intro ID from the URL
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* Name: frio
- * Description: Responsive theme based on a modern HTML/CSS/Javascript framework.
+ * Description: Responsive theme based on a modern HTML/CSS/JavaScript framework.
* Version: V.1.0
* Author: Rabuzarus <https://friendica.kommune4.de/profile/rabuzarus>
* Maintainer: Hypolite Petovan <https://friendica.mrpetovan.com/profile/hypolite>