These are configurable in linkvalidation-service-context.xml
Also ensured the list of links per file is sorted & unique.
Here's a list of known protocols:
http://www.iana.org/assignments/uri-schemes.html
aaa aaas acap afs cap cid crid data dav dict dns dtn fax file
ftp go gopher h323 http https iax2 icap im imap info ipp iris
iris.beep iris.lwz iris.xpc iris.xpcs ldap mailserver mailto
mid modem msrp msrps mtqp mupdate news nfs nntp opaquelocktoken
pop pres prospero rtsp service shttp sip sips snmp soap.beep
soap.beeps tag tel telnet tftp thismessage tip tn3270 tv urn
vemmi wais xmlrpc.beep xmlrpc.beeps xmpp z39.50r z39.50s
For now, all these URI schemes get a free pass except http & https.
Any URI not qualified by one of these protocol/scheme designators
is presumed to be broken. It would be nice to validate ftp links
for real, but that won't happen for a while.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
this allows an internal cache to be maintained that permits most calls to
the heavyweight getLatestSnapshotID(String store) AVM API to be skipped.
This addresses a performance problem noticed when the number of stores
is large.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
5910: Web Services getUsers
5913: Web Services admin user password change
5956: LDAP anon simple bind test
6133: WCM-486
6158: Merged V1.4 to V2.0
5600: Split person bootstrap
5642: AR-439 NetBIOS adaptor status request
6160: VersionHistoryPerformance patch with no versionedNodeId
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6166 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
The in-transaction work has to align with the work that will be done by the actual background archival,
but node archival doesn't fully support all model constructs and associated behaviour.
Instead of continuing to hack away at each issue that comes up, a complete archive rethink is in order.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
The node is renamed and hidden from FileFolderService clients. A background task then performs the archival.
A bootstrap component ensures that failed archivals are picked up again.
Found a bug with the status of nodes archived as part of a hierarchy not being updated correctly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6148 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- The queue for background jobs is unlimited
- A smaller number of core threads is maintained
- It is possible to set the threads' priority (default low)
Added hasAspect() method to XPath functions.
Various other cosmetic changes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Mostly working with the webapp, but the webapp needs
to check for an null pointer to ensure that some
result is ready. Other more minor wrinkles exist,
such as capturing the number of files checked and
displaying the version validated; this may be different
from the latest snapshot if the validation gets behind
the checkins for a while.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Removed calls to getXXXPaths().
Changed mappings of properties and aspects on AVM Nodes to
favor get all calls.
Added getAspects() and getNodeProperties() which take
AVMNodeDescriptors.
Used these in AVM Indexing to reduce the number of redundant full lookups.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
TODO: Fix the "Modify Content Properties" to include the encoding as a changeable option.
Modified other entry points of content into the system. All calls to ContentWriter.setEncoding("UTF-8") need some serious examination.
It is no longer necessary to assume anything about the encoding. The worst case scenario is that we guess the encoding from the stream
without giving the user the chance to change it. This works for most non-interactive scenarios like CIFS, WebDAV and FTP, now.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6113 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This seems to make indexing a bit quicker, and at least doesn't make other things
slower. Bulk import now just sucks; it used to be an order of magnitude suckier.
98% of that is due to Andy's recent changes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- default status templates now include Alfresco server information & time of error for diagnostic purposes
- template url.match does not include service context anymore e.g. /alfresco/service/api/path/ is now just /api/path/
- added Retrying Transaction Helper to Service Registry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6088 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Everything but that code that will bring virtualized staging archives up & apply diffs to href validity info.
Handles abort(), filters junk, graceful start/stop, etc. Not usable yet, but soon (assuming no gaping bugs).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
The following filename is valid now: "x ¬ £ % & + ; x.txt"
This was a restriction imposed by WebDAV, but the encoding of the repsonses is working well and these restrictions be removed as a result.
Fixed AR-1281: WebDAV upload was assigning incorrect encoding
I added a bean 'charset.finder', which can be fetched from the MimetypeService.
Various pluggins now exist to decode a stream and figure out what the encoding is.
WebDAV and CIFS/FTP are now hooked into this so that they guess a little better.
Fixed others:
Added retrying transactions to WebDAV.
Read/write transactions for WebDAV.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Also included abort() method on progress object.
What's left:
o put incremental update in looping thread(s) to let system bootstrap from nothing
o deal with store/webapp going away
o deal with virt server down
o Switch to using virtualized snapshot instead of HEAD in staging
o testing... and lots of it
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Made AJAX polling frequency configurable
- Made connection and read timeout values configurable
- Added panel around summary area
- Removed use of shadowed panels for staging area and user sandboxes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261