36 Commits

Author SHA1 Message Date
Yannick Torrès
b035d42fe2 Fix bug #68157 2020-02-03 19:11:34 +01:00
Peter Kokot
f06fee3640 Sync final newlines
This patch adds some missing newlines and trims multiple final newlines
into a single newline.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-02 03:44:40 +02:00
Yannick Torrès
3fe9e57216 Compute usage statistic for the editor : nb connection, nb commit, etc... per month 2012-11-15 17:59:58 +01:00
Alexander Moskaliov
a30eeefccc "patch" and "work" refactor 2012-02-23 16:58:27 +04:00
Yannick Torrès
294c6cf3c5 fix new field into default DB structure 2012-02-12 20:37:08 +01:00
Yannick Torres
64f6efecb5 New feature : Now, we check a maintainer into the reviewed tag, as suggested by Yago 2011-12-20 23:13:41 +00:00
Yannick Torres
bfe78ec7dd We display logMessage order by popularity. 2011-12-08 19:56:08 +00:00
Alexander Moskaliov
5b135ea046 Fix last commit, sorry 2011-10-22 17:47:45 +00:00
Alexander Moskaliov
28e14e8445 Change codepage in sql sheme creator script to utf8, and add two missed fields to definition of users table 2011-10-22 17:46:12 +00:00
Yannick Torres
f2abfa673d Change type of value to LONGTEXT. Karma list don't stay in a text type ;) 2011-07-19 23:50:50 +00:00
Yannick Torres
ed69488ad9 New feature : VCS user can accept a patch directly via the contextmenu on an anonymous patch name. By default, the commit message is build from the patch description incluing the email of this anonymous user. An email is send to this user atfer the commit 2011-07-06 07:03:06 +00:00
Yannick Torres
5561fe37f9 Add a date column to patches table to store the datetime creation 2010-12-30 22:33:44 +00:00
Yannick Torres
b8fafb6f14 Get only LogMessage for current user and current project 2010-05-26 16:21:55 +00:00
Yannick Torres
e232ed22e7 New :
* upgrade extJs to 3.2.1
* Remove "Pending commit" module in favore to "work in progress" module
* Remove "Pending patch" module in favore to "patches for review" module
* Add a field to ask for an email when we logging in. It allow users to contact others.
* Add a progress bar to allow user indicate the progression of his work
* Anonymous user are no longer "anonymous", as a cookie is set on connexion to "authenticate" him.
* Anonymous user can save a file as an authenticated user. No longer only use the "patch" button.
* New rules when a file is edited. When the file is edited by :

  - an anonymous user : authenticated user can always edit it. When he does, the owner change and anonymous user can't edit it again.

  - an authenticated user : anonymous and others authenticated users can't edit it. The first user must release it (eithers commit his change, or remove the change he does). Administrator can edit it. This can allow to override change made by an authenticated user. Administrators are defined per project in configuration file.

* We no longer allow a user to commit files changed by others users. An authenticated user can only commit his files.

Bugs :

  - fix bug #51767
  - fix bug that display internal file (.new) in some modules
  - change file() class beaviours
2010-05-24 20:04:32 +00:00
Yannick Torres
28dd864962 Change tables before new version commit 2010-05-24 19:51:38 +00:00
Yannick Torres
0ec63759ea Add the structure of a new table : progressWork. Note 2 tables as deprecated. 2010-04-28 21:34:47 +00:00
Yannick Torres
9235881c46 New functionality : We can add some notes on a file 2010-04-23 15:29:07 +00:00
Yannick Torres
747fcf3f10 Fix column type for the dictionary, spotted by pedram 2010-04-17 17:45:49 +00:00
Yannick Torres
3502fecadd More spelling fix with cjones 2010-04-16 22:33:09 +00:00
Yannick Torres
5b95cbacc8 New functionnality : Dictionnary. Idea from pedram. Accessible from tools panel for PendingTranslate, StateFile, ErrorFile & RevieweFile 2010-04-16 20:57:16 +00:00
Yannick Torres
ef37cd2ef4 Add a date field to static value for futur functionnality 2010-03-25 19:53:29 +00:00
Yannick Torres
2ea5747311 Add missing column project for the table 2010-02-22 22:50:08 +00:00
Yannick Torres
8e5a352f1f Add multi-project support into the editor. 2010-01-04 00:15:20 +00:00
Yannick Torres
d1943c4f9a Add a new composant : checkEntities. This is an integration of the originial script made by Georg Richter & Gabor Hojsty to check all entities of the documentation. This add a new table into the Database and a new cron job is available to automatically check the entities 2009-12-25 23:34:55 +00:00
Yannick Torres
951b418f39 Review user configuration process. Simplify the storage & the futur add of new configuration option. We need to modify the DB structure after this commit 2009-12-17 22:49:06 +00:00
Yannick Torres
cf0714e1a1 Fix bug #50193 & Review all check build system. You need to upgrade the database structure with this commit 2009-12-16 22:48:36 +00:00
Yannick Torres
3b0f9e62be Add new table to store staticValue to speed up MySql 2009-12-14 06:45:48 +00:00
Yannick Torres
771ad9875c No more need to store VCS password in database. Only into php's session 2009-11-13 20:55:20 +00:00
Chan Ka Shing
a924abadce modification/fix:
* introduced config DOC_EDITOR_VCS in conf.inc.php to config Version Control System type (cvs, svn, git...)
  * introduced VCSFactory to replace VCS specific operation, user of CvsClient::getInstance is now using VCSFactory::getInstance instead
    - VCSFactory::getInstance() has a branching block to obtain DOC_EDITOR_VCS specified VCS-client
  * implemented SvnClient
  * changed cvsLogin & cvsPasswd & cvsLang in AccountManager to vcsLogin & vcsPasswd & vcsLang (affected JS: ui.component.TranslatorGrid.js)
  * install/doc-editor.sql change attributes that involve "cvs" to "vcs"
  * File.php cvsDiff is now vcsDiff
  * ExtJsController cvsCommit is now vcsCommit (affect JS: ui.task.CVSCommitTask.js)
  * Re-activiated cvs commit in CvsClient
  * Re-activiated email in AccountManager
  * RepositoryManager availableLang is now exposed to public scope
  * update error_type.php based on last commit (r284647)
  * update scripts/cron/check_build.php based on last commit (r284647)
  * update scripts/cron/update_data.php based on last commit (r284647)
  * Fixed CvsClient log sending out as associative array that failed ui.component.CVSLogGrid
2009-08-05 07:03:38 +00:00
Yannick Torres
5dcf245f59 - Add check_build script. This script is actually activated on my local server. An email will be send on Thursday to warn when a documentation is broken. 2009-05-16 20:38:41 +00:00
Yannick Torres
85a5674bbf - More work on NotInEN module 2009-04-25 08:38:45 +00:00
Yannick Torres
2e2e3eaabd - Remove unecessary table dir
- Add checkOldFiles functionnaly to check for files witch is present in LANG and not in EN
2009-04-23 20:03:40 +00:00
Yannick Torres
7a37050abf # DB : Add project table into DB in order to store the last update date/time and to prepare the next step (add pear project)
# DB : Add project field to all table witch need one (except users table)
# Add last update Date/time under "Connected as" in the main tab
# Check si an update is in progress before start a new one
# Update fr i18n

Warning : you need to update your DB table after this commit
2009-04-16 17:41:14 +00:00
Yannick Torres
8bf7e69558 fix bug for the themes selector 2009-03-30 21:42:17 +00:00
Yannick Torres
3ad8fadfdd WARNING : Introduce new configuration variable for users. You must upgrade your Sql table (users) after apply this change.
Make possible to choose the possibility to load (or not) log revision for each module.
By default, no log revision are loaded for all modules.
Go to configuration window to configure your settings for this behavior.
2009-03-30 20:34:49 +00:00
Mehdi Achour
4de514eb62 Moved install specific files to install/
Moved jpgraph to php/
Pack the HTML functions in html.templates.php
Made a nicer web-cli-install script
Update README to reflect the directories migration
Fixed a bug in the pie script
Update .cvsignore files
2009-03-29 21:09:23 +00:00