~beaky/wacs/wacs-php

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
Wacs-PHP ChangeLog
------------------

This is the history of revisions prior to the current one and what was
changed.  If you're looking for the latest changes, please see RELEASENOTES
instead.

Wacs-PHP release notes                                           Release 1.0.1
----------------------                                          10th July 2022

New Features in Release 1.0.1
-----------------------------
- values for sfocus added to geticonlist call in Wacs.php

Configuration changes in Release 1.0.1
--------------------------------------

Small Improvements in 1.0.1
---------------------------
- fallback values for attributes updated to include new additions

Bugs fixed in 1.0.1
-------------------
- no longer using a default .html extension in iconlink
- Module::Function() is no longer a valid construct in PHP8 unless the 
  original declaration says public static function Function() when it
  is declared - fixed in all three modules (wacs.php, wacsui.php and
  XMLSimple.php)
- $this->function() no longer works for self-referencial calls within
  a module in PHP8 - now has to be written self::function();
- $names{$element} construct no longer supported - use square brackets
  instead in PHP8
- similarly but opposite, references within the module to it's own
  functions are better expressed as self::
- fixes for where we used calculated values and are using PostgreSQL

Wacs-PHP release notes                                           Release 1.0.0
----------------------                                              June 2020

New Features in Release 1.0.0
-----------------------------
- Big Switch over to using PDO for database accesses - the old DB routines
  have been depricated for over a decade and finally stopped working when our
  hosting provider upgraded to RHEL7.
  - both dynamic apps re-written to use PDO
  - wacs.php and wacsui.php modules re-written to use PDO
  - skins/simple apps all re-written to use PDO
  - test scripts re-written to use PDO
- added new primary mode to getrelated in the UI API.  This allows you to find
  the primary set at the top of a multi-part video chain.
- added new Threesome (3) set type
- added tertiary set rank support (T) to match perl version.
- added ability to select media type to setsel application
- added indications to setsel as to which attributes are selected
- setsel now includes a button to save the current selection to a tag group
  allowing you to save the results and reports back on the tag set used and
  how many of the results were written to it (to remind them about maximum).

Configuration changes in Release 1.0.0
--------------------------------------
- added new configuration variables in apps section: wacsicom, wacsslist and
  wacsvidm; also included #WACSICOM#, #WACSSLIST# and #WACSVIDM# in menu
  substitutions.
- see notes in the install.html file about issues with environment variables
  (like ORACLE_HOME) with recent releases like Fedora 27 which feature php-fpm.

Small Improvements in 1.0.0
---------------------------
- modelsel and setsel now produce better javascript for button indications

Bugs fixed in 1.0.0

-------------------
Wacs-PHP release notes                                           Release 0.9.2
----------------------                                           September 2017

NB: Since jqueryurl was added AFTER release 0.9.2, you will need to manually
    add it to the configuration file.  See below for details.  

New Features in Release 0.9.2
-----------------------------
- modelsel application re-written to use jQuery instead of XAJAX.
  - js-jquery package now required on Fedora, libjs-jquery on Ubuntu
- new application setsel provides a view to sets in much the same way as
  modelsel allows looking at models.
- new samples directory with implementation of simpletest.php using jQuery
  instead of XAJAX.
- added new apps attributes: wacsidm
- added new server attributes: jqueryurl

Configuration changes in Release 0.9.2
--------------------------------------
- new jqueryurl configuration variable for the URL of the system provided
  jquery library - for Ubuntu this should be:
	http://localhost/javascript/jquery/jquery.min.js
  and on Fedora/CentOS this should be:
	http://localhost/.sysassets/js/jquery/2/jquery.min.js
- all of the XAJAX support has been moved to a new package called 
	wacs-php-xajax-legacy
  This package is not required by any of the current wacs-php applications
  and is provided only to support your own older custom code that may still
  use XAJAX.

Bugs fixed in 0.9.2
-------------------
- the wacsui implementation had a number of issues with internally referencing
  links within the module - ie self::contentlink in iconlink.
- fixed bug in dberror in wacs.php - now displays correctly

ADDING JQUERYURL TO THE /etc/wacs.d/wacs.cfg CONFIGURATION FILE
===============================================================

Since we released Wacs 0.9.2 before work on the jQuery transition had been done
we did not include the necessary jqueryurl setting in the wacs.cfg file shipped
with the Wacs 0.9.2 distribution.  You will have to add this line manually.

1.  Become root or a user with write access to /etc
2.  Load up your favourite plain text editor on /etc/wacs.d/wacs.cfg
3   Find the "server" section of the file, usually the third stanza..  
    Specifically find the end of it (</server>)
4.  Create a new line above that begins with your hostname in the style
    of the baseurl attribute a few lines above.  If you are on Fedora/
    CentOS add the following:

<jqueryurl>http://wew.example.com/.sysassets/js/jquery/2/jquery.min.js</jqueryurl>

    If you are on Ubuntu/Debian, add the following:

<jqueryurl>http://localhost/javascript/jquery/jquery.min.js</jqueryurl>

5.  Check that modelsel and setsel run correctly.

New Features in Release 0.9.1
-----------------------------
- implemented the cacheloc function (new in 0.9.1) in wacs.php
- implemented the contentlink function (new in 0.9.1) in wacsui.php
- implemented the thumblink function (new in 0.9.1) in wacsui.php
- iconlink now uses contentlink when appropriate and includes full support
  for usedirect and other new 0.9.1 features.
- dosubs re-written to know all apps section application names.
- photos.php and videos.php from simple skin re-written to use contentlink
- added new apps section to conf_get_attr requests
- general update to new parameters to functions, app name lookups etc
- moved all model icons references to use new modicons location

Configuration changes in Release 0.9.1
--------------------------------------
- changed default image viewer to eog as geeqee no longer packaged.
- added new configuration keywords contenti, contentv and cachelist
- relocated default apps paths to wacs-cgi from cgi-bin/wacs
- relocated leases files from /var/run/wacs to /var/lib/wacs as /var/run is
  getting wiped on reboot on newer distros.

Bugs fixed in 0.9.1
-------------------

New Features in Release 0.9.0
-----------------------------
- support for new fields mlabia and mstarsign added to describeher in wacsUI.
- added new ranklist and support in geticonlist and getvaluename
- added new default values lists to match the 0.9.0 perl API version
- added conf_dosubs function in wacs.php and updated menu functions in wacsUI
  to use conf_dosubs instead of menu_dosubs and deleted old menu_dosubs.
- added loadattrvalues function and updated geticonlist, defaults_icons and 
  defaults_modelattr to make use of it.
- updated addkeyicons and doicons to work with db-aware geticonlist, etc.
- added new getrelated and addrelicons functions in Wacs 0.9.0 API
- updated the simple skin apps girlie.php, photos.php, index.php, directory.php,
  galleries.php, gallery.php, movies.php, search.php, latest.php and videos.php
  to use new API calls and to honour srank filtering
- updated modelsel to use the latest API.
- re-did the layout of videos.php and photos.php to group the set info more
  logically with the set icon rather than the model icons.
- added support for the related icons (duplicates and continuations)

Configuration changes in Release 0.9.0
--------------------------------------

Bugs fixed in 0.9.0
-------------------
- finally changed over to using error_log() in place of print for debug
  statements and error messages.
- fixed problem with not showing latest models if their mflag wasn't set

New Features in Release 0.8.6
-----------------------------
- Massively re-written modelsel Dynamic Model Selector app.
  - includes build type and race selection
  - includes attributes and adds notes as to which other attributes are
    available with your selection
- new requests of build, cicon and bicon for build types to geticonlist
- added supports for new external section in the configuration file, initially
  providing "imageviewer" and "movieplayer" config items.

Configuration changes in Release 0.8.6
--------------------------------------
- now based on and includes xajax-0.6beta1 for support for PHP 5.3.x
  release

Bugs fixed in 0.8.6
-------------------
- wacs.php now creates the XMLSimple parser object in a way that should not
  cause a warning with the latest PHP implementations.
- fixed quoting problem with girlie.php that only showed up in 5.3.x

New Features in Release 0.8.5
-----------------------------
- modelsel.php (the XAJAX based Web 2.0 demo app) has been moved to a new top
  level directory called apps and the packages now include installation of the
  necessary xajax support files into the wacs/html directory.
- new vocal=3 option for logout pages saying "You have already logged out."
- added new -1 option to divideup for no resizing of set title text
- implemented new menu_get_handler call to match the perl version introduced
  to make using wacspage viable from the php apps in simple.
- significant restyling of the photos and videos page
- functional movies script (which is actually a dual-purpose list of galleries
  script) which links to galleries, and both gallery and set for 12 selected
  sample sets.
- functional galleries script which in turn links to the gallery script for
  each gallery in this sarea - also samples four sets from each of the 
  latest galleries
- functional gallery script which displays the icons of all the sets contained
  within the specified gallery along with links to each set.
- functional search script now allows searches to be made on a wide range of
  criteria
- reworked the model directory including count of matching models at bottom
- implemented the alsofeaturing function in WacsUI
- added the #NEWPERIOD# variable to the menu_dosubs function

Configuration changes in Release 0.8.5
--------------------------------------
- each of the simple skin apps now has a configuration variable called 
  config near the top of the file which specifies the .cfg, .css and 
  siteurl suffix to use.  This allows the easy customisation of the
  supplied/packaged simple skin to somewhere else (ie members/ perhaps?)
- colours in the simple.css style sheet standardised to give a more 
  consistent look.
- new fsloc -> minicache attribute default created to match the perl version
- new layout -> mpdivider and layout -> newperiod variables to control whether
  a divider should be added between types and to determine how long a model,
  image set or video should be considered new.

Bugs fixed in 0.8.5
-------------------
- fixed missing scalecache default value from configuration defaults
- improved calculation of imperial units for length
- fixed incomplete xajax-0.5 support library so modelsel.php works

New Features in Release 0.8.4
-----------------------------
- added new checkcount variable to match perl API (probably unused)
- new samples/xajax directory includes sample dynamic content pages written
  using Wacs-PHP and the XAJAX AJAX library.
- supporting XAJAX library files included in support directory (BSD license)
- improved the connection failure message in line with the changes to the
  perl version
- implemented addlinks() call to allow PHP apps to include menus in the
  standard WACS house style for seemless integration of PHP and Perl apps
- updated RPM and DEB package rules for AJAX samples
- added new fsloc->wacsdir attribute to match core version 0.8.4
- added new database->dbname attribute to match core version 0.8.4
- updated connection failed error message to mention wacssetup

Bugs fixed in 0.8.4
-------------------

New Features in Release 0.8.3
-----------------------------
- added new boobjob and eyebrowring attributes.
- added debian/Ubuntu packaging
- distinct improvements to the photos.php and videos.php pages

Bugs fixed in 0.8.3
-------------------

New Features in Release 0.8.2
-----------------------------
- added new skins directory with a simple sample website in php
  - index.php - sample front page
  - girlie.php - sample model page
  - directory.php - sample model directory
- new wacs-php-skins-simple package description added to RPM spec file
- added support for all three masthead colour attributes, including the
  new mastheadhighlight one introduced in Wacs 0.8.2
- added support for new picon, ticon, hicon and licon attribute->icon lists
- new demo PHP demo program modelindex.php showing use of WacsUI (based on
  mysimple6.php)
- added support for new siteurl value and used it where appropriate
- extended describeher function including the ability to convert to imperial
  values for height and weight.
- added new attributes strapon, pussylick, footjob, and visiblecum
- support for new layout -> units value.

Bugs fixed in 0.8.2
-------------------
- fixed bug with geticonlist not working on many of the possible attributes
- fixed bug with getvaluename not working at all!
- removed center directive from addkeyicons as it's counterproductive when
  using CSS style sheets
- fixed syntax error in addratings in wacsui.php module
- fixed problem where $this-> refers to the wacsui object when a conf_get_attr
  call ends up in a default value when called from within another module -
  ie wacsui.
- fixed bug where a specified null in a video name passed to iconlink is
  ignored.

New Features in Release 0.8.1
-----------------------------
- added new dberror API call to better handle database connection errors
- added new brazilian and hairy icons and attributes.
- added new addratings API call
- added new aliases field in describeher
- added new makedbsafe routine to filter out unwanted characters from strings
  returned by the web CGI routines
- added new admin default menu to match perl routine
- added destloc, destapp and destext options to iconlink
- added new layouts config attribute setspergallery (in case anyone needs it)

Bugs fixed in 0.8.1
-------------------
- found out about the issolated $_SERVER[] environment variables and added
  a test for those too - the WACS_CONFIG specification in a virtual host is
  now picked up and acted upon.

New Features in Release 0.8.0
-----------------------------
- extensive new documentation prepared - the WACS Programming Guide 
  (First Edition) - available in PDF and HTML (both single and multi page)
- many new example programs added
- added full support for new XML menu configuration files:
  - read_menu - parse and load contents of menu.cfg file.
  - menu_get_default - default link for a menu title
  - menu_get_title - the wording for a menu title
  - menu_get_body - the main menu routine with key defaults built in
  - menu_get_entry - does each menu entry processing
- implemented gettypecolour call in wacs.php module
- implemented divideup routine in wacs.php module
- implemented addheadercss routine in wacs.php module
- much improved XML parsing code (thanks to good folks at php.net)
- added Brazilian pussy type
- added Interview set type
- added pussylist array for pussy type lookup and to geticonlist

Bugs fixed in 0.8.0
-------------------

NB: Wacs-PHP is now licensed under Gnu Public License Version 3

New Features in Release 0.7.4
-----------------------------
- added new sample app newsets.php which shows a much more "real world"
  demonstration of how a newly added sets page can be produced
- support added for mtoys and mmast fields in whatshedoes
- added new modelcount layout attribute
- added new archive layout attribute
- icons.php sample program updated to use WacsUI

Bugs fixed in 0.7.4
-------------------
- WacsUI references to $this->conf_get_attr changed to Wacs::conf_get_attr
- GPL headers added to sample programs

New Features in Release 0.7.3
-----------------------------
- comment placeholders added for all wacs.pm functions
- new implementations of wacs.pm functions in wacs.php
  - getvaluename - returns the long name for a short value for specified object
  - geticonlist - returns all the same hashes (as arrays) as the perl version
- added extra data structures so geticonlist provides all same answers as perl
- new module wacsui.php - the wacs user interface components module created
  - aims to support same calls as perl equivalent
  - iconlink function moves there from wacs.php
  - describeher function now implmented in PHP
  - new version of whatshedoes (named parameters) now implemented in PHP
  - addkeyicons and doicon now implemented in PHP
- added debug mode support as per perl version 
- added layout-style attribute to show how filesystem is organised
- new tests directory added with a sample data conversion tester and a
  wacsui module tester.

Bugs fixed in 0.7.3
-------------------
- added check for existance of initially requested attribute before attempting
  an assign to $result of it in conf_get_attr() - removes spurious warning

Release 0.7.2
-------------
- added new security section keyword admingroup for the group ownership
- added typelist and media arrays ahead of implenting geticonlist function

Release 0.7.1
-------------
- added two new icons/attributes - pantiesfirst and blowjob

Release 0.7.0
-------------
- added flaglist variable for special flag types for models
- added iconlink function to create set icons with links

Release 0.6.2
-------------
- added gettoday routine - similar to perl WACS apart from how to call it:
  call with:  gettoday( array( "format"=>"DD-MON-YYYY","offset"=>"3") );
- added timecomps routine - similar to perl WACS except it returns an array
- added new authmode and vendormode configuration parameters.
- added new conn database table
- slightly more information for Oracle users on configuring the PHP DB
  connect string added to install document.
- added stupid little test program test.php - run with:  php test.php

Release 0.6.1

- this is the first release of Wacs-PHP
- the release number reflects the version of Wacs it interfaces with
- please report any bugs or concerns to the wacs lists on sourceforge