| changeset | 056061cfe135 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | doc: add check for db.tx_Source to Reauth examples Otherwise it triggers on roundup-admin et al |
| files |
| changeset | 370689471a08 |
|---|---|
| branch | issue2550923_computed_property |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | merge from default branch accumulated changes since Nov 2023 |
| files |
| changeset | 0663a7bcef6c |
|---|---|
| branch | reauth-confirm_id |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | feat: finish reauth docs, enhance code. Decided to keep name Reauth for now. admin_guide.txt: add reference mark to roundup admin help. Used for template command reference in upgrading.txt. customizing.txt: added worked example of adding a reauth auditor for address and password. Also links to OWASP recommendations. Added link to example code in design.doc on detectors. glossary.txt: reference using roundup-admin template command in def for tracker templates. pydoc.txt: Added methods for Client class. Added class and methods for (cgi) Action, LoginAction and ReauthAction. reference.txt Edited and restructured detector section. Added section on registering a detector and priority use/execution order. (reference to design doc was used before). Added/enhanced description of exception an auditor can raise (includes Reauth). Added section on Reauth implementation and use (Confirming the User). Also has paragraph on future ideas. upgrading.txt Stripped down the original section. Moved a lot to reference.txt. Referenced customizing example, mention installation of _generic.reauth.html and reference reference.txt. cgi/actions.py: fixed bad ReST that was breaking pydoc.txt processing changed doc on limitations of Reauth code. added docstring for Reauth::verifyPassword cgi/client.py: fix ReST for a method breaking pydoc.py processing cgi/templating.py: fix docstring on embed_form_fields templates/*/html/_generic.reauth.html disable spelling for password field add timing info to the javascript function that processes file data. reformat javascript IIFE templates/jinja2/html/_generic.reauth.html create a valid jinja2 template. Looks like my original jinja template got overwritten and committed. feature parity with the other reauth templates. test/test_liveserver.py add test case for Reauth workflow. Makefile add doc. |
| files |
| changeset | 5eb470cbcc08 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | doc: fix missing '>' |
| files |
| changeset | 3f43db05aa11 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | docs: use bulleted list for deprecation; pydoc for shared dir pydoc update for embedded/released docs isn't working quite right. The html file is generated but no docs are extracted into it. But the error emitted by the presence of pydoc.txt is suppressed. |
| files |
| changeset | b99e76e76496 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Ralf Schlatterbeck <rsc@runtux.com> |
| description | Make native date and number elements configurable Now for Number() and Integer() properties the browser-native number format can be configured with the use_browser_number_input config item in seciont [web]. The default is 'yes'. For Date() properties the config item is use_browser_date_input (also in section [web]) but the default is 'no'. In addition when defining Date() properties, these now have a parameter 'display_time' which defaults to 'yes' and a 'format' parameter which defaults to None. These set defaults for the field() method of the DateHTMLProperty which have the same parameters (but the display_time parameter of field() takes a boolean, not 'yes'/'no'). |
| files |
| changeset | 2bf0c4e7795e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: issue2551390 - Replace text input/calendar popup with native date input Docs, code and test changes for the changeover to a native date element. See issue for details. |
| files |
| changeset | 6cebbb42c883 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | docs: regroup feature list using GPT and update Gave GPT 3.5 the original list of features annotated with the section header when needed to understand feature context. Asked it to recategorize. Took it's output and moved some things around, edited, and added more links. Also added links to the wiki for OAUTH and Shibboleth extrnal user databases to the customizing document section on external user databases. |
| files |
| changeset | 03c1b7ae3a68 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | issue2551328/issue2551264 unneeded next link and total_count incorrect Fix: issue2551328 - REST results show next link if number of results is a multiple of page size. (Found by members of team 3 in the UMass-Boston CS682 Spring 2024 class.) issue2551264 - REST X-Total-Count header and @total_size count incorrect when paginated These issues arose because we retrieved the exact number of rows from the database as requested by the user using the @page_size parameter. With this changeset, we retrieve up to 10 million + 1 rows from the database. If the total number of rows exceeds 10 million, we set the total_count indicators to -1 as an invalid size. (The max number of requested rows (default 10 million +1) can be modified by the admin through interfaces.py.) By retrieving more data than necessary, we can calculate the total count by adding @page_index*@page_size to the number of rows returned by the query. Furthermore, since we return more than @page_size rows, we can determine the existence of a row at @page_size+1 and use that information to determine if a next link should be provided. Previously, a next link was returned if @page_size rows were retrieved. This change does not guarantee that the user will get @page_size rows returned. Access policy filtering occurs after the rows are returned, and discards rows inaccessible by the user. Using the current @page_index/@page_size it would be difficult to have the roundup code refetch data and make sure that a full @page_size set of rows is returned. E.G. @page_size=100 and 5 of them are dropped due to access restrictions. We then fetch 10 items and add items 1-4 and 6 (5 is inaccessible). There is no way to calculate the new database offset at: @page_index*@page_size + 6 from the URL. We would need to add an @page_offset=6 or something. This could work since the client isn't adding 1 to @page_index to get the next page. Thanks to HATEOAS, the client just uses the 'next' url. But I am not going to cross that bridge without a concrete use case. This can also be handled client side by merging a short response with the next response and re-paginating client side. Also added extra index markers to the docs to highlight use of interfaces.py. |
| files |
| changeset | 697062addac4 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | doc: in timelog example link to auditor to create timelogs from email Or specially formatted lines in the message body. |
| files |
| changeset | 67438e439da8 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | docs: issue2551317 add support for jinja2 customization examples Added sphinx-tabs to doc build. This allows adding code-tabs one for "TAL" examples and one for "Jinja2" examples in the doc. Converted partly the "Editing multiple items in an index view" example. Sombody who knows jinja2 better than I, and can test the example will need to finish it. Documented requirement and method for building docs in developers.txt. Added requirements.pip files for pip install -r ... modules needed for processing docs. Fixed missing block in layout.txt that stopped tabs.css from being loaded. |
| files |
| changeset | ce0c40b6cdc3 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | doc: replace URL action example with form The example to provide a link to take or resolve an item was broken. Roundup has required a POST not GET for changes to the database for a while. This example was never fixed. Replaced a link using GET with a POSTed form. This changes the activating element from a link to a button. The button could be restyled as a link using CSS I think. The original example was also not canonical. It used :action rather than the canonical @action. |
| files |
| changeset | 14a8e11f3a87 |
|---|---|
| branch | issue2550923_computed_property |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | merge default into branch |
| files |
| changeset | a072331c843b |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Change customizing to customising in all variants. Make the spelling of customizing follow the British (also Australian since Richard Jones is from there) spelling. Non-native English speakers will see a consistent spelling of the word. The filename is still customizing.txt/html (US spelling) though. |
| files |
| changeset | 82bbb95e5690 |
|---|---|
| branch | issue2550923_computed_property |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | merge from tip into issue2550923_computed_property |
| files |
| changeset | a1d0b505766e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Updates - meta description; indent examples; rework headers Remove some left over description that applies to reference.html now. Indent a couple of examples to 2 spaces. Take headers for interfaces.py and move them under Example header (down one level). Also remove Example: prefix from the headers. Add links to reference document examples. Link to CustomizationExamples on wiki. |
| files |
| changeset | 0cb4541bad71 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | add welcome preface on reorg to pages |
| files |
| changeset | 2b1cbe079ff5 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Main TOC gets depth 3; Example section TOC removed. Since the doc is split, the top level TOC is shorter and can display the individual example sections. This means the example section TOC isn't needed. |
| files |
| changeset | f3c9ba5db30b |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | split reference out from customizing and fix all links. also reformat a couple of lists. Still to do verify that references to customizing.txt from the rest of the docs should still point there. |
| files |
| changeset | bee24b37a90f |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | link directly to translation instructions section in developer's guide. |
| files |
| changeset | 4890692dd0b7 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Change ordered list to use numbers. Orderd list was using letters, but sphynx was numbering it. The block after the list was using letters to refer to items in the list. Make everything use numbers. |
| files |
| changeset | f25f47c3c624 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix xmlrpc endpoint, mke blockquote into pre block. |
| files |
| changeset | 114a78ba67a5 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Typo fix. |
| files |
| changeset | b97d6a4fba85 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Add link to database content section. was text only reference. |
| files |
| changeset | 74778ed75aad |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Add changing rest rate limiting to interface.py section. |
| files |
| changeset | 90c70726e882 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Fix: nested lists, wide example, wiki schema examples |
| files |
| changeset | 91125d474c1e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | doc updates, normalize roundup => Roundup, add links, typo fixes In Tracker in a Nutshell section Document interfaces.py in table Add links for auditors/reactors to detectors section in table Add links for actions in table Also mark optional components Change roundup to canonical Roundup. Fix unordered lists that were indented causing a list inside a blockquote. UL lists are not unindented. Move internal hyperlink references above the section heading they refer to. Links were jumping after the heading which disorients the user. Change reference to never deleting 'users' class to be 'user' class. fix typos Remove uneeded trailing whitespace. |
| files |
| changeset | 519fb6dca72b |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | doc: add recommendation for singular class names |
| files |
| changeset | 570abc4c6548 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Improve documention on access to templates and static_files. |
| files |
| changeset | ca90f7270cd4 |
|---|---|
| branch | issue2550923_computed_property |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | merge from main tip. This should fix test failure in Markdown2TestCase.test_string_markdown_code_block_attribute by merging html diff method used in tests. |
| files |
| changeset | ff2c8b430738 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | flake8 - remove re.compile from method arg + test + doc changed 2 methods defined like: def method(..., dre=re.compile(r'...')): moved re.compile to module variables and passed the var name def method(..., dre=var_name): while doing this I found out that a url of .../issue0001 will behave like .../issue1. Who knew. Documented in customizing. Tested same in test_liveserver. Added msg1 as well so I could verify msg0001 worked. Also added some range tests as well. |
| files |
| changeset | 234fefd7568a |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | issue2550559 - Pretty printing / formatting for Number types. add pretty(format='%0.3f') method to NumberHTMLProperty. |
| files |
| changeset | e7b4ad2c57ac |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | landmarks, skiplink, remove bad attrs, autocomplete search layout.html: Add main and nav landmarks to layout templte. Add skiplink to get to main. Remove Description meta tag from layout template in favor of description metadata in individual files. Remove obsolete border attribute from sourceforge logo. Add autocomplete="on" attribute for search input box. doc/*.txt Remove language attribute from description meta tags. These changes also occur for other files not in this commit. Thse other files have changes to files for the 2.2.0 release not yet tobe committed. |
| files |
| changeset | d640e9a5d6d7 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Reformat templating section. Document jinja2. Break TAL and Chameleon out into bulleted list from paragraph. Add doc on jinja2 templating support and jinja2 template. |
| files |
| changeset | c68739264869 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Fix spelling. |
| files |
| changeset | e1588ae185dc |
|---|---|
| branch | issue2550923_computed_property |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | merge from default branch. Fix travis.ci so CI builds don't error out |
| files |
| changeset | 9455538c4a1f |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Add /rest/ and /xmlrpc/ to section Roundup URL design |
| files |
| changeset | 24e2eeb2ed9a |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Add meta description to some doc pages. Try to improve SEO a bit. Get more users/contributors. |
| files |
| changeset | 3759893f0686 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Document validating exenstions/config.ini and detectors/config.ini Describe how to validate the settings in supplimental config.ini files. This doc only includes reusing existing option validators from configuration.py. Writing your own validators is something for the future. |
| files |
| changeset | 47b4391e1503 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Fix docs mising Search permission for example. - addition Gratuitous whiespace change to add: The All users may only view and edit issues, files and messages they create example was missing the addition of Search permission. The example predates the existence of the Search permission. See: https://sourceforge.net/p/roundup/mailman/message/37390174/ for initial report. |
| files |
| changeset | 7cfb7d4fce60 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Fix docs mising Search permission for example. The All users may only view and edit issues, files and messages they create example was missing the addition of Search permission. The example predates the existence of the Search permission. |
| files |
| changeset | 30358e334232 |
|---|---|
| branch | issue2550923_computed_property |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | merge trunk changes into this branch |
| files |
| changeset | 60532cafc62a |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | sys.path when interfaces.py is invoked per: https://sourceforge.net/p/roundup/mailman/message/26389589/ Document that tracker lib and other tracker specific module dirs are not on the sys.path when interfaces.py is invoked. |
| files |
| changeset | 258385cad27e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Add search perm and update default perms Search permission was not documented. Add that. Doc of schema permissions had diverged from classic template. Update from current classic template. |
| files |
| changeset | 2bd60def4fed |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Improve doc on special action vars in cusotmizing.txt. Added example html inputs to illustrate the doc. Fix position of designator in doc example. It occurs before @link@ or other edit command. |
| files |
| changeset | 2917231d8076 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Document templating.utils.anti_csrf_nonce() |
| files |
| changeset | 9c57f2814597 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Fix issue2551122 (MultilinkHTMLProperty sorted method issue) The sorted method of MultilinkHTMLProperty does a string sort even if the property is an integer. Fixed so that the orderprop for the linked class is used. |
| files |
| changeset | 586865e08f42 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Fix formatting of lists in doc for postfix expressions |
| files |
| changeset | 3dbf1bc5e567 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | issue2551120 - The sorted method of MultilinkHTMLProperty crashes ... if the given property is unset for an element of the list. Crash fixed. New feature NoneFirst added to method to make unset values sort at start or end of sorted list. Current testing framework for this code is insuffient for testing change. Committing without automated test because it solves a crash. |
| files |
| changeset | ce99e0d39262 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Ralf Schlatterbeck <rsc@runtux.com> |
| description | Add documentation for multilink expression syntax |
| files |
| changeset | 7fb49f0c2dad |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | collapse code example to one line. |
| files |
| changeset | eeddc4e03742 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Documented possible use of __redirect_to for edit function. |
| files |
| changeset | 207b0fc82fc1 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Fix incorrect template (Nagy Gabor); spelling fix |
| files |
| changeset | 1a15089c2e49 |
|---|---|
| branch | issue2550923_computed_property |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Merge trunk into branch |
| files |
| changeset | 5d6b3122f74c |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Remove redundant words in doc. |
| files |
| changeset | 1e5ed659e8ca |
|---|---|
| branch | issue2550923_computed_property |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Initial implementation of Computed property It supports query/display in html, rest and xml interfaces. You can specify a cache parameter, but using it raises NotImplementedError. It does not support: search, sort or grouping by the computed field. Checking in on a branch to get more eyeballs on it and maybe some people to help. |
| files |
| changeset | a67e2b559e8d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Document changing FileClass content files. |
| files |
| changeset | 6672d92b2ce1 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Add missing word to phrase. |
| files |
| changeset | ddc6739579ca |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | 60*5 != 900 fix cache time description. |
| files |
| changeset | a701c9c81597 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Ralf Schlatterbeck <rsc@runtux.com> |
| description | Fix rev_multilink properties search/retrieval The code now only returns live (non-retired) items. Since for reverse multilinks the Link/Multilink property in the retired item cannot be changed, we now only return non-retired items in search (filter) and retrieve (get). |
| files |