-
Notifications
You must be signed in to change notification settings - Fork 42
/
readme.txt
523 lines (398 loc) · 17.7 KB
/
readme.txt
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
=== AppPresser - Mobile App Framework ===
Contributors: apppresser, scottopolis, Messenlehner, marioshtika
Donate link: http://apppresser.com/
Tags: application, iphone app, android app, mobile app, wordpress mobile
Requires at least: 4.7.0
Tested up to: 6.7
Stable tag: 4.4.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Connect your WordPress site to a native mobile app.
== Description ==
AppPresser helps website builders make iOS/Android mobile apps out of WordPress sites simply and quickly.
[AppPresser](https://apppresser.com/ "AppPresser mobile apps with WordPress") allows you to use a WordPress site as an app, including access to device features such as the camera, contacts, and more.
This plugin is not an app-creator in itself, it helps connect your app to WordPress. You must create an app with our app builder, then install this plugin on your WordPress site.
[youtube https://www.youtube.com/watch?v=UheNPUZkcxU]
### What this plugin does:
* Is the base code for integrating your AppPresser app with your WordPress site
* Activates AppPresser code and theme when your site is viewed in an app
* Modifies WP-API requests to add featured image urls, used in the app
* Adds ajax functionality used in other AppPresser theme and plugins
* Adds a settings page
#### How do I use it?
* Purchase a plan on [AppPresser](https://apppresser.com/)
* Install and activate this plugin on your WordPress site
* Follow the instructions in our documentation
== Installation ==
1. Upload AppPresser to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Navigate to AppPresser settings page to configure
== Screenshots ==
1. AppPresser admin options page.
== Changelog ==
= 4.4.8 =
* Improve password verification process
* Tested with WordPress 6.7
= 4.4.7 =
* Improve reset password workflow
= 4.4.6 =
* Improve the reset password process
* Improve workflow when ion-theme is being updated
= 4.4.5 =
* Removed old legacy code
= 4.4.4 =
* Improved app version checking
= 4.4.3 =
* Improved authentication process when using the API
= 4.4.2 =
* More changes for PHP 8.2 compatibility
* Tested with WordPress 6.6
= 4.4.1 =
* Update code for PHP 8.2 compatibility
* Fix refreshing login data when user role is changed
= 4.4.0 =
* Added login refresh functionality
* Improve security when there is no 'openssl' extension on the server
= 4.3.2 =
* Improve login API endpoint
* Tested with WordPress 6.5
= 4.3.1 =
* Improve security when handling logs
= 4.3.0 =
* Add a limit to API requests
* Improve security when verifying a user
* Improve security when reseting the password
* Tested with WordPress 6.4
= 4.2.5 =
* Fix query_args to support tax_query
= 4.2.4 =
* Support quotes and double quotes when resetting password
= 4.2.3 =
* Fix JWT decode functionality
= 4.2.2 =
* Support latest version of JWT plugin
* Add AppPresser Bridge and IonTheme to the myappp verifier
= 4.2.1 =
* Support textarea fields in AppPresser settings
= 4.2.0 =
* Fix theme update transient error
* Add a new endpoint to verify Website URL and plugins
* Allow registration from API only if enabled
= 4.1.0 =
* Remove deprecated files from AppPresser 1 in /pg/*
* Validate upload by checking if file input is empty
* Add filter on post types when adding api fields: appp_api_fields_post_types
* Add missing permission callbacks
= 4.0.7 =
* Fix for adding comments anonymously via API
* Refresh bug fix
* Support login parameter
= 4.0.6 =
* Add API endpoint for form submissions
* Extend comment API response to include nested replies
= 4.0.5 =
* Extend login token expiration from 7 days to 60 days. This can be modified using the jwt_auth_expire filter found here https://wordpress.org/plugins/jwt-auth/
= 4.0.4 =
* Fix settings label
* Add auth cookie on api login
= 4.0.3 =
* Improve API login data response, add email
= 4.0.2 =
* Remove JWT wp-config.php requirement, move to setting
= 4.0.1 =
* Add theme updater
* Fix potential bug with update transient
= 4.0.0 =
* Support for AppPresser 4
* JWT auth for WP-API
* Bug fixes
= 3.9.2 =
* Security update: Remove old code
= 3.9.1 =
* Update tested up to
= 3.9.0 =
* User roles
= 3.8.0 =
* Add option to use an image for the media player in the app. See how to add post meta for appp_media_image in the [AppPresser docs](https://docs.apppresser.com/article/420-media-list-audio-video-downloads).
* Minor bug fixes
= 3.7.1 =
* properly format json login error
* fix missing user_id and token on registration
* filters and translations for api register
* register action hooks
* extend transient for software updates checks to reduce the number of server calls for plugin/theme updates
= 3.7.0 =
* Cookie fix to allow login via browser preview
* Add action before and after login
= 3.6.1 =
* Reset password with API for better in-app experience
* Use https for app store.
* Fix PHP warnings for static functions
= 3.6.0 =
* Add API login and registration for better in-app experience
* Add CORS access rules to API responses
* Update language template .pot file
= 3.5.1 =
* Bug fix for older PHP causing syntax error
= 3.5.0 =
* Add Enable CORS admin setting
* Add myapp_disable_remote_updates hook to allow developers to turn off API calls to myapppresser.com for styling updates which are used only during app development and modifications.
* Extend plugin/theme license checking to two weeks
= 3.4.2 =
* Simplify short reset code
* Language POT file update
* Minor bug fix: check curl_version exists
= 3.4.1 =
* Fix missing variable errors
= 3.4.0 =
* Add support for file downloads
* Additional support for custom post types
* Add filter hook for login details
* Fix app theme related bugs
* Fix EDD naming conflict
= 3.3.1 =
* Fix switch theme bug when using infinite scroll on list pages
= 3.3.0 =
* Support for both login_redirect and logout_redirect hooks including responding with both title and URL
* Add CURL, Supports OpenSSL to system log
* Add appp_x_switch_theme hooks to allow developers to add their own logic when to switch the app theme
* Make infinite scroll to pull the number of posts which is set as default post_per_page amount
* More content from infinite scroll posts now use templates from the app theme instead of hardcoded markup
= 3.2.1 =
* Add: filter hook for login/logout strings
* Update EDD plugin/theme updater
* Fix: properly handle appp_login_redirect filter
* Fix: URL updates to v3 docs
* Fix: add success boolean in ajax login response
* Fix: deprecate safe_mode from system info
* Fix: update language template apppressser.pot
* Fix: license tab missing when theme is not installed
= 3.2.0 =
* Make the BuddyPress avatar available to the app if it's set
* Add more details to the system info
= 3.1.3 =
* Fix Facebook connect removing app theme cookies
* Update language .pot template
= 3.1.2 =
* Fix PushWoosh deep linking for Android
* Add System Info to admin settings
* Misc. bug fixes
= 3.1.1 =
* Support for WMPL translations in apps
* Fix Android deep linking for AppPush
* Parse URL query from infinite scroll
= 3.1.0 =
* Improve infinite scroll
* Make logout with ajax available
* Add Avatar to ajax login response
* Use mobile friendly password reset codes
* Fix admin styling for checkboxes
* Bug fixes
* Update EDD SL
= 3.0.2 =
* Bug fixes to help activating licenses
= 3.0.1 =
* Add back javascript upload settings for v2
* Remove extensions feed page
= 3.0.0 =
* Big changes for AppPresser 3 [AppPresser 3.0](https://apppresser.com/3-announcement/)
* Many plugin settings have been deprecated in version 3. If you are still using version 2, settings have been moved, but are still the same. You do not need to make any changes.
* New settings for version 3: site slug and app ID
* Integration with WP-API for AppPresser 3
= 2.7.2 =
* Display a message when the getCurrentPosition timesout when getting GPS location
* Fix notification alert for iOS
= 2.7.1 =
* fix redirect on settings page
= 2.7.0 =
* Fix customizer compatibility issues with WordPress 4.7
* Add filters for custom login/logout redirects
* Add class for links to open In-App Browser and close it on pause to force stop audio/video on Android
* Fix custom links for PushWoosh notifications for Android
* Fix opening external media on touch events
= 2.6.2 =
* Fix bug for geolocation places
* Add l10n variables for AppPush
* Fix displaying HTML in customerizer
* Fix notification variables changes from PushWoosh plugin
= 2.6.1 =
* Send open/close keyboard events to AppAds
* Allow externally linked images to open in the In-App browser
* Send open/close keyboard events to Ion and AppTheme to help fix copy/paste issues with iOS
= 2.6.0 =
* Bug fixes
* Allow translatable text
* Show the KeyboardAccessaryBar on iOS
* Add fb_id param for AppFBConnect
* Add a custom callback for fb login
= 2.5.0 =
* Add options to IAB window.open
* Optionally allow external links to not show the app theme, forces a page reload on return
* Improve logic when using In-App browser for external URLs to decifer relative links, tel: and mail:
* Fix click events related to the .swiper-container for AppSwiper
* Read device id whether it is a string or object
* Make AppAds check each OS separately for existing ad settings
* Fix expired license message
= 2.4.0 =
* Add the ability to use AdMob ads in the AppAds plugin
* Bug fix: improve logic of comparing domains when opening the InApp browser
= 2.3.3 =
* Enqueue jQuery to fix missing localized variable ajaxurl for AppTheme and Ion theme
= 2.3.2 =
* Fix events triggering prior to iframe not yet ready
* Clear iOS badges on app launch
* Fix iOS bug for URL target for _system when target is IMG
* Bail AdMob init when no ad codes are set in wp-admin
= 2.3.1 =
* AppGeo bug fix for empty lat and long on checkin
= 2.3.0 =
* Quick start admin settings
* Verify THEME_SLUG
* Add external-media class to open URLs using the Google Docs previewer
* Kill videos on Android pause event
= 2.2.1 =
* fix links with the 'external' class that have the same domain as the site to open in the InAppBrowser.
= 2.2.0 =
* fix go back button for Android
* add filter for Facebook graph fields
* fix AppPresser_Logger error for multisite
* remove wp_cron for AppPresser_Logger and use alternate method to turn off logging
= 2.1.0 =
* Give developers the ability to uploads custom js files for the app in the WP Admin
* Add AJAX login to #loginform modal (requires also updating AppTheme and Ion theme)
* Add js to recognize css class 'system' to set a link's target to '_system' so links open in Safari or Chrome
* Fix external links that should open in the In-App Browser
* Other bug fixes
= 2.0.0 =
* New features to enable offline app capabilities
* Moves cordova files from the website to the device
* Bug fixes
= 1.4.0 =
* Include phonegap files for 3.7.0
* Add 3.7.0 option to admin settings
* Remove logging from multisite
* Improve the logic around creating the log file
* Add an admin nag for log file which each admin can dismiss
* Fix log file URL
* Verify backbutton event before calling maybeGoBack
* Fix typos in readme files
= 1.3.3 =
* Add noGoBackFlag feature to allow any app to stop the mayGoBack function (appbuddy 0.9.9 initially)
* Fix Android back button when 'disable dynamic page loading' is enabled
= 1.3.2 =
* bug fix: Android back button
= 1.3.1 =
* Remove static homepage option from customizer
* Add option for posts on mobile homepage
* Standardize text-domains
* Add logging for debugging and customer support
= 1.2.0 =
* Stop youtube videos on app exit
* Fix undefined index error
* Add ajax functions for AppTheme
= 1.1.9 =
* Support for Facebook Connect extension
* Remove unneeded files
= 1.1.8 =
* fix license activation bug
= 1.1.7 =
* add back missing front page setting
= 1.1.6 =
* fix broken customizer link
= 1.1.5 =
* security fixes
= 1.1.3 =
* Roll back script optimization to fix push notifications and other bugs
= 1.1.2 =
* Fix for splashscreen hide
= 1.1.1 =
* Enhancement: optimize cordova scripts to only load when needed
* Moved app menu settings to theme customizer exclusively
* Hide app splashscreen on load
* Misc bug fixes
= 1.1.0 =
* Fixed annoyance of settings page not returning to the tab you were on when you clicked 'save.'
* Enhancement: New filter, "apppresser_sanitize_setting_$key" for registering your own sanitization callback to override AppPresser's.
* Enhancement: New filter, "apppresser_field_override_$type" for registering your own field type view callback to override AppPresser's.
* Enhancement: Added [CMB](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress). Settings API will be re-worked in next versions to use CMB.
= 1.0.9 =
* Bug Fix: App-theme settings were not getting displayed if the theme was not active (despite being set as the App-only theme)
= 1.0.8 =
* Bug Fix: Theme\_mod settings would get the non-theme_mod setting warning asterisk if no value had been saved to them yet.
* Bug Fix: If the "Load AppPresser for Admins Only" setting was not checked, the theme customizer would try to activate the app theme from the customizer.
= 1.0.7 =
* Enable theme customizer for the App-only theme while theme is not active. There is now a link to customize the theme below the select dropdown.
= 1.0.6 =
* Enhancement: New filter `apppresser_theme_settings_file` that allows you to set the location of your theme's AppPresser settings registration (so your settings show when the theme is not active). Will fallback to looking for `appp-settings.php` file in the theme root.
* Enhancement: New filter `apppresser_notifications`, allows other plugins/themes to add their own notification count.
= 1.0.5 =
* Enhancement/Bug Fix: Don't delete license keys and other options if a particular plugin is deactivated at the time of saving.
* Enhancement/Bug Fix: AppPresser "App only theme" option now works with child themes.
* Enhancement: Add a `apppresser_tab_top_$tab` hook to match the `apppresser_tab_bottom_$tab` hook.
= 1.0.4.1 =
* Remove "App only theme?" front-end error.
= 1.0.4 =
* Extensions submenu highlighting available for AppPresser add-ons.
* Addressed some pre-PHP 5.3 notices.
* Bug Fix: White-screen on the front end if selecting a theme in the "App only theme?" setting that does not support AppPresser. An error will now be shown.
* Improvement: `appp_get_setting()` now accepts a fallback option like `get_option()`.
= 1.0.3 =
* Bug Fix: `plugins_loaded` firing too early causing conflicts with other plugins.
* Improvement: Check child theme for `app-settings.php` file as well as parent theme.
* Improvement: Added method for loading AppPresser theme despite aggressively cached web hosts.
= 1.0.2 =
* Bug Fix: Conflict causing other themes to appear to need an update.
= 1.0.1 =
* Bug Fixes
* Add theme updater and updater API
* Better styling for "MP6"
= 1.0.0 =
* Release into the wild!
== Upgrade Notice ==
= 1.1.3 =
* Roll back script optimization to fix push notifications and other bugs
= 1.1.2 =
* Fix for splashscreen hide
= 1.1.1 =
* Enhancement: optimize cordova scripts to only load when needed
* Moved app menu settings to theme customizer exclusively
* Hide app splashscreen on load
* Misc bug fixes
= 1.1.0 =
* Fixed annoyance of settings page not returning to the tab you were on when you clicked 'save.'
* Enhancement: New filter, "apppresser_sanitize_setting_$key" for registering your own sanitization callback to override AppPresser's.
* Enhancement: New filter, "apppresser_field_override_$type" for registering your own field type view callback to override AppPresser's.
* Enhancement: Added [CMB](https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress). Settings API will be re-worked in next versions to use CMB.
= 1.0.9 =
* Bug Fix: App-theme settings were not getting displayed if the theme was not active (despite being set as the App-only theme)
= 1.0.8 =
* Bug Fix: Theme\_mod settings would get the non-theme_mod setting warning asterisk if no value had been saved to them yet.
* Bug Fix: If the "Load AppPresser for Admins Only" setting was not checked, the theme customizer would try to activate the app theme from the customizer.
= 1.0.7 =
* Enable theme customizer for the App-only theme while theme is not active. There is now a link to customize the theme below the select dropdown.
= 1.0.6 =
* Enhancement: New filter `apppresser_theme_settings_file` that allows you to set the location of your theme's AppPresser settings registration (so your settings show when the theme is not active). Will fallback to looking for `appp-settings.php` file in the theme root.
* Enhancement: New filter `apppresser_notifications`, allows other plugins/themes to add their own notification count.
= 1.0.5 =
* Enhancement/Bug Fix: Don't delete license keys and other options if a particular plugin is deactivated at the time of saving.
* Enhancement/Bug Fix: AppPresser "App only theme" option now works with child themes.
* Enhancement: Add a `apppresser_tab_top_$tab` hook to match the `apppresser_tab_bottom_$tab` hook.
= 1.0.4.1 =
* Remove "App only theme?" front-end error.
= 1.0.4 =
* Extensions submenu highlighting available for AppPresser add-ons.
* Addressed some pre-PHP 5.3 notices.
* Bug Fix: White-screen on the front end if selecting a theme in the "App only theme?" setting that does not support AppPresser. An error will now be shown.
* Improvement: `appp_get_setting()` now accepts a fallback option like `get_option()`.
= 1.0.3 =
* Bug Fix: `plugins_loaded` firing too early causing conflicts with other plugins.
* Improvement: Check child theme for `app-settings.php` file as well as parent theme.
* Improvement: Added method for loading AppPresser theme despite aggressively cached web hosts.
= 1.0.2 =
* Bug Fix: Conflict causing other themes to appear to need an update.
= 1.0.1 =
* Bug Fixes
* Add theme updater and updater API
* Better styling for "MP6"
= 1.0.0 =
* Release into the wild!