Commit Graph

806 Commits

Author SHA1 Message Date
Thomas Keller
423548dc2c Grammar. 2011-02-13 00:24:18 +01:00
Thomas Keller
545117eeae Punctation fixes and phrase changes. 2011-02-12 01:08:16 +01:00
Thomas Keller
0b0392a274 Another large chunk for the German translation has been finished.
Many fixes also went in.
2011-02-12 00:57:14 +01:00
Thomas Keller
0c0236c766 Russian and German translation updated. 2011-02-11 01:54:48 +01:00
Thomas Keller
067d88136e Updated ru translation from indefero (thanks Denis Kot!) 2011-02-10 01:40:57 +01:00
Thomas Keller
d0cd0bb9bf Update the German translation a bit - still lots of work left. 2011-02-10 01:38:50 +01:00
Thomas Keller
69ecb1a049 Add a proper Plural-Forms setting (Chinese doesn't have a plural)
and remove a wrong translation (I'm unable to find out where the %s
should have been put), so again, 'msgfmt -c' is happy now.
2011-02-09 01:30:33 +01:00
Thomas Keller
e50f2f2b5f Fix a couple of fatal errors reported by 'msgfmt -c'. 2011-02-09 01:24:36 +01:00
Thomas Keller
905a81a715 'zh' alone is actually not a valid locale, but 'zh_CN' is. 2011-02-09 01:17:08 +01:00
Thomas Keller
4d0d41ef02 Updated idf.pot and all translations with the latest strings. 2011-02-09 01:08:39 +01:00
Thomas Keller
86832e4a36 Started on the overhaul of the German translation:
- The previous translator mixed "Du" and "Sie", I stumbled upon
  "Du" at first and decided to stick with that.
- The poedit extra headers have been removed; a proper plural
  configuration has been added.
- Many strings have been misspelled and were thus fixed, though
  there is still lots of work left.
2011-02-09 00:39:03 +01:00
Baptiste Durand-Bret
c6ffc47c24 Fixed issue 611, updated the French translations. 2011-02-04 13:56:04 +01:00
Loïc d'Anterroches
7cedd4af7a Fixed to not work on a bad key. 2011-02-02 10:34:48 +01:00
Loïc d'Anterroches
e31f10e648 Fixed error in the cron job if a key has a bad format. 2011-02-01 20:58:24 +01:00
Patrick Georgi
336faa4503 Monotone's diff parsing conflicts with Subversion's - make sure we
do not let mtn recognize svn's underline that marks a new patch.
2011-01-30 00:14:35 +01:00
Patrick Georgi
fbd1ebc294 Add the parent property to a subversion commit. 2011-01-30 00:05:09 +01:00
Thomas Keller
7bcfb806b0 Create valid HTML for the branch and tag list headings (no block
elements inside headings) and also use a lower heading, h3 and not h1
for the subheadings.
Reduce the amount of code duplication with include's for each VCS.
2011-01-27 14:12:42 +01:00
Thomas Keller
a188e1b275 Use the proper unicode arrow code point instead of "->". 2011-01-26 02:37:34 +01:00
Thomas Keller
52d76cd146 Make the change list in the commit view a little nicer by styling the
individual change types with colored markers and apply a little help
hint to each of them.
2011-01-26 02:27:08 +01:00
Thomas Keller
4eb34044ff Apply the context area changes to git and hg scm views as well
(partially resolves issue 601)
2011-01-26 01:55:58 +01:00
Thomas Keller
ccb1bd33d4 Add a clear button to the tag / branch filter input fields; simplify
the jQuery code a bit.
2011-01-26 01:37:29 +01:00
Thomas Keller
ddb05e68a3 Implement IDF_Scm::getExtraProperties 2011-01-24 15:11:12 +01:00
Loïc d'Anterroches
07c94b97f9 Merge branch 'feature-merge-history' into develop 2011-01-24 14:20:49 +01:00
Loïc d'Anterroches
116a7e34db Added the display of the commit parents in the changelog view.
The old commits will not have the parents displayed as already cached in the DB, but the new will get them.
2011-01-24 14:20:33 +01:00
Loïc d'Anterroches
207eb1322d Fixed to correctly store utf-8 string in the git cache. 2011-01-24 11:53:24 +01:00
Loïc d'Anterroches
390c9b5048 Added to collect associated data for the commits in one SQL query. 2011-01-23 17:12:19 +01:00
Loïc d'Anterroches
58804923ef Cosmetic fix to prevent wrapping of the date. 2011-01-23 17:08:07 +01:00
Thomas Keller
296091e977 Fetch parent revisions for monotone commits as well. 2011-01-20 23:45:21 +01:00
Thomas Keller
77ba17eb61 Remove commented-out, unneeded manual includes 2011-01-20 23:40:21 +01:00
Loïc d'Anterroches
a489cb15b5 Added the display of the merge history in a commit view. 2011-01-20 10:25:41 +01:00
Thomas Keller
74baebde96 I changed my mind: remote automate access should be prevented for
private projects and we should also take care that the symlink that
enables it is dynamically created / removed when the private flag
changes for a project.
2011-01-18 15:43:35 +01:00
Thomas Keller
caac979263 Don't throw an exception in case we do not find a branch cert tacked on
a revision from which we want to start our log from, but simply ignore
that and go over to the next revision. Note that this is also a bit
fragile and should probably be converted to plain mtn au log usage.
2011-01-17 11:57:39 +01:00
Thomas Keller
bbc9bd6ef4 Forgot to add the JS filter file. 2011-01-17 01:26:32 +01:00
Thomas Keller
d445a65788 Beef up the branch and tag lists as per issue 601 - currently
only for the monotone plugin's source view.
2011-01-17 01:20:33 +01:00
Thomas Keller
cdebac0b13 The commit object's diff member changed from "changes" to "diff"
so the "dowload the corresponding diff file" link was broken.
2011-01-15 01:02:22 +01:00
Loïc d'Anterroches
a7b62a30ff Correctly mark a Subversion repository as empty when at revision 0. 2011-01-09 13:47:07 +01:00
Loïc d'Anterroches
431e199c1c Fixed to correctly provide the origin url. 2011-01-09 11:26:17 +01:00
Loïc d'Anterroches
c67e61cbaa Fixed the watch list to not crash when empty and support PostgreSQL. 2011-01-08 21:34:51 +01:00
William MARTIN
93af6a68bd Add table of contents on wiki pages 2011-01-07 22:33:18 +01:00
William MARTIN
146e956432 Add a favicon
Fix issue 594
2011-01-07 11:17:14 +01:00
William MARTIN
afa91188d8 Enhancement of the view of an issue.
Add link previous and after to quickly jump to another issue.
Those links are pointing to issue with the same status (open/closed).

With little trick on url we can do the same thing for browse "my issue" and "my watchlist".
2011-01-06 22:38:38 +01:00
William MARTIN
c2a9a60aa7 Naming conventions correction 2011-01-06 14:30:39 +01:00
William MARTIN
d654c95689 Fix issue 553 : Git escape too much character in a UTF-8 shell
Add an option to configure the git core.quotepath option
2011-01-06 14:03:07 +01:00
William MARTIN
439f1fefe2 Fix issue 588 : Redirect connected user to the anonymous url if they don't have register a SSH Key for GIT 2011-01-06 11:13:29 +01:00
William MARTIN
4245617c6f Fix issue 546 : Add the irc protocol in the markdown prefilter 2011-01-06 11:01:35 +01:00
William MARTIN
5635cdcac7 Remove the use of GROUP_CONCAT in SQL request. 2011-01-06 10:26:29 +01:00
Thomas Keller
dd05a58c8c Major configuration changes for SyncMonotone - we're now using a predefined
configuration tree as template for a new project and copy / symlink that on
project creation. To make this process a little more configurable, two new
configuration options, 'mtn_confdir' and 'mtn_confdir_extra', have been
added which allow the forge admin to adapt the directory structure and its
default hooks to his likings for all new projects. (More on that in
doc/syncmonotone.mdtext).
The 'mtn_remote_auth' configuration option was removed, because setting this
to false would have not worked for setups which did not allow write access
to remote automate commands for anonymous users and opening this would have
meant a huge security hole. Instead, for every project which is created a
corresponding client key is created as well which is used as authentication
in the IDF source frontend.
Finally the monolithic monotonerc file has been split up into individual,
easily configurable lua files which are linked / copied underknees hooks.d/
and which do not conflict with each other (for example by overwriting certain
main notification hooks).
2011-01-06 01:44:41 +01:00
William MARTIN
a437da6a4c Fix sort option of forge watchlist 2011-01-05 17:51:34 +01:00
William MARTIN
0334e88625 Merge branch 'develop' of git://projects.ceondo.com/indefero into develop 2011-01-05 17:21:35 +01:00
William MARTIN
c7c39c6fa1 Implementation of the watch-list viewer
Fix issue 589
2011-01-05 17:02:06 +01:00
Thomas Keller
fd7a53a854 According to the base64 standard, zero, one or two fill bytes ("=")
might pop up at the end, so always expecting "==" is plainly wrong
(originates from 0897c860, fixes issue 592)
2011-01-05 15:34:01 +01:00
Loïc d'Anterroches
90b9279c3a Fixed not to try to include a document from a non available repository. 2011-01-05 10:28:25 +01:00
Thomas Keller
80be99890a Add a title to the star when viewing an issue (thanks to William Martin) 2011-01-04 16:51:33 +01:00
Thomas Keller
d4929622bf Sort directories before files in source views. Thanks to William Martin!
(closes issue 573)
2011-01-03 15:10:42 +01:00
Loïc d'Anterroches
777937b70c Fixed apparence of the description of the labels for the default ticket labels. 2010-12-23 17:26:34 +01:00
Loïc d'Anterroches
97bc383bc0 Updated to display changes only if the backend supports this function. 2010-12-23 11:57:39 +01:00
Loïc d'Anterroches
0739b856e0 Changed to sort the list of projects by name as more natural than by short name. 2010-12-23 11:31:52 +01:00
Thomas Keller
80e965a904 Forgot to add the model filter parameter to the timeline action which
basically rendered the complete navigation useless.
2010-12-08 02:28:56 +01:00
Thomas Keller
39c29dbe10 Started on issue 544, extended commit details
* Scm.php: new SCM method "getChanges" which returns all available
  change information grouped by type
* Monotone.php: implement getChanges via get_revision
* <other scms>: rename "changes" member for getCommit to "diff" which
  matches better
* Source.php: query the commit's changes and set them in the template
* commit.html: render the changes, type-by-type. Link to the tree or
  the individual diff if applicable
* styles.css: some initial style sheet work
2010-12-08 01:48:26 +01:00
Thomas Keller
51c42a65c5 Project owners can now enter multiple email addresses for each notification type.
Each email must be separated by a comma from the other. (Based on a patch from
Pierre Marechal, fixes issue 372).
2010-12-06 00:11:59 +01:00
Thomas Keller
784c9718eb Implemented an extended user profile based on a patch from Jethro Carr (issue 510).
Changes with respect to the original patch:
- use Gconf instead of separate table / data scheme
- better form validation for URLs and emails
- no htmlentity-encoded contents in the database (pluf automatically safe-encodes
  stuff before it writes out contents into templates)
- add visual separators in the form views to have a distinct view of basic
  (important) data and other data which are only displayed in the public profile
- give a hint about the maximum display size of 60x60 px^2 and use max-width and
  max-height in the templates to avoid nasty distortions by the browser
- use target=_blank and rel=nofollow on the twitter and website links in the profile
- some whitespace / formatting / code style fixes
2010-12-05 01:22:32 +01:00
Thomas Keller
874b5aa7e9 monotone changelog: do not add the parents of revisions which have not attached
the branch certificates in question to the horizont, otherwise we end up going
up the whole history for some feature branch as soon as we hit the base branch
of a project.
2010-12-02 23:23:38 +01:00
Thomas Keller
bf28a24b72 French translation updated (closes issue 574) 2010-12-02 22:44:35 +01:00
Thomas Keller
dffeb1f9d5 * move common file-specific functionality out of IDF_Views_Source into new
IDF_FileUtil and change all occurrences accordingly
* cache /etc/mime.types (or whatever is configured) per request in a static
variable in IDF_FileUtil
* always link directly to the download of attached files in the issues view
and place an additional "view" link only for those attachments which we
recognize as text with our weak criteria (closes issue 575)
2010-12-02 01:50:01 +01:00
Thomas Keller
6d7d7ebbfa copy'n'paste from some console window sucks sometimes 2010-12-02 01:48:34 +01:00
Thomas Keller
5b41fe3167 I promise I keep my fingers off git stuff now (a fix for issue 572) 2010-12-01 11:19:13 +01:00
Thomas Keller
dc2881ad02 Expand the revision and source linking automatisms to support the following
rev 12345
 added in abc12
 removed in abc12
 src:README@abc12
 src:README, src:COPYING#12
and many more schemes.
2010-11-29 21:50:40 +01:00
Thomas Keller
653299f4d8 Put a proper link around the "Home" menu entry. 2010-11-25 02:02:38 +01:00
Thomas Keller
704850f5c6 Add Chinese localization (thanks go to Jerry! fixes issue 521) 2010-11-25 00:20:10 +01:00
Thomas Keller
1548d4184e Suppress a notice in case the git log line does not contain
a title (fixes issue 520)
2010-11-25 00:13:47 +01:00
Thomas Keller
abc8b8f4ab Another f'up - isValidRevision() is gone, replaced by validateRevision().
Unit tests would really, really help us here...
2010-11-17 23:18:06 +01:00
Thomas Keller
08ef485ca9 Return the proper validation value if "HEAD" is the to-be-validated revision
(fixes issue 568)
2010-11-17 19:10:51 +01:00
Thomas Keller
35e670a1ab The data structure is already a stdClass object, so add a property,
not a key (partially fixes issue 568)
2010-11-17 19:08:41 +01:00
Thomas Keller
70e8d12420 Output the branch a particular commit is on; this is easy for
mercurial and monotone, but slightly harder till impossible to
do properly for git and svn. Please review and eventually adapt
the code to make it work better (partially fixes issue 450)
2010-11-17 01:53:17 +01:00
Thomas Keller
b4bc6abace Make the monotone master branch editable on forge level at least to
make it possible to switch the default project branch (partially
fixes issue 560)
2010-11-17 00:47:55 +01:00
Thomas Keller
e6f255bc56 Code style; wider input for monotone branch name 2010-11-17 00:47:52 +01:00
Thomas Keller
470a961a80 Add syntax highlighter support for h, hh and hpp (fixes issue 567) 2010-11-17 00:06:18 +01:00
Thomas Keller
8993d2988b Pick initial issue type and priority from the particular first item of the predefined issue labels list (thanks Jakub Vitak, closes issue 556) 2010-10-31 23:18:35 +00:00
Thomas Keller
e776fc0713 Switch doctype from html 4.01 strict to xhtml 1.0 transitional, we
largely ignored the former with xml-like constructs either
(closes issue 511).
2010-10-31 18:26:31 +01:00
Thomas Keller
c0ccdc768a add a couple of file extensions which are supported by our in-tree version of prettyfy (closes issue 490) 2010-10-31 18:18:20 +01:00
Thomas Keller
039ae01cfa Use an even smarter way of including additional resources for monotone
by using a wildcard dir matcher and document this accordingly.
2010-10-30 22:09:55 +00:00
Thomas Keller
fe001abd26 Rework the way IDF's SCM interface provides downloadable snapshots.
Instead of returning a command which gets executed and which should
pass through / stream its output data to the client, we're just
returning an instance of Pluf_HTTP_Response. This is needed, because
some SCMs, most noticable monotone, have no locally executable command
to provide a snapshot archive (and probably never will for our kind
of setup).

We therefor added a little BSD-licensed class "ZipArchive" which allows
the creation of pkzip-compatible archives on the fly by letting it eat
the file contents directly feed from the (remote) stdio instance.
Download performance is ok and lies between 15K/s and 110K/s, but at
least we do no longer block the browser while we pre-generate the zip
file server-side.

Thanks to Patrick Georgi for all his work!
2010-10-30 21:52:40 +00:00
Thomas Keller
8a55952204 * use the built-in push_hook_functions to register the netsync hooks,
this way additional hooks which need these notifications as well
  do not override earlier hooks
* optionally include an additional hooks.lua file at the very end
  in which custom hooks can be defined
2010-10-28 19:45:45 +02:00
Thomas Keller
c807c4b734 Add *.pas ([object] pascal) to the list of supported source extensions 2010-10-22 16:11:04 +02:00
Thomas Keller
972df3b231 Merge branch 'develop' of git://projects.ceondo.com/indefero into develop 2010-10-16 01:19:17 +02:00
Thomas Keller
7e10524f92 Add a popup menu in the main menu which allows to quickly jump between projects.
* refactor out the common menu code from several base*.html classes into main-menu.html
  and put the raw links into a unordered list (which makes it easier to create dynamic
  menus as we cannot insert block items into inline items in strict mode)
* query the list of available projects on every request and set them for every template
  in Middleware.php
* make the popup menu pretty
2010-10-15 00:40:09 +00:00
Thomas Keller
c3ff90c4f8 The signal name was wrong, therefor mtn syncs never updated the IDF timeline. 2010-10-14 19:26:09 +00:00
Thomas Keller
07aec736f5 Add --timestamp and --ticker=dot as default options for newly created
servers, which make it easier to follow the logs of individual servers.
2010-10-14 18:46:08 +00:00
Thomas Keller
b30bdc9833 While for allowed upload extensions the user was hinted to the
need of having to start the list with a space, here it was actually
needed code-wise. I rewrote the code so the space was not needed
and the documentation follows the actual behaviour.
2010-10-14 12:13:38 +00:00
Thomas Keller
d171a249c5 Its untrue that the list of extra allowed extensions for uploaded files
has to start with a space - its even a little quirky since the code
expands that to a regex like "/\.(|ext1|ext2...)$/", so in theory files
which end up with a dot and without an extension would be allowed by this.
For now we just fix the comment and indentation of the default
configuration option.
2010-10-14 12:13:21 +00:00
Thomas Keller
0379b862ec Document 'idf_strong_key_check' (closes issue 516) 2010-10-09 12:21:20 +00:00
Thomas Keller
5af2ab4d97 Make the timeline view and RSS feeds filterable by model (closes issue 543). 2010-10-09 11:53:01 +00:00
Thomas Keller
b518385962 Introduce a per-project issue template to hint a reporter to provide
certain information in his issue report (closes issue 540).
2010-10-09 10:40:30 +00:00
Thomas Keller
d25bc74d71 If no branch certificates are attached to a revision, we do not get
an empty array back from _getCerts(), but no entry for 'branch' at all.
2010-10-09 10:09:51 +00:00
Thomas Keller
5641173a04 Comment in hg_repositories by default, so it matches the defaults of the other SCMs 2010-10-07 19:21:05 +02:00
Thomas Keller
806e69b858 Don't let sync git fail on ssh keys with no comment field (references:
issue 531 and issue 545)
2010-10-07 11:56:52 +00:00
Thomas Keller
a29a2a0fa4 The connection list view could never work with this messy backend. 2010-10-07 01:05:15 +00:00
Thomas Keller
4951498c0b Ignore pseudo diff stanzas which mention binary files. 2010-10-06 21:37:53 +00:00
Thomas Keller
97ea828532 Use a persistent cache through Pluf_Cache to speed up cert queries. 2010-10-04 15:42:21 +00:00
Thomas Keller
d539eaf64b - _getLastChangeFor(): drop that, no longer needed
- getTree(), getPathInfo(): use the new extended manifest format
  and save the calls to query file sizes from contents as well
  as the calls to determine the revision in which a file changed
  at last
2010-10-04 15:22:57 +00:00