manifest.php 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  1. <?php return array (
  2. 'manifest-version' => '1.1',
  3. 'manifest-attributes' =>
  4. array (
  5. 'license' => 'GNU GENERAL PUBLIC LICENSE
  6. Version 2, June 1991
  7. --------------------------
  8. Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  9. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  10. Everyone is permitted to copy and distribute verbatim copies
  11. of this license document, but changing it is not allowed.
  12. Preamble
  13. --------
  14. The licenses for most software are designed to take away your
  15. freedom to share and change it. By contrast, the GNU General Public
  16. License is intended to guarantee your freedom to share and change free
  17. software--to make sure the software is free for all its users. This
  18. General Public License applies to most of the Free Software
  19. Foundation\'s software and to any other program whose authors commit to
  20. using it. (Some other Free Software Foundation software is covered by
  21. the GNU Library General Public License instead.) You can apply it to
  22. your programs, too.
  23. When we speak of free software, we are referring to freedom, not
  24. price. Our General Public Licenses are designed to make sure that you
  25. have the freedom to distribute copies of free software (and charge for
  26. this service if you wish), that you receive source code or can get it
  27. if you want it, that you can change the software or use pieces of it
  28. in new free programs; and that you know you can do these things.
  29. To protect your rights, we need to make restrictions that forbid
  30. anyone to deny you these rights or to ask you to surrender the rights.
  31. These restrictions translate to certain responsibilities for you if you
  32. distribute copies of the software, or if you modify it.
  33. For example, if you distribute copies of such a program, whether
  34. gratis or for a fee, you must give the recipients all the rights that
  35. you have. You must make sure that they, too, receive or can get the
  36. source code. And you must show them these terms so they know their
  37. rights.
  38. We protect your rights with two steps: (1) copyright the software, and
  39. (2) offer you this license which gives you legal permission to copy,
  40. distribute and/or modify the software.
  41. Also, for each author\'s protection and ours, we want to make certain
  42. that everyone understands that there is no warranty for this free
  43. software. If the software is modified by someone else and passed on, we
  44. want its recipients to know that what they have is not the original, so
  45. that any problems introduced by others will not reflect on the original
  46. authors\' reputations.
  47. Finally, any free program is threatened constantly by software
  48. patents. We wish to avoid the danger that redistributors of a free
  49. program will individually obtain patent licenses, in effect making the
  50. program proprietary. To prevent this, we have made it clear that any
  51. patent must be licensed for everyone\'s free use or not licensed at all.
  52. The precise terms and conditions for copying, distribution and
  53. modification follow.
  54. GNU GENERAL PUBLIC LICENSE
  55. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  56. ---------------------------------------------------------------
  57. 0. This License applies to any program or other work which contains
  58. a notice placed by the copyright holder saying it may be distributed
  59. under the terms of this General Public License. The "Program", below,
  60. refers to any such program or work, and a "work based on the Program"
  61. means either the Program or any derivative work under copyright law:
  62. that is to say, a work containing the Program or a portion of it,
  63. either verbatim or with modifications and/or translated into another
  64. language. (Hereinafter, translation is included without limitation in
  65. the term "modification".) Each licensee is addressed as "you".
  66. Activities other than copying, distribution and modification are not
  67. covered by this License; they are outside its scope. The act of
  68. running the Program is not restricted, and the output from the Program
  69. is covered only if its contents constitute a work based on the
  70. Program (independent of having been made by running the Program).
  71. Whether that is true depends on what the Program does.
  72. 1. You may copy and distribute verbatim copies of the Program\'s
  73. source code as you receive it, in any medium, provided that you
  74. conspicuously and appropriately publish on each copy an appropriate
  75. copyright notice and disclaimer of warranty; keep intact all the
  76. notices that refer to this License and to the absence of any warranty;
  77. and give any other recipients of the Program a copy of this License
  78. along with the Program.
  79. You may charge a fee for the physical act of transferring a copy, and
  80. you may at your option offer warranty protection in exchange for a fee.
  81. 2. You may modify your copy or copies of the Program or any portion
  82. of it, thus forming a work based on the Program, and copy and
  83. distribute such modifications or work under the terms of Section 1
  84. above, provided that you also meet all of these conditions:
  85. a) You must cause the modified files to carry prominent notices
  86. stating that you changed the files and the date of any change.
  87. b) You must cause any work that you distribute or publish, that in
  88. whole or in part contains or is derived from the Program or any
  89. part thereof, to be licensed as a whole at no charge to all third
  90. parties under the terms of this License.
  91. c) If the modified program normally reads commands interactively
  92. when run, you must cause it, when started running for such
  93. interactive use in the most ordinary way, to print or display an
  94. announcement including an appropriate copyright notice and a
  95. notice that there is no warranty (or else, saying that you provide
  96. a warranty) and that users may redistribute the program under
  97. these conditions, and telling the user how to view a copy of this
  98. License. (Exception: if the Program itself is interactive but
  99. does not normally print such an announcement, your work based on
  100. the Program is not required to print an announcement.)
  101. These requirements apply to the modified work as a whole. If
  102. identifiable sections of that work are not derived from the Program,
  103. and can be reasonably considered independent and separate works in
  104. themselves, then this License, and its terms, do not apply to those
  105. sections when you distribute them as separate works. But when you
  106. distribute the same sections as part of a whole which is a work based
  107. on the Program, the distribution of the whole must be on the terms of
  108. this License, whose permissions for other licensees extend to the
  109. entire whole, and thus to each and every part regardless of who wrote it.
  110. Thus, it is not the intent of this section to claim rights or contest
  111. your rights to work written entirely by you; rather, the intent is to
  112. exercise the right to control the distribution of derivative or
  113. collective works based on the Program.
  114. In addition, mere aggregation of another work not based on the Program
  115. with the Program (or with a work based on the Program) on a volume of
  116. a storage or distribution medium does not bring the other work under
  117. the scope of this License.
  118. 3. You may copy and distribute the Program (or a work based on it,
  119. under Section 2) in object code or executable form under the terms of
  120. Sections 1 and 2 above provided that you also do one of the following:
  121. a) Accompany it with the complete corresponding machine-readable
  122. source code, which must be distributed under the terms of Sections
  123. 1 and 2 above on a medium customarily used for software interchange; or,
  124. b) Accompany it with a written offer, valid for at least three
  125. years, to give any third party, for a charge no more than your
  126. cost of physically performing source distribution, a complete
  127. machine-readable copy of the corresponding source code, to be
  128. distributed under the terms of Sections 1 and 2 above on a medium
  129. customarily used for software interchange; or,
  130. c) Accompany it with the information you received as to the offer
  131. to distribute corresponding source code. (This alternative is
  132. allowed only for noncommercial distribution and only if you
  133. received the program in object code or executable form with such
  134. an offer, in accord with Subsection b above.)
  135. The source code for a work means the preferred form of the work for
  136. making modifications to it. For an executable work, complete source
  137. code means all the source code for all modules it contains, plus any
  138. associated interface definition files, plus the scripts used to
  139. control compilation and installation of the executable. However, as a
  140. special exception, the source code distributed need not include
  141. anything that is normally distributed (in either source or binary
  142. form) with the major components (compiler, kernel, and so on) of the
  143. operating system on which the executable runs, unless that component
  144. itself accompanies the executable.
  145. If distribution of executable or object code is made by offering
  146. access to copy from a designated place, then offering equivalent
  147. access to copy the source code from the same place counts as
  148. distribution of the source code, even though third parties are not
  149. compelled to copy the source along with the object code.
  150. 4. You may not copy, modify, sublicense, or distribute the Program
  151. except as expressly provided under this License. Any attempt
  152. otherwise to copy, modify, sublicense or distribute the Program is
  153. void, and will automatically terminate your rights under this License.
  154. However, parties who have received copies, or rights, from you under
  155. this License will not have their licenses terminated so long as such
  156. parties remain in full compliance.
  157. 5. You are not required to accept this License, since you have not
  158. signed it. However, nothing else grants you permission to modify or
  159. distribute the Program or its derivative works. These actions are
  160. prohibited by law if you do not accept this License. Therefore, by
  161. modifying or distributing the Program (or any work based on the
  162. Program), you indicate your acceptance of this License to do so, and
  163. all its terms and conditions for copying, distributing or modifying
  164. the Program or works based on it.
  165. 6. Each time you redistribute the Program (or any work based on the
  166. Program), the recipient automatically receives a license from the
  167. original licensor to copy, distribute or modify the Program subject to
  168. these terms and conditions. You may not impose any further
  169. restrictions on the recipients\' exercise of the rights granted herein.
  170. You are not responsible for enforcing compliance by third parties to
  171. this License.
  172. 7. If, as a consequence of a court judgment or allegation of patent
  173. infringement or for any other reason (not limited to patent issues),
  174. conditions are imposed on you (whether by court order, agreement or
  175. otherwise) that contradict the conditions of this License, they do not
  176. excuse you from the conditions of this License. If you cannot
  177. distribute so as to satisfy simultaneously your obligations under this
  178. License and any other pertinent obligations, then as a consequence you
  179. may not distribute the Program at all. For example, if a patent
  180. license would not permit royalty-free redistribution of the Program by
  181. all those who receive copies directly or indirectly through you, then
  182. the only way you could satisfy both it and this License would be to
  183. refrain entirely from distribution of the Program.
  184. If any portion of this section is held invalid or unenforceable under
  185. any particular circumstance, the balance of the section is intended to
  186. apply and the section as a whole is intended to apply in other
  187. circumstances.
  188. It is not the purpose of this section to induce you to infringe any
  189. patents or other property right claims or to contest validity of any
  190. such claims; this section has the sole purpose of protecting the
  191. integrity of the free software distribution system, which is
  192. implemented by public license practices. Many people have made
  193. generous contributions to the wide range of software distributed
  194. through that system in reliance on consistent application of that
  195. system; it is up to the author/donor to decide if he or she is willing
  196. to distribute software through any other system and a licensee cannot
  197. impose that choice.
  198. This section is intended to make thoroughly clear what is believed to
  199. be a consequence of the rest of this License.
  200. 8. If the distribution and/or use of the Program is restricted in
  201. certain countries either by patents or by copyrighted interfaces, the
  202. original copyright holder who places the Program under this License
  203. may add an explicit geographical distribution limitation excluding
  204. those countries, so that distribution is permitted only in or among
  205. countries not thus excluded. In such case, this License incorporates
  206. the limitation as if written in the body of this License.
  207. 9. The Free Software Foundation may publish revised and/or new versions
  208. of the General Public License from time to time. Such new versions will
  209. be similar in spirit to the present version, but may differ in detail to
  210. address new problems or concerns.
  211. Each version is given a distinguishing version number. If the Program
  212. specifies a version number of this License which applies to it and "any
  213. later version", you have the option of following the terms and conditions
  214. either of that version or of any later version published by the Free
  215. Software Foundation. If the Program does not specify a version number of
  216. this License, you may choose any version ever published by the Free Software
  217. Foundation.
  218. 10. If you wish to incorporate parts of the Program into other free
  219. programs whose distribution conditions are different, write to the author
  220. to ask for permission. For software which is copyrighted by the Free
  221. Software Foundation, write to the Free Software Foundation; we sometimes
  222. make exceptions for this. Our decision will be guided by the two goals
  223. of preserving the free status of all derivatives of our free software and
  224. of promoting the sharing and reuse of software generally.
  225. NO WARRANTY
  226. -----------
  227. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  228. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  229. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  230. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  231. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  232. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  233. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  234. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  235. REPAIR OR CORRECTION.
  236. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  237. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  238. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  239. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  240. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  241. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  242. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  243. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  244. POSSIBILITY OF SUCH DAMAGES.
  245. ---------------------------
  246. END OF TERMS AND CONDITIONS',
  247. 'readme' => '--------------------
  248. Snippet: Login
  249. --------------------
  250. - Version: 1.9.6
  251. - Since: June 21, 2010
  252. - Author: Jason Coward <jason@modx.com>,
  253. Shaun McCormick <shaun+login@modx.com>
  254. This component loads a simple login and logout form. It also comes packaged
  255. with ForgotPassword and ResetPassword snippets, which allow the user to put
  256. in their username or email to receive a confirmation email which will reset
  257. their password.
  258. Example for Login:
  259. ```
  260. [[!Login]]
  261. ```
  262. You can also specify the template:
  263. ```
  264. [[!Login? &tpl=`myLoginChunk`]]
  265. ```
  266. See the snippet properties for more options.
  267. --------------
  268. ForgotPassword
  269. --------------
  270. To use the password retrieval functionality, first create the Resource the
  271. user will log in to should they click on the confirmation email, and put
  272. the Reset Password snippet in. Tell it what Resource the Login snippet is
  273. in - or where you\'d like it to provide a link back to:
  274. ```
  275. [[ResetPassword? &loginResourceId=`72`]]
  276. ```
  277. Then create another resource with the Forgot Password snippet, and tell it
  278. what Resource the Reset snippet is in:
  279. ```
  280. [[!ForgotPassword? &resetResourceId=`123`]]
  281. ```
  282. --------
  283. Register
  284. --------
  285. To use the Register snippet, simply place the Snippet in the Resource where
  286. your HTML register form is. (A default one called lgnRegisterFormTpl has
  287. been provided.). This snippet also requires Activation by the User, so they
  288. will get an email in their inbox regarding their signup.
  289. In your form field names, you can use validation filters to validate your
  290. fields. They are separated with the colon : symbol. Example:
  291. ```
  292. <input type="password" name="password:required:minLength=6" id="password" value="[[+password]]" />
  293. ```
  294. will require that the password field not be empty, and have a minimum
  295. length of 6 chars. You can encapsulate validator params (6 here) with ` if
  296. the param has spaces in the name. The default validators provided are:
  297. ```
  298. required
  299. blank
  300. email
  301. password_confirm=`nameOfPasswordField`
  302. minLength=`123`
  303. maxLength=`123`
  304. minValue=`123`
  305. maxValue=`123`
  306. ```
  307. You can also do custom validators by creating a Snippet and using that as
  308. the validator name. Example: We create a Snippet called \'equalTo\' and
  309. on our field, we set:
  310. ```
  311. <input type="text" name="field:equalTo=`123`" id="field" />
  312. ```
  313. Now, in our snippet, our code would look like so:
  314. ```
  315. <?php
  316. if ($scriptProperties[\'value\'] !== $scriptProperties[\'param\']) {
  317. return \'Value not equal to: \'.$scriptProperties[\'param\'];
  318. }
  319. return true;
  320. ?>
  321. ```
  322. Returning true will make the field valid. Any other return value will
  323. be the error message. Snippets get passed the following parameters:
  324. - key: The name of the field.
  325. - value: The value of the field.
  326. - param: The parameter, if applicable, passed to the validator.
  327. - type: The name of the validator.
  328. - validator: A reference to the lgnValidator instance.
  329. See the Snippet Properties and the [MODX Docs](https://docs.modx.com/extras/revo/login) for more options.
  330. Thanks,
  331. Jason Coward & Shaun McCormick
  332. MODX, LLC
  333. ',
  334. 'changelog' => 'Changelog for Login
  335. ===================
  336. Login 1.9.7
  337. ------------------------------------
  338. - Generate the password directly with modx->user->generatePassword()
  339. - Make it possible to set the usergroup rank when register a new user [#135]
  340. - Set an action in the default password reset form [#134]
  341. - Update Translations
  342. Login 1.9.6
  343. ------------------------------------
  344. - Register snippet PII improvements [#130]
  345. - JSON responses for the Login controller/snippet [#121]
  346. - Use Crowdin for translations: https://crowdin.com/project/modx-login
  347. - Update Translations [#132]
  348. - Use $modx->user->generatePassword for generating passwords [#131]
  349. - Escape MODX tags after htmlspecialchars because of the ampersand sign
  350. Login 1.9.5
  351. ------------------------------------
  352. - Fix ResetPassword passing null instead of an array to getChunk
  353. - Remove hash_class, salt and sessionid from placeholders
  354. - Prevent potential XSS in placeholders
  355. - Added two missing default template chunks
  356. - Fixing a charset issue in some language files
  357. - Fixing email validation [#110]
  358. - Disable User/E-mail Enumeration in ForgotPassword snippet by an empty sentTpl property (default)
  359. - New jsonResponse property for returning a JSON by the Register snippet (for an AJAX call response)
  360. - Possibility to reset the registration fields after successful registration
  361. Login 1.9.4
  362. ------------------------------------
  363. - Disable User/E-mail Enumeration
  364. - Enable login via email
  365. - Convert deprecated ereg functions to preg_* [#86]
  366. - Fixing error placeholders with empty placeholderPrefix
  367. - Fixing recoverable error, Argument 2 to getChunk() must be of the type array, null given [#87]
  368. Login 1.9.3
  369. ------------------------------------
  370. - Added activePage property to ConfirmRegister controller
  371. - Added danish language files
  372. - Normalize placeholder prefix usage
  373. - Improved PHP7 compatibility
  374. - Added loggedinResourceId and loggedoutResourceId to the Login controller
  375. - Fix errors with square brackets in changed password
  376. - Add confirm password and password length validation messages to the field error placeholders too
  377. - Fill lu/lp placeholders in the change password form
  378. - Added hidden lu/lp fields to the lgnResetPassChangePassTpl chunk
  379. - Fix for array fields in Register/Profile/UpdateProfile snippet
  380. Login 1.9.2
  381. ------------------------------------
  382. - Fix sending register activation email
  383. - Fix ConfirmRegister processor
  384. Login 1.9.1
  385. ------------------------------------
  386. - [[!+error.message]] returns detailed error
  387. - [#42] Fixed URL encoding/decoding
  388. - Sanitise Login placeholders
  389. - Fixed namespace paths
  390. Login 1.9.0
  391. ------------------------------------
  392. - Expired/used password reset link notification
  393. - Added autoLogin and forceChangePassword to ResetPassword snippet
  394. - Added autoLogin param to Register snippet
  395. - Improved password reset functionality
  396. - Update form fields with new values when reloadOnSuccess=0
  397. - Replace parseChunk with getChunk
  398. - Added Arabic lexicons
  399. - Fixed invalid properties in logindictionary and updateprofile
  400. - Added czech lexicons
  401. Login 1.8.1
  402. ------------------------------------
  403. - Add password strength algorithm and checking properties to Register, via &ensurePasswordStrength property
  404. Login 1.8.0
  405. ------------------------------------
  406. - [#5946] Add ability to set User Group for a new user via the &usergroupsField property
  407. - [#7520] Fix bug with ConfirmRegister logging the user in as anonymous
  408. Login 1.7.3
  409. ------------------------------------
  410. - [#7035] Fix regression error with email field in Register snippet
  411. Login 1.7.2
  412. ------------------------------------
  413. - [#6194] Fix issue with UpdateProfile when specifying the non-active user to update
  414. - [#6538] Add removeExpiredRegistrations property to Register snippet for handling expired, unactivated registrations
  415. - [#6256] Ensure Register respects passwordField and emailField properties
  416. - [#6288] Fix error message display in ChangePassword
  417. Login 1.7.1
  418. ------------------------------------
  419. - [#5947] Fix issue with Profile with unauthenticated users
  420. - [#5979] Fix issue with ConfirmRegister and non-FURL sites
  421. - [#5734] Add &allowedFields to Register to allow restricting of submitted fields to a specific set
  422. - [#6010] Fix typo in UpdateProfile mismatching ID of profile to internalKey
  423. - [#5961] Add &trimPassword to automatically trim whitespace from submitted passwords
  424. - Add &generatePassword to automatically generate a password instead of having to provide one manually
  425. - [#6146] Add &validatePassword to Register to allow for manual password generation
  426. - [#5969] Add &user property to UpdateProfile to allow specifying user to update
  427. Login 1.7.0
  428. ------------------------------------
  429. - [#49] Update reCaptcha URLs
  430. - [#5793] Add errTpl and errTplType properties to ForgotPassword
  431. - [#5823] Fix issue where postHooks did not have fields available
  432. - [#5797] Fix issue where &authenticate was not respected in ConfirmRegister snippet
  433. - [#5796] Fix issue where errors could appear twice if user used validators on username/email/password fields
  434. - Add ActiveUsers snippet that shows a list of active, logged-in users
  435. - Add file-based hooks to Login hook calls
  436. - Complete OOP refactoring to provide more stable development and better code isolation
  437. - Add unit test framework and over 30 tests
  438. - Add alternative plaintext email option for ability to send both html and plaintext in emails
  439. - [#5166] Add additional sanity decoding to ConfirmRegister processing
  440. Login 1.6.5
  441. ------------------------------------
  442. - [#5176] Fix issue with Registration in Revo 2.0 installations
  443. - Fix issue with some error messages not being wrapped with errTpl
  444. - Email validator now only checks for email validation, not required status
  445. - [#5166] Add additional sanity decoding to ConfirmRegister processing
  446. Login 1.6.4
  447. ------------------------------------
  448. - [#3588] Add &allowedFields and &allowedExtendedFields to UpdateProfile to restrict fields that are updated
  449. - [#4744] Add &redirectToOnFailedAuth parameter for redirecting to a separate page on failed logins
  450. - [#3263] Remove duplicate error spans in validator output
  451. Login 1.6.3
  452. ------------------------------------
  453. - Better support for checkboxes/radios/bracketed fields in login validator
  454. - [#5088] Fix issue with ChangePassword &validateOldPassword and Revo 2.1.1
  455. Login 1.6.2
  456. ------------------------------------
  457. - [#4844] Automatically trim trailing whitespace/newlines in validator calls
  458. - [#4843] Fix issue with sentTplType not being respected in ForgotPassword
  459. - [#4936] Fix issue in ForgotPassword that occurred if no user was found with that username
  460. - [#5019] Add backwards compatibility for Revo 2.0.x users in ResetPassword
  461. - Fix reference to $this->modx->lexicon in Login Snippet
  462. Login 1.6.0/1
  463. ------------------------------------
  464. - [#4886] Fix issue with variable variable in main login class when loading hooks
  465. - [#4487] Prevent usage of mb_ereg if not installed
  466. - [#3500] Fix issues with inline tplType params in Login snippets
  467. - [#4545] Fix issue with OnBeforeUserActivate event
  468. - Revolution 2.1 support, specifically with the password changes
  469. Login 1.5.3
  470. ------------------------------------
  471. - Add preHooks to ForgotPassword snippet
  472. - Fix issue that occurs when Login and Register forms are on same page with math register hook
  473. Login 1.5.2
  474. ------------------------------------
  475. - [#3330] Add sanity checks to prevent possible submitVar data adding in UpdateProfile
  476. - Add support for moderation of users when done in a prehook
  477. - Add support for redirectBackParams that can send encoded data through a login/registration process
  478. - Add a generic validation error in Register to allow for general messages
  479. - Ensure preHooks run before password validation in ChangePassword snippet
  480. - Fix issue with placeholderPrefix in UpdateProfile snippet
  481. Login 1.5.1
  482. ------------------------------------
  483. - [#44] Fix bug with login validator, &validate parameter
  484. - [#40] Fix issue with syncUsername in UpdateProfile
  485. - [#42] Respect allow_multiple_emails setting that prevents users with same email addresses
  486. - [#43] Add workaround for xPDO bug with NULL fields in modUserProfile
  487. - Trim each hook specification in hooks calls
  488. - [#28] Fixed validator issue in UpdateProfile
  489. - Added redirectTo and redirectParams on ForgotPassword snippet
  490. - Updated events in ResetPassword snippet to pass user object
  491. - Fixed UpdateProfile to properly update user obj so derivative User classes can manage profile updates
  492. Login 1.5.0
  493. ------------------------------------
  494. - Fixed security vulnerability
  495. - Added authenticate and authenticateContexts to ConfirmRegister to allow for authentication after confirming registration
  496. - Fixed persisting request alias params issue in ConfirmRegister
  497. - [#15] Added ability to assign roles when using &usergroups in Register, ie: &usergroups=`my-group-name:Member`
  498. - Added math hook to Register, allowing anti-spam math field measure
  499. - Added fix to allow overriding of class_key for new users in Register
  500. Login 1.4.0
  501. ------------------------------------
  502. - Added redirectBack to Register, Login and ConfirmRegister that allows dynamic redirection handling for other forms needing login/registration
  503. - Added redirectTo, redirectParams to ConfirmRegister that will redirect after successful confirmation
  504. - Added persistParams to Register snippet, useful for shopping cart implementations to persist parameters across the registration process
  505. - [#27] Fixed issue with activationEmail always overriding normal email
  506. - [#29] Added loginResourceParams, logoutResourceParams, which allows attaching REQUEST parameters to login/logout redirection URLs
  507. - Added changelog to build
  508. - [#26],[#14] Added activationEmail property for better handling of middle men in activation steps
  509. Login 1.3.2-pl
  510. ------------------------------------
  511. - [#25] Added isLoggedIn snippet for checking auth status
  512. - [#24] Fixed issue where inactive user could re-register
  513. - Fixed issue with embedded chunk type display
  514. - Fixed issue with redirects and non-FURLs on Register snippet
  515. Login 1.3.1-pl (October 15, 2010)
  516. ------------------------------------
  517. - Fixed issue with Login snippet on invalid logins
  518. Login 1.3.0-pl (October 14, 2010)
  519. ------------------------------------
  520. - Modified experimental multi-context support to use new login processor add_contexts parameter
  521. - Added ChangePassword snippet for changing passwords in the front-end
  522. - Fixed bugs with usernameField property, now works as expected
  523. - Added Dutch translation
  524. Login 1.2.0
  525. ------------------------------------
  526. - Fixed issues with placement of prehooks and such
  527. - Added excludeExtended property to Register, UpdateProfile snippets to allow for excluding fields from extended fields
  528. - Added new hook API methods for easier setting/retrieving of fields
  529. - Added experimental multiple-context login support
  530. - Fixed bug in login snippet with hard-coded action keys
  531. - Added support to set subject in ForgotPassword email
  532. - Added reCaptcha support to login form via a preHook
  533. - Added preHooks and postHooks ability to Login snippet
  534. - i18n of snippet properties
  535. Login 1.1.0
  536. ------------------------------------
  537. - Added Profile snippet, which outputs Profile data of a User in placeholders
  538. - Added &useExtended to UpdateProfile/Register, which allows users to set additional fields passed to be set in extended column
  539. - Fixed bug in UpdateProfile where validators were broken
  540. Login 1.0.3
  541. ------------------------------------
  542. - Fixed bug where logout link generation was ignorant of xhtml_urls setting
  543. - Fixed bug where ForgotPassword was sending invalid confirmUrl
  544. - Added preHooks and postHooks properties for doing pre and post register scripting to UpdateProfile snippet
  545. - Added preHooks and postHooks properties for doing pre and post register scripting to Register snippet
  546. - Added syncUsername property to UpdateProfile snippet
  547. - Fixed bug with embedded output in Login snippet
  548. - Added Russian translation
  549. Login 1.0.2
  550. ------------------------------------
  551. - Updated copyright information
  552. - Ensure username,password and email are always passed to register snippet to prevent blank logins
  553. Login 1.0.1
  554. ------------------------------------
  555. - Consolidated elements into own dir
  556. - Added extra checks and fixes to lgnValidator class
  557. - Added UpdateProfile snippet to enable updating of profile from front-end
  558. Login 1.0.0
  559. ------------------------------------
  560. - [#ADDON-129] Added name to default Register form
  561. - [#ADDON-106] Fixed incorrect plugin event invoking
  562. - [#ADDON-107] Added missing lexicon entry register.password_confirm
  563. - [#ADDON-103] Fixed context-specific issue with register email
  564. - [#ADDON-118] Force lexicon topic to load on lgnRegisterForm
  565. - Fixed alias issue in ForgotPassword snippet
  566. - Added changelog.txt
  567. ',
  568. ),
  569. 'manifest-vehicles' =>
  570. array (
  571. 0 =>
  572. array (
  573. 'vehicle_package' => 'transport',
  574. 'vehicle_class' => 'xPDOObjectVehicle',
  575. 'class' => 'modNamespace',
  576. 'guid' => '31a19c88fcbd45eca7b7af14b54dd2d5',
  577. 'native_key' => 'login',
  578. 'filename' => 'modNamespace/da84c699c35afc491f961bf5c84e0924.vehicle',
  579. 'namespace' => 'login',
  580. ),
  581. 1 =>
  582. array (
  583. 'vehicle_package' => 'transport',
  584. 'vehicle_class' => 'xPDOObjectVehicle',
  585. 'class' => 'modSystemSetting',
  586. 'guid' => '00f7b5991b6b8ba82c7c2ee6e97a4821',
  587. 'native_key' => 'login.forgot_password_email_subject',
  588. 'filename' => 'modSystemSetting/8c2f8b693f28a1a42d4b34197ac53d48.vehicle',
  589. 'namespace' => 'login',
  590. ),
  591. 2 =>
  592. array (
  593. 'vehicle_package' => 'transport',
  594. 'vehicle_class' => 'xPDOObjectVehicle',
  595. 'class' => 'modSystemSetting',
  596. 'guid' => '25b173aa94033afc6ef3475365ec800f',
  597. 'native_key' => 'recaptcha.public_key',
  598. 'filename' => 'modSystemSetting/34dcf47ca1f2e48a01543876bdd1e525.vehicle',
  599. 'namespace' => 'login',
  600. ),
  601. 3 =>
  602. array (
  603. 'vehicle_package' => 'transport',
  604. 'vehicle_class' => 'xPDOObjectVehicle',
  605. 'class' => 'modSystemSetting',
  606. 'guid' => 'd16a303ae7dc230a7196a0d255d1b4c5',
  607. 'native_key' => 'recaptcha.private_key',
  608. 'filename' => 'modSystemSetting/2fcbfafdd85fa23b014a150e41b405b3.vehicle',
  609. 'namespace' => 'login',
  610. ),
  611. 4 =>
  612. array (
  613. 'vehicle_package' => 'transport',
  614. 'vehicle_class' => 'xPDOObjectVehicle',
  615. 'class' => 'modSystemSetting',
  616. 'guid' => '5b6e55e4e80734ff2a4cc4ec6da56548',
  617. 'native_key' => 'recaptcha.use_ssl',
  618. 'filename' => 'modSystemSetting/a914754d24fae48307594faeaff79996.vehicle',
  619. 'namespace' => 'login',
  620. ),
  621. 5 =>
  622. array (
  623. 'vehicle_package' => 'transport',
  624. 'vehicle_class' => 'xPDOObjectVehicle',
  625. 'class' => 'modCategory',
  626. 'guid' => '952069b037f77600053263d0c7c1bd6c',
  627. 'native_key' => NULL,
  628. 'filename' => 'modCategory/f010e0bd210832571d89a17d366fa0c2.vehicle',
  629. 'namespace' => 'login',
  630. ),
  631. ),
  632. );