23 KiB
2023-12-14 15:49:07 +0100 init with devis 2024-02-01 17:22:11 +0100 cleaned up private 2024-02-01 17:28:26 +0100 cleaned up private 2024-02-01 17:45:49 +0100 update remotes 2024-02-01 17:50:57 +0100 updated private 2024-02-07 13:19:47 +0100 added wordpress docker subomodule 2024-02-07 14:39:22 +0100 wip first shortcode 2024-02-07 18:46:28 +0100 - start a basic plugin that can send code to front - for the moment it send js scripts, css, and variables 2024-02-07 18:54:30 +0100 wip trying to get the var name directly, first try not working 2024-02-08 12:11:16 +0100 wip handle puting files and var on front 2024-02-08 12:31:07 +0100 - can add files to front with single function - can create html in shortcode with basic templates 2024-02-08 14:43:25 +0100 use compact with add_var_to_front 2024-02-08 15:24:22 +0100 added variables in create_html with compact 2024-02-08 15:28:18 +0100 removed templates in path to include html 2024-02-12 10:13:02 +0100 wip renaming plugins elements 2024-02-12 11:26:44 +0100 ini plugin 2024-02-12 11:42:56 +0100 update private notes 2024-02-13 12:35:31 +0100 correction in plugin utils function add_to_front in add_ajax_post the wp_enqueue_script has a wrong parameter with 2024-02-13 21:00:41 +0100 added notes in both submodules private and wordpress 2024-02-13 22:12:31 +0100 added corrections in submodule wordpress docker 2024-02-14 01:03:55 +0100 made a class version of plugin_tools 2024-02-14 02:49:14 +0100 added ajax call inside class plugin 2024-02-14 17:10:44 +0100 wip find user fields 2024-02-15 00:40:07 +0100 improved plugin class by changing for only one method to do all 2024-02-15 02:47:11 +0100 now ajax is in PLGMTLS object as a method 2024-02-15 02:51:22 +0100 litle bit of cleaning in plugin class 2024-02-17 20:18:36 +0100 wip trying to save acf fields from divi form builder 2024-02-18 01:21:08 +0100 - wip trying to patch jquery url validator - resolve conflict in addition of multiple vars and ajax function 2024-02-18 02:27:09 +0100 patch for jquery url validator working 2024-02-18 11:00:01 +0100 added url patch as a separate plugin 2024-02-18 13:06:02 +0100 - removed jquery validator url patch to put it in another plugin - starting to try the form_builder hooks for modif acf fields 2024-02-19 00:46:03 +0100 - moving ajax script outside plugin class, as a js file - wip trying to use the wordpress image editor 2024-02-19 02:38:50 +0100 wip image editor far from understand wordpress core 2024-02-20 10:09:05 +0100 trying to insert acf custom field to front 2024-02-20 23:44:10 +0100 submodules ipdates 2024-02-21 23:58:53 +0100 wip paypal tests 2024-02-22 11:50:01 +0100 small improvement in modals with diviengine-form-builder 2024-02-22 20:30:01 +0100 wip paypal with sdk not working 2024-02-22 23:44:22 +0100 sdk call works now, just the begining 2024-02-23 10:52:02 +0100 - added capacity in plugin tool to take urls - test front end integration ok 2024-02-23 19:36:03 +0100 - struggled to make ajax works, but now is ok - starting to make serverside works 2024-02-23 19:49:56 +0100 better file organisation 2024-02-23 21:03:34 +0100 wip route api_order 2024-02-23 23:43:23 +0100 try wordpress rest api instead of ajax 2024-02-24 01:19:39 +0100 created routes, but json parse error ate the end of transaction 2024-02-24 16:57:31 +0100 PAYPAL WORKING 2024-02-24 17:40:33 +0100 retrieving user that makes the purchase with nonce ok 2024-02-25 01:46:33 +0100 wip connecting user with payment 2024-02-25 11:02:47 +0100 wip track payment to user 2024-02-25 14:43:53 +0100 wip cron job to delete order id, but will deal with that later 2024-02-25 15:00:21 +0100 prefixed all paypal related fonctions with fipf 2024-02-25 18:11:33 +0100 payment update acf fields allright 2024-02-25 21:03:58 +0100 update private notes 2024-02-26 13:18:19 +0100 - forget old ajax wp, now use fetch wp - trying js files without imports 2024-02-27 01:54:46 +0100 wip trying to create better options to include scripts with attributes 2024-02-27 11:51:46 +0100 wip adding attributes, works with filter wp-script-attributes 2024-02-27 15:23:07 +0100 now we can add attributes to js files using the tools class 2024-02-29 01:04:41 +0100 wip trying to modify html before it is rendered 2024-02-29 23:45:02 +0100 - tests on editing author page with acf fields - some reflexions on registrations 2024-03-01 17:21:03 +0100 added inline code to plugin tools 2024-03-02 16:14:36 +0100 - added role at registration with xootix - cleaned folder 2024-03-02 21:43:43 +0100 some more little codes for restrictions and registrations 2024-03-03 01:37:10 +0100 shortcode to get user infos 2024-03-03 10:39:34 +0100 small improvement in print user infos list 2024-03-03 21:48:39 +0100 - added a reinit function for acf fields after form validation - added a plugin version of the modal patch for form builder 2024-03-04 08:52:18 +0100 renamed formbuilder patch files 2024-03-05 00:10:53 +0100 created a new function to filter emails 2024-03-05 09:55:54 +0100 upgraded email filter to filter also wp hook 2024-03-05 10:44:36 +0100 added check for logged in user in filter email 2024-03-05 17:22:11 +0100 - wip payment - already solved success and failure messages and redirection - solved increase date multiple times - users redirection works if error AND partner to posts instead of project 2024-03-06 13:53:47 +0100 wip payment kind of works with bugs 2024-03-06 23:44:46 +0100 - improved payement paypal for date and other things 2024-03-07 10:26:11 +0100 - payment : first date error corrected - payment : added httpErrorException - payment : error handling wip - profil page restriction gives access to admin and editor 2024-03-07 14:51:10 +0100 updated user info shortcode to output author page and format date 2024-03-07 15:13:16 +0100 small correction in user info 2024-03-07 17:05:55 +0100 - wip filter page prof - upgraded user info shortcode to default behavior on author page 2024-03-07 17:50:45 +0100 wip author page checks, waiting page redirection working 2024-03-07 19:03:42 +0100 updated filter email to filter the author page special keyword 2024-03-07 19:08:03 +0100 updated som error in filter email for special query author page 2024-03-07 19:21:11 +0100 update payment validation by changing prof to active 2024-03-07 21:34:48 +0100 wip prof check page now handle the success message on paiement 2024-03-07 22:32:50 +0100 changed all instances of fipf to cipf 2024-03-07 22:35:39 +0100 changed plugin name to cipf 2024-03-07 23:27:20 +0100 renew page message are working 2024-03-07 23:48:01 +0100 moved and updated reset fields into rebew file 2024-03-08 09:23:51 +0100 moved all const in class 2024-03-08 17:57:04 +0100 updates acf fields const values in class to avoid errors 2024-03-09 22:03:22 +0100 wip upgrade and clean payment process 2024-03-10 11:13:44 +0100 - added debug function - fixed issues in acf fields use 2024-03-10 14:12:24 +0100 changed meta field payment_status for acf field 2024-03-10 14:51:47 +0100 - renew state : removed - payment state : in acf 2024-03-10 22:37:38 +0100 - added a default css file to include to have a first handle - cahnged get_path/url to root_path/url - changed path setup -> now automatic from inside plugin 2024-03-10 22:53:15 +0100 added info in class about path construction 2024-03-10 23:12:20 +0100 card number id created 2024-03-11 00:02:55 +0100 changed all role occurences by a const 2024-03-11 23:20:38 +0100 wip check offres for newsletter 2024-03-12 19:54:18 +0100 - in plgntls transformed process to add fetch script even if list of srcs is empty - created a patch for form builder calculation 2024-03-12 21:53:32 +0100 - moved reset field function outside renew_card file - created a patch for formbuilder calculation pbm 2024-03-13 13:28:14 +0100 - wip create role at registration - upgraded shortcode user_infos to output acf format 2024-03-13 14:57:01 +0100 some improvments on shortcode user_info, to output the right secure string in most cases 2024-03-14 01:18:31 +0100 wip handle custom form submit 2024-03-14 10:29:02 +0100 added redirection without need of a page, use it for paypal success or failure message already 2024-03-14 12:31:31 +0100 wip debug redirections 2024-03-14 12:32:35 +0100 updated notes 2024-03-14 13:10:05 +0100 wip i broke everyhting :p 2024-03-14 13:48:19 +0100 nop it wasn't my plugin's fault 2024-03-14 13:48:37 +0100 Merge branch 'debug_routes' 2024-03-14 15:07:50 +0100 changed profil redirection so it does not need a real page anymore 2024-03-14 15:27:52 +0100 v 0.2.6 2024-03-14 18:35:21 +0100 fixed dates format error 2024-03-14 23:28:37 +0100 wip trying to force the acf id that formbuilder will use 2024-03-15 09:18:39 +0100 tried a fix on redirection without real page, by using template-redirection hook instead of init 2024-03-15 13:50:27 +0100 v0.2.8 wip can force the id of a user for a portion of page with shortcode 2024-03-17 02:27:28 +0100 created plugin custer, and removed shortcodes change_id and user_infos from cipf plugin 2024-03-17 02:28:27 +0100 custer v 0.1.1 : now fully working 2024-03-17 02:29:31 +0100 cipf v 0.2.9 : moved shortcodes change_id and user_info to another plugin, custer 2024-03-17 14:06:25 +0100 custer : changed namespace, now all function use it 2024-03-17 14:52:42 +0100 custer format output works with numbers 2024-03-17 15:28:08 +0100 - removed custom user function and put it in custer - changed main file for cipf instead of fipfcard - reset some fields after prof form validation 2024-03-17 17:59:27 +0100 price calculation now works whatever acf return is set 2024-03-17 17:59:48 +0100 redirections whould work now 2024-03-17 18:16:28 +0100 v 0.3.1 - reset cgv - price works with all acf returns for radio buttons - redirection works 2024-03-17 23:00:39 +0100 - v 0.3.2 : can hide or show admin menu 2024-03-18 12:23:27 +0100 change author id works for prof profil and prof form 2024-03-18 13:28:02 +0100 v 0.3.3 partner registration detected with slug using options and without referer 2024-03-18 13:30:17 +0100 updated notes 2024-03-19 07:11:04 +0100 v 0.1.4.1 correction new DateTime in shortcode, conflict with namespace 2024-03-19 07:11:45 +0100 v 0.1.4.2 temporary deactivate anchors 2024-03-19 07:24:53 +0100 wip registration partner role with xootix hook and hiden fields 2024-03-19 07:27:37 +0100 abandonned price calculation at payment time because of pbm with formbuilder 2024-03-19 07:28:17 +0100 wip account states 2024-03-19 07:30:59 +0100 update notes 2024-03-19 08:58:59 +0100 added dates functions for prof card 2024-03-19 12:37:16 +0100 created functions to handle all state changes 2024-03-19 13:06:16 +0100 most account states updating are working 2024-03-19 15:05:33 +0100 changed acf field access from _name to _key 2024-03-19 15:59:16 +0100 created css files for states displays 2024-03-19 16:27:38 +0100 v 0.3.4 states are now handled with specific functions for setting, getting, and adding css 2024-03-19 18:44:53 +0100 made the plugin dont redeclare font variable if used two times 2024-03-19 20:15:26 +0100 updated acf find non init field value with new technique to init with temp value first 2024-03-19 20:50:35 +0100 updated infos about states 2024-03-19 22:06:17 +0100 wip cahngin states 2024-03-19 22:47:00 +0100 fixed error in prof state for renew card 2024-03-19 23:48:40 +0100 partner redirection to page creation 2024-03-20 00:26:39 +0100 - most prof states shoud be ok - redirection partner page creation - user ids on checks states - reset cgv - restrict prof profil page 2024-03-20 01:02:46 +0100 - creates redirect-home function - restrict prof form to profs - restrict paypal page for prof only 2024-03-20 01:54:22 +0100 fixed pbm find author id ouside loop 2024-03-20 01:54:49 +0100 - hide admin bar for front user - admin page redirects non admin users 2024-03-20 01:58:37 +0100 v 0.3.9 profs are mostly ok i suppose, didn't checked all situations 2024-03-20 10:10:48 +0100 first step in making api keys modifiable in admin : using getter and setter instead of const 2024-03-20 11:24:40 +0100 fixed redirection preventing to edit in divi builder mode 2024-03-20 11:42:22 +0100 v 0.3.10 admin can validate payment from front 2024-03-20 14:44:19 +0100 new profs redirects to command 2024-03-20 15:29:34 +0100 rollback to not calculating price 2024-03-20 17:04:21 +0100 fixed error in creating card number 2024-03-20 17:06:44 +0100 debug mode false 2024-03-20 17:07:41 +0100 update making card renew after paiement only if it was new 2024-03-20 17:44:42 +0100 added important to css for display state, i am going to hell 2024-03-20 18:58:46 +0100 v 0.3.11 : - fixed error in creating card number - fixed error in creating first date limit - fixed error dont put card in valid after success payment 2024-03-20 19:31:54 +0100 fixed error when fipf see account it changes status accordgin to its own values 2024-03-20 20:02:03 +0100 changed all optionnal user_id in first parameters to last parameters 2024-03-20 21:10:56 +0100 better handle transfert validation 2024-03-21 16:09:44 +0100 added paypal diego live credentials 2024-03-21 16:10:07 +0100 small improvements in handling prof states : - card date validation now uses direct card duration, not a parameter - checker for both types of transfert valid and invalid - mv checks for transfert and date expiration in specific functions 2024-03-21 19:26:32 +0100 wip partner register role : found how to add hidden fields 2024-03-21 19:27:45 +0100 updated notes 2024-03-22 19:10:35 +0100 v 0.3.12 - update date when transfert success - role partner at creation ok 2024-03-23 15:24:14 +0100 wip adding fbpatch plugin 2024-03-23 18:25:43 +0100 wip menu can now receive form with rest api, but no nonce 2024-03-23 22:14:16 +0100 wip the nonce for the menu works 2024-03-23 23:51:35 +0100 wip nonce actually dont work 2024-03-24 11:12:11 +0100 wip nonce works now 2024-03-24 12:37:38 +0100 wip patches added to options 2024-03-24 13:23:00 +0100 wip patchs appears with informations, but are not yet updated 2024-03-24 15:05:00 +0100 option list update with form 2024-03-24 15:14:53 +0100 wip adding patchs conditionnaly 2024-03-24 16:06:47 +0100 fixed error in fetch 2024-03-24 16:16:55 +0100 adding patchs files according to form in menu 2024-03-24 17:06:10 +0100 moved all aptches from cipf plugin to fbpatch 2024-03-24 23:43:06 +0100 wip first strategy to overwrite the formbuilder post update is a dead end 2024-03-25 11:13:16 +0100 hide show post elements works 2024-03-25 11:17:16 +0100 fbpatch v 0.1.3 2024-03-25 13:07:12 +0100 fbpatch small fixes in options and hide-show 2024-03-25 15:16:19 +0100 updated options to make them not automatically loaded when added 2024-03-25 16:21:33 +0100 wip paypal credentials output in menu, but they dont update yet 2024-03-25 18:32:03 +0100 cipf v0.3.13 paypal credentials now from admin menu 2024-03-25 21:42:33 +0100 custer v 0.1.6 added special request for post url 2024-03-25 22:11:46 +0100 partner edit button not visible by someone else 2024-03-25 22:14:59 +0100 edited infos for todo and fabien 2024-03-26 22:33:41 +0100 wip filter email registration 2024-03-27 09:38:19 +0100 cipf v 0.4.1 wip trying to filter registration email 2024-03-27 13:06:48 +0100 can choose the email for registration, and wether to send one or not 2024-03-27 14:10:10 +0100 fixed error new prof choosing transfert can now access profil 2024-03-27 14:47:58 +0100 fixed default email options 2024-03-27 17:18:14 +0100 added message payments in admin menu 2024-03-27 17:23:22 +0100 small fixes in html and css for admin menu cipf 2024-03-27 18:54:57 +0100 cipf v 0.4.4 added randomization for posts if < -1 2024-03-29 21:56:12 +0100 updated plgntls : - renamed PLGNTLS_class -> Plgntls - changed method 'add_to_front()' to static method - moved fetch script as inline script, so the plgntls file is single - improved the way inline script and styles are added 2024-03-30 11:15:22 +0100 more improved in plgntls class to let add_to_front be added multiple times 2024-03-30 14:57:40 +0100 - added new plugin - improved the plgntls class for this plugin 2024-03-30 21:03:21 +0100 wip creating options and menu in plgntls 2024-03-31 01:45:25 +0100 wip trying to get the options working in class 2024-03-31 15:17:53 +0200 menu and options tools added to plgntls class in plugin xtxpatch 2024-03-31 17:34:10 +0200 more improves in optin gestion in class, automatic handling for basic cases 2024-03-31 17:59:17 +0200 fixed error with unserialization of option 2024-03-31 19:09:22 +0200 fixed error with option update 2024-03-31 19:25:39 +0200 xtxpatch saves the email settings, still need to handle them 2024-03-31 19:59:20 +0200 xtxpatch v 0.1.1 it works fine 2024-03-31 20:53:26 +0200 moved css from site to plugin 2024-03-31 23:38:04 +0200 cipf added css to hide parts of user profil when fipf see them 2024-04-01 01:39:38 +0200 prof more checks at profil and when fipf validate transfert 2024-04-01 23:09:22 +0200 - updated states to work for user_id and post_id - added states for partner page state publish-draft 2024-04-01 23:14:42 +0200 updated notes 2024-04-01 23:33:49 +0200 cipf v0.5.1 2024-04-02 13:24:22 +0200 wip event schedule 2024-04-02 15:44:33 +0200 plgntls : - added it to cipf plugin - fixed an error in using _prefix not as static value 2024-04-02 15:45:54 +0200 - updated all occurences of Plgntls:: constantes for Cipf:: const - update menu to use the new methods 2024-04-02 17:01:25 +0200 wip creating emails 2024-04-02 18:50:56 +0200 custer v0.2.2 includes queries in all output 2024-04-02 18:55:59 +0200 custer query to find admin email 2024-04-02 18:58:49 +0200 Merge branch 'master' into emails 2024-04-02 19:12:16 +0200 wip filter email subject and sender, in addition to message 2024-04-02 19:31:00 +0200 defined the emails 2024-04-02 23:39:27 +0200 added another state of error in payment if the payment is a success but the treatment has an error 2024-04-03 00:13:39 +0200 wip emails front admin menu 2024-04-03 10:31:27 +0200 html presentation of admin menu for emails 2024-04-03 12:37:04 +0200 fixed small errors in plugin tools for options and menu 2024-04-03 13:19:12 +0200 emails in admin menu and updating options seems to work 2024-04-03 13:36:28 +0200 added special query base_url 2024-04-03 13:58:03 +0200 completed email default messages 2024-04-03 14:07:25 +0200 fixed error in loop option email with _name 2024-04-03 14:21:33 +0200 fixed error with automatically adding _name to option 2024-04-03 14:53:34 +0200 emails ok, except for shcedule deletion, not yet 2024-04-03 15:16:00 +0200 cipf update payment handling error 2024-04-03 16:22:42 +0200 added protection when using get_plugins function outside amdin context 2024-04-03 16:23:14 +0200 emails in progress 2024-04-03 22:43:05 +0200 updated plgntls options to improve default with new options 2024-04-04 14:03:24 +0200 - reorganized files - fixed error in partner edti/creation page 2024-04-04 14:28:06 +0200 removed all nocache headers 2024-04-04 15:06:33 +0200 - fixed error in plgntls debug logs - fixed button partner modification page restrictions 2024-04-04 17:35:32 +0200 fixed error in checks partner own page and modify to draft 2024-04-04 20:27:02 +0200 added payment problem message 2024-04-04 22:54:28 +0200 - fixed error partner page draft redirection with post id - fixed error all logged in user could see partner post in draft 2024-04-05 00:07:01 +0200 added custer menu for notice 2024-04-05 17:19:51 +0200 custer v 0.2.3 added menu with notice 2024-04-08 21:43:08 +0200 update acf field handling to centerize every call 2024-04-08 22:19:02 +0200 - fixed error in acf fields handling - added history handler 2024-04-08 22:30:56 +0200 smal fixe in history presentation 2024-04-08 23:00:38 +0200 - added isset function in acf field centralized handling - schedule event for order id works 2024-04-09 11:46:08 +0200 cipf v 0.5.5 added history and order id acf 2024-04-09 15:54:44 +0200 new date handling 2024-04-09 18:16:38 +0200 added options in paypal credential and payment 2024-04-09 20:02:03 +0200 added change card prof 5€ 2024-04-09 20:11:58 +0200 fixe small pbm with card change 2024-04-09 20:43:47 +0200 event delete 2024-04-09 20:47:17 +0200 added email when account is deleted 2024-04-09 22:33:34 +0200 schedult card expiration 2024-04-09 22:36:02 +0200 added email when account expire 2024-04-09 23:05:11 +0200 adde event expire card reminder 2024-04-09 23:20:35 +0200 event deletion account reminder 2024-04-10 11:55:28 +0200 improved check before sending reminder emails 2024-04-10 12:16:07 +0200 abort event scheduled for each actions, will try one daily check 2024-04-10 14:45:09 +0200 new handling of events 2024-04-10 21:04:52 +0200 better handling of init acf field 2024-04-10 22:31:43 +0200 added email from 2024-04-11 11:34:27 +0200 handle reminders before card expiration and account deletion 2024-04-11 12:33:27 +0200 fixed error in handling emails reminder for profs card 2024-04-11 14:36:44 +0200 events actions and email for profs are now well supported, without repeatitions 2024-04-12 17:13:57 +0200 cipf v 0.5.8 handle partner events 2024-04-13 10:13:03 +0200 added css class for fipf viewing user profiles 2024-04-14 21:00:58 +0200 updated email options 2024-04-14 22:59:13 +0200 custer fixed error replacing all emails arguments 2024-04-14 23:18:16 +0200 cleaned email custer 2024-04-15 18:43:01 +0200 updated emails default send from true to on 2024-04-15 18:44:09 +0200 fixed error in filter email when headers are not set or not an array 2024-04-15 18:45:18 +0200 added info in cipf emails handling about logging 2024-04-16 10:29:14 +0200 removed error log 2024-04-16 10:34:38 +0200 removed error log 2024-04-16 11:25:00 +0200 wip handle deleting images for prof deletion 2024-04-16 11:40:36 +0200 added protection if user dont exists in format user 2024-04-16 11:41:17 +0200 added function to handle deletion of image when prof is deleted in case it was not taken care of 2024-04-16 14:19:14 +0200 added protection for first post 2024-04-16 14:22:44 +0200 added comment to explain the protection 2024-04-16 14:24:20 +0200 added new version number in custer 2024-04-16 16:43:11 +0200 updated offers expiration hanling with separate checkbox for each 3 offers 2024-04-17 16:47:14 +0200 added css and functions to make some acf fields read-only 2024-04-17 16:56:56 +0200 fixed errors and remain files for cleaning 2024-04-18 10:58:53 +0200 added a way to disable any acf fields 2024-04-18 14:18:19 +0200 fixed pbm with field update prevention, but not sure if robust 2024-04-20 14:57:10 +0200 new update for readonly_acf field with better solution 2024-04-20 18:03:21 +0200 wip resolving date format pbm, already figured out where it comes from and how to create a new one 2024-04-20 21:14:36 +0200 wip datepicker, added an intercepter to the originale function to get the arguments 2024-04-21 21:05:26 +0200 wip datepicker js part is done, it creates a hidden field with date in acf format 2024-04-23 13:11:10 +0200 wip adding date to class was a mistake since it is global 2024-04-23 13:26:16 +0200 for the moment dates have the apporpriate text output 2024-04-24 00:28:25 +0200 fbpatch v0.2.2 patch for dates 2024-04-24 11:17:35 +0200 fbpatch better version of dates patch 2024-04-24 14:15:48 +0200 cipf v0.5.11 added instructions for css class 2024-04-24 19:03:31 +0200 fixed error when retrievieng acf dates with format 2024-04-25 11:23:26 +0200 some cleaning in comments in fbpatch 2024-04-25 11:24:12 +0200 notes update 2024-04-25 11:58:06 +0200 fixed error in handling dates with acf format as datepicker and not datetimepicker 2024-04-25 14:17:06 +0200 fbatch dates new version only in front 2024-04-25 16:24:33 +0200 fixed error in fbpatch dates